Skip to content

Commit

Permalink
Merge pull request #266 from Axway/APIGOV-28133
Browse files Browse the repository at this point in the history
APIGOV-28133 - use shared file for csr on mirrors
  • Loading branch information
dfeldick authored Sep 4, 2024
2 parents f68734f + 1d13f1e commit c4d71a4
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 @@ -57,6 +57,7 @@ include:
# the order of these include files is important
file:
- "/gitlabci/csrjobs.yml"
- "/gitlabci/csrjobsformirror.yml"

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

# 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]

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

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 c4d71a4

Please sign in to comment.