Select Git revision
Release-Latest.gitlab-ci.yml
-
Dmitriy Safronov authored
Signed-off-by:
Dmitriy Safronov <zimniy@cyberbrain.pw>
Dmitriy Safronov authoredSigned-off-by:
Dmitriy Safronov <zimniy@cyberbrain.pw>
Release-Latest.gitlab-ci.yml 1.22 KiB
include:
- project: 'tools/continuous-integration/auto-devops/defaults'
file: 'Defaults.gitlab-ci.yml'
ref: main
##########################################################################################################
### CHANGE RULES
test:
rules:
- if: '$TEST_DISABLED'
when: never
- if: '$CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH'
code_quality:
rules:
- if: '$CODE_QUALITY_DISABLED'
when: never
- if: '$CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH'
container_scanning:
rules:
- if: '$CONTAINER_SCANNING_DISABLED'
when: never
- if: '$CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH'
secret_detection:
rules:
- if: '$SECRET_DETECTION_DISABLED'
when: never
- if: '$CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH'
semgrep-sast:
rules:
- if: $SAST_DISABLED == 'true' || $SAST_DISABLED == '1'
when: never
- if: $SAST_EXCLUDED_ANALYZERS =~ /semgrep/
when: never
- if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH
exists:
- '**/*.py'
- '**/*.js'
- '**/*.jsx'
- '**/*.ts'
- '**/*.tsx'
- '**/*.c'
- '**/*.go'
- '**/*.java'
- '**/*.cs'
- '**/*.html'
- '**/*.scala'
- '**/*.sc'