|
|
|
@ -1,13 +1,18 @@
|
|
|
|
name: release
|
|
|
|
name: release
|
|
|
|
|
|
|
|
|
|
|
|
on:
|
|
|
|
on:
|
|
|
|
create:
|
|
|
|
|
|
|
|
tags:
|
|
|
|
|
|
|
|
- v*
|
|
|
|
|
|
|
|
push:
|
|
|
|
push:
|
|
|
|
|
|
|
|
tags:
|
|
|
|
|
|
|
|
- 'v*'
|
|
|
|
branches:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
- main
|
|
|
|
|
|
|
|
|
|
|
|
permissions: read-all
|
|
|
|
permissions:
|
|
|
|
|
|
|
|
contents: read
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
concurrency:
|
|
|
|
|
|
|
|
group: release-${{ github.ref }}
|
|
|
|
|
|
|
|
cancel-in-progress: false
|
|
|
|
|
|
|
|
|
|
|
|
# Note the only differences between release and canary-release jobs are:
|
|
|
|
# Note the only differences between release and canary-release jobs are:
|
|
|
|
# - only canary passes --overwrite flag
|
|
|
|
# - only canary passes --overwrite flag
|
|
|
|
@ -32,8 +37,10 @@ jobs:
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
go-version: '${{ env.GOLANG_VERSION }}'
|
|
|
|
go-version: '${{ env.GOLANG_VERSION }}'
|
|
|
|
check-latest: true
|
|
|
|
check-latest: true
|
|
|
|
|
|
|
|
|
|
|
|
- name: Run unit tests
|
|
|
|
- name: Run unit tests
|
|
|
|
run: make test-coverage
|
|
|
|
run: make test-coverage
|
|
|
|
|
|
|
|
|
|
|
|
- name: Build Helm Binaries
|
|
|
|
- name: Build Helm Binaries
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
set -eu -o pipefail
|
|
|
|
set -eu -o pipefail
|
|
|
|
@ -101,6 +108,7 @@ jobs:
|
|
|
|
|
|
|
|
|
|
|
|
- name: Build Helm Binaries
|
|
|
|
- name: Build Helm Binaries
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
|
|
|
|
set -eu -o pipefail
|
|
|
|
make build-cross
|
|
|
|
make build-cross
|
|
|
|
make dist checksum VERSION="canary"
|
|
|
|
make dist checksum VERSION="canary"
|
|
|
|
|
|
|
|
|
|
|
|
|