CI: run the new test script on gitlab
We only need one runner and it should use the internal network for access to all repositories. Set a rule so it doesn't run on 'main' (makes no sense). Set git depth to 500: We need a long history in order to find the merge-base between the PR and 'main'. It's unclear whether there's a straightforward way to find the depth of the PR to limit the clone depth accurately. 500 should be enough for any PR (I'd hate to see a PR that makes this statement false).
This commit is contained in:
parent
7076f9b8dc
commit
e8d6dee9ac
1 changed files with 15 additions and 0 deletions
|
|
@ -622,6 +622,21 @@ Installer:
|
|||
#- rhos-01/rhel-9.0-nightly-x86_64
|
||||
- rhos-01/centos-stream-9-x86_64
|
||||
|
||||
Manifest-diff:
|
||||
stage: test
|
||||
extends: .terraform
|
||||
rules:
|
||||
# don't run on main
|
||||
- if: '$CI_COMMIT_BRANCH != "main"'
|
||||
script:
|
||||
- ./test/cases/diff-manifests.sh
|
||||
variables:
|
||||
RUNNER: aws/rhel-9.0-ga-x86_64
|
||||
INTERNAL_NETWORK: "true"
|
||||
GIT_STRATEGY: "clone"
|
||||
GIT_CHECKOUT: "true"
|
||||
GIT_DEPTH: 500
|
||||
|
||||
SCHEDULED_CLOUD_CLEANER:
|
||||
stage: cleanup
|
||||
tags:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue