ci: debug

This commit is contained in:
Jakub
2024-02-28 13:14:18 +01:00
parent 1d8f6c75c8
commit d2bc60d9cb
2 changed files with 113 additions and 111 deletions

View File

@ -10,7 +10,7 @@
- which go && go version - which go && go version
- which gcc && gcc --version - which gcc && gcc --version
- which qmake && qmake --version - which qmake && qmake --version
- make build - make -d build
- git diff && git diff-index --quiet HEAD - git diff && git diff-index --quiet HEAD
- make vault-editor - make vault-editor
- make bridge-rollout - make bridge-rollout

View File

@ -28,123 +28,125 @@ lint-bug-report-preview:
script: script:
- which go && go version - which go && go version
- which gcc && gcc --version - which gcc && gcc --version
- make test - make -d test
artifacts: artifacts:
paths: paths:
- coverage/** - coverage/**
test-linux: #
extends: #
- .image-linux-test # test-linux:
- .script-test # extends:
tags: # - .image-linux-test
- shared-large # - .script-test
# tags:
# - shared-large
test-windows: test-windows:
extends: extends:
- .env-windows - .env-windows
- .script-test - .script-test
test-darwin: # test-darwin:
extends: # extends:
- .env-darwin # - .env-darwin
- .script-test # - .script-test
#
fuzz-linux: # fuzz-linux:
stage: test # stage: test
extends: # extends:
- .image-linux-test # - .image-linux-test
- .rules-branch-manual-MR-and-devel-always # - .rules-branch-manual-MR-and-devel-always
script: # script:
- make fuzz # - make fuzz
tags: # tags:
- shared-large # - shared-large
#
test-linux-race: # test-linux-race:
extends: # extends:
- test-linux # - test-linux
- .rules-branch-and-MR-manual # - .rules-branch-and-MR-manual
script: # script:
- make test-race # - make test-race
#
test-integration: # test-integration:
extends: # extends:
- test-linux # - test-linux
script: # script:
- make test-integration | tee -a integration-job.log # - make test-integration | tee -a integration-job.log
after_script: # after_script:
- | # - |
grep "Error: " integration-job.log # grep "Error: " integration-job.log
artifacts: # artifacts:
when: always # when: always
paths: # paths:
- integration-job.log # - integration-job.log
#
test-integration-race: # test-integration-race:
extends: # extends:
- test-integration # - test-integration
- .rules-branch-and-MR-manual # - .rules-branch-and-MR-manual
script: # script:
- make test-integration-race | tee -a integration-race-job.log # - make test-integration-race | tee -a integration-race-job.log
artifacts: # artifacts:
when: always # when: always
paths: # paths:
- integration-race-job.log # - integration-race-job.log
#
#
test-integration-nightly: # test-integration-nightly:
extends: # extends:
- test-integration # - test-integration
- .rules-branch-manual-scheduled-and-test-branch-always # - .rules-branch-manual-scheduled-and-test-branch-always
needs: # needs:
- test-integration # - test-integration
script: # script:
- make test-integration-nightly | tee -a nightly-job.log # - make test-integration-nightly | tee -a nightly-job.log
after_script: # after_script:
- | # - |
grep "Error: " nightly-job.log # grep "Error: " nightly-job.log
artifacts: # artifacts:
when: always # when: always
paths: # paths:
- nightly-job.log # - nightly-job.log
#
test-coverage: # test-coverage:
stage: test # stage: test
extends: # extends:
- .image-linux-test # - .image-linux-test
- .rules-branch-manual-scheduled-and-test-branch-always # - .rules-branch-manual-scheduled-and-test-branch-always
script: # script:
- ./utils/coverage.sh # - ./utils/coverage.sh
coverage: '/total:.*\(statements\).*\d+\.\d+%/' # coverage: '/total:.*\(statements\).*\d+\.\d+%/'
needs: # needs:
- test-linux # - test-linux
- test-windows # - test-windows
- test-darwin # - test-darwin
- test-integration # - test-integration
- test-integration-nightly # - test-integration-nightly
tags: # tags:
- shared-small # - shared-small
artifacts: # artifacts:
paths: # paths:
- coverage* # - coverage*
- coverage/** # - coverage/**
when: 'always' # when: 'always'
reports: # reports:
coverage_report: # coverage_report:
coverage_format: cobertura # coverage_format: cobertura
path: coverage.xml # path: coverage.xml
#
go-vuln-check: # go-vuln-check:
extends: # extends:
- .image-linux-test # - .image-linux-test
- .rules-branch-manual-MR-and-devel-always # - .rules-branch-manual-MR-and-devel-always
stage: test # stage: test
tags: # tags:
- shared-medium # - shared-medium
script: # script:
- ./utils/govulncheck.sh # - ./utils/govulncheck.sh
artifacts: # artifacts:
when: always # when: always
paths: # paths:
- vulns* # - vulns*
#