Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APIGOV-28133 - use new file for shared csr jobs #158

Merged
merged 1 commit into from
Sep 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 1 addition & 44 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ include:
# the order of these include files is important
file:
- "/gitlabci/csrjobs.yml"
- "/gitlabci/csrjobsformirror.yml"

stages:
- test
Expand Down Expand Up @@ -107,47 +108,3 @@ twistlock-traceability:on-schedule:
- echo "Using the last tagged version ${LAST_TAG_VERSION}"
- export IMAGE_NAME=ghcr.io/axway/kong_traceability_agent:${LAST_TAG_VERSION}
- docker pull ${IMAGE_NAME}

blackduck:on-schedule:
rules:
- !reference [.mirror-schedule-csr-rules, rules]
before_script:
- !reference [.get-agent-last-tag, script]

# overridden from csrjobs.yml because mirror repos like this one don't get merge events
fortify:
rules:
- !reference [.mirror-branch-csr-rules, rules]

fetch-fortify:
rules:
- !reference [.mirror-branch-csr-rules, rules]

blackduck-rapid:
rules:
- !reference [.mirror-branch-csr-rules, rules]

run-csr:
rules:
- !reference [.mirror-branch-csr-rules, rules]

####################
# CSR - overridden from csrjobs.yml to effectively not see these jobs ever. For some reason, probably multi-level
# extends and overrides, using only-never for these csr jobs doesn't work. Had to do it like this.
####################
fetch-iriusrisk:
rules:
- !reference [.only-never-rule, rules]

fetch-iriusrisk:on-schedule:
rules:
- !reference [.only-never-rule, rules]

twistlock:
rules:
- !reference [.only-never-rule, rules]
dependencies:

twistlock:on-schedule:
rules:
- !reference [.only-never-rule, rules]