Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
fc31ea981b
|
|||
| eb032b4125 | |||
|
a01dfe03e4
|
|||
| f88745f6e8 | |||
|
a4e09afbfc
|
|||
| bcf04bb8ce |
@@ -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@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,35 +0,0 @@
|
||||
include:
|
||||
- template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml'
|
||||
- project: unboundsoftware/ci-templates
|
||||
file: Defaults.gitlab-ci.yml
|
||||
|
||||
stages:
|
||||
- build
|
||||
- deploy-prod
|
||||
|
||||
image: buildtool/build-tools:${BUILDTOOLS_VERSION}
|
||||
|
||||
build:
|
||||
stage: build
|
||||
script:
|
||||
- build
|
||||
- curl -Os https://uploader.codecov.io/latest/linux/codecov
|
||||
- chmod +x codecov
|
||||
- ./codecov -t ${CODECOV_TOKEN} -R $CI_PROJECT_DIR -C $CI_COMMIT_SHA -r $CI_PROJECT_PATH
|
||||
- push
|
||||
artifacts:
|
||||
paths:
|
||||
- release/
|
||||
- coverage.html
|
||||
- k8s
|
||||
|
||||
deploy-prod:
|
||||
stage: deploy-prod
|
||||
before_script:
|
||||
- echo Deploy to prod
|
||||
script:
|
||||
- deploy prod
|
||||
only:
|
||||
- master
|
||||
environment:
|
||||
name: prod
|
||||
Reference in New Issue
Block a user