Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
7ca5fa7b3c
|
|||
| 47d05592a7 | |||
| 562a5a70e4 | |||
| dd65cb20c1 | |||
|
d5c3dc66fe
|
|||
| 701e9f5292 | |||
|
e7bfdf16a6
|
|||
| c0d5186ad4 |
@@ -13,7 +13,7 @@ jobs:
|
||||
BUILDTOOLS_CONTENT: ${{ secrets.BUILDTOOLS_CONTENT }}
|
||||
GITEA_REPOSITORY: ${{ gitea.repository }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
- uses: buildtool/setup-buildtools-action@v1
|
||||
- name: Build and push
|
||||
run: unset GITEA_TOKEN && build && push
|
||||
@@ -25,15 +25,9 @@ jobs:
|
||||
env:
|
||||
BUILDTOOLS_CONTENT: ${{ secrets.BUILDTOOLS_CONTENT }}
|
||||
GITEA_REPOSITORY: ${{ gitea.repository }}
|
||||
KUBECONFIG_CONTENT: ${{ secrets.KUBECONFIG_CONTENT }}
|
||||
environment: prod
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
- uses: buildtool/setup-buildtools-action@v1
|
||||
- name: Install aws-iam-authenticator
|
||||
run: |
|
||||
curl -Lo aws-iam-authenticator https://github.com/kubernetes-sigs/aws-iam-authenticator/releases/latest/download/aws-iam-authenticator_linux_amd64
|
||||
chmod +x aws-iam-authenticator
|
||||
sudo mv aws-iam-authenticator /usr/local/bin/
|
||||
- name: Deploy
|
||||
run: deploy prod
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
include:
|
||||
- template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml'
|
||||
- project: unboundsoftware/ci-templates
|
||||
file: Defaults.gitlab-ci.yml
|
||||
|
||||
stages:
|
||||
- build
|
||||
- deploy
|
||||
|
||||
image: buildtool/build-tools:${BUILDTOOLS_VERSION}
|
||||
|
||||
build:
|
||||
stage: build
|
||||
script:
|
||||
- build
|
||||
- push
|
||||
|
||||
deploy:
|
||||
stage: deploy
|
||||
when: on_success
|
||||
script:
|
||||
- echo Deploying
|
||||
- deploy prod
|
||||
environment:
|
||||
name: prod
|
||||
only:
|
||||
- master
|
||||
Reference in New Issue
Block a user