Compare commits
18 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e77ea61eca | |||
| 1777762126 | |||
| b9f0dbe97e | |||
| 412c3c7ba3 | |||
| 17d6092dc8 | |||
| dd2633fb44 | |||
| 9bea70c3aa | |||
| 4d4c4737a3 | |||
|
bb9d47f6b3
|
|||
| 6afe6cebcc | |||
| 105297c7cf | |||
| 3fca36706f | |||
|
fc31ea981b
|
|||
| eb032b4125 | |||
|
a01dfe03e4
|
|||
| f88745f6e8 | |||
|
a4e09afbfc
|
|||
| bcf04bb8ce |
@@ -25,15 +25,9 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
BUILDTOOLS_CONTENT: ${{ secrets.BUILDTOOLS_CONTENT }}
|
BUILDTOOLS_CONTENT: ${{ secrets.BUILDTOOLS_CONTENT }}
|
||||||
GITEA_REPOSITORY: ${{ gitea.repository }}
|
GITEA_REPOSITORY: ${{ gitea.repository }}
|
||||||
KUBECONFIG_CONTENT: ${{ secrets.KUBECONFIG_CONTENT }}
|
|
||||||
environment: prod
|
environment: prod
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
- uses: buildtool/setup-buildtools-action@v1
|
- 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
|
- name: Deploy
|
||||||
run: deploy prod
|
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
|
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
FROM amd64/golang:1.25.5@sha256:ad03ba93327b8a6143b49373790b5d92c28067bdb814418509466122ee9c9e63 as build
|
FROM amd64/golang:1.25.7@sha256:7e23ac7d7284db7d4413c20cc36792016d7625f490b6e0a56a0c0fe1ba51e83d as build
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
ENV CGO_ENABLED=0
|
ENV CGO_ENABLED=0
|
||||||
ADD . /build
|
ADD . /build
|
||||||
|
|||||||
Reference in New Issue
Block a user