|
|
@ -150,16 +150,14 @@ jobs: |
|
|
|
command: *lintcmd |
|
|
|
command: *lintcmd |
|
|
|
- run: *notify-slack-failure |
|
|
|
- run: *notify-slack-failure |
|
|
|
|
|
|
|
|
|
|
|
# checks vendor directory is correct |
|
|
|
check-go-mod: |
|
|
|
check-vendor: |
|
|
|
|
|
|
|
docker: |
|
|
|
docker: |
|
|
|
- image: *GOLANG_IMAGE |
|
|
|
- image: *GOLANG_IMAGE |
|
|
|
environment: |
|
|
|
environment: |
|
|
|
<<: *ENVIRONMENT |
|
|
|
<<: *ENVIRONMENT |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- checkout |
|
|
|
- checkout |
|
|
|
- run: |
|
|
|
- run: go mod tidy |
|
|
|
command: make update-vendor |
|
|
|
|
|
|
|
- run: | |
|
|
|
- run: | |
|
|
|
if [[ -n $(git status -s) ]]; then |
|
|
|
if [[ -n $(git status -s) ]]; then |
|
|
|
echo "Git directory has changes" |
|
|
|
echo "Git directory has changes" |
|
|
@ -989,7 +987,7 @@ workflows: |
|
|
|
go-tests: |
|
|
|
go-tests: |
|
|
|
unless: << pipeline.parameters.trigger-load-test >> |
|
|
|
unless: << pipeline.parameters.trigger-load-test >> |
|
|
|
jobs: |
|
|
|
jobs: |
|
|
|
- check-vendor: &filter-ignore-non-go-branches |
|
|
|
- check-go-mod: &filter-ignore-non-go-branches |
|
|
|
filters: |
|
|
|
filters: |
|
|
|
branches: |
|
|
|
branches: |
|
|
|
ignore: |
|
|
|
ignore: |
|
|
@ -1032,12 +1030,12 @@ workflows: |
|
|
|
build-distros: |
|
|
|
build-distros: |
|
|
|
unless: << pipeline.parameters.trigger-load-test >> |
|
|
|
unless: << pipeline.parameters.trigger-load-test >> |
|
|
|
jobs: |
|
|
|
jobs: |
|
|
|
- check-vendor: *filter-ignore-non-go-branches |
|
|
|
- check-go-mod: *filter-ignore-non-go-branches |
|
|
|
- build-386: &require-check-vendor |
|
|
|
- build-386: &require-check-go-mod |
|
|
|
requires: |
|
|
|
requires: |
|
|
|
- check-vendor |
|
|
|
- check-go-mod |
|
|
|
- build-amd64: *require-check-vendor |
|
|
|
- build-amd64: *require-check-go-mod |
|
|
|
- build-arm: *require-check-vendor |
|
|
|
- build-arm: *require-check-go-mod |
|
|
|
# every commit on main will have a rebuilt UI |
|
|
|
# every commit on main will have a rebuilt UI |
|
|
|
- frontend-cache: |
|
|
|
- frontend-cache: |
|
|
|
filters: |
|
|
|
filters: |
|
|
|