Skip to content

Commit

Permalink
Merge pull request #268 from Axway/APIGOV-28133
Browse files Browse the repository at this point in the history
APIGOV-28133 - use common twistlock on-schedule jobs
  • Loading branch information
dfeldick authored Sep 5, 2024
2 parents 3d54c90 + ed3b9be commit 498f93b
Showing 1 changed file with 2 additions and 22 deletions.
24 changes: 2 additions & 22 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,29 +88,9 @@ twistlock-traceability:
- cd ..

twistlock-discovery:on-schedule:
extends: .twistlock
rules:
- !reference [.mirror-schedule-csr-rules, rules]
dependencies: []
variables:
# need to override this variable for github agents because the tag will need the 'v' if it exists
NO_V_RELEASE_TAG_REGEX: "^v?[0-9]{1,}\\.[0-9]{1,}\\.[0-9]{1,}$"
before_script:
- !reference [.get-agent-last-tag, script]
- echo "Using the last tagged version ${LAST_TAG_VERSION}"
- export IMAGE_NAME=ghcr.io/axway/apigee_discovery_agent:${LAST_TAG_VERSION}
- docker pull ${IMAGE_NAME}
AGENT_NAME: "apigee_discovery_agent"

twistlock-traceability:on-schedule:
extends: .twistlock
rules:
- !reference [.mirror-schedule-csr-rules, rules]
dependencies: []
variables:
# need to override this variable for github agents because the tag will need the 'v' if it exists
NO_V_RELEASE_TAG_REGEX: "^v?[0-9]{1,}\\.[0-9]{1,}\\.[0-9]{1,}$"
before_script:
- !reference [.get-agent-last-tag, script]
- 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}
AGENT_NAME: "apigee_traceability_agent"

0 comments on commit 498f93b

Please sign in to comment.