Skip to content

Commit

Permalink
APIGOV-28133 - use new file for shared csr jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
dfeldick committed Sep 4, 2024
1 parent cc6a475 commit 54839db
Showing 1 changed file with 1 addition and 44 deletions.
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]

0 comments on commit 54839db

Please sign in to comment.