-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Petr "Stone" Hracek <[email protected]>
- Loading branch information
Showing
6 changed files
with
118 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
releasever: 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
summary: TMT/TFT plan for running container tests on CentOS Stream 10 | ||
description: | | ||
Run container tests on CentOS Stream 10 | ||
|
||
prepare: | ||
- name: Clone repository and switch to corresponding PR | ||
how: shell | ||
script: | | ||
dnf install -y git ansible | ||
git clone $REPO_URL /root/$REPO_NAME | ||
cd /root/$REPO_NAME | ||
git fetch origin +refs/pull/*:refs/remotes/origin/pr/* | ||
git checkout origin/pr/$PR_NUMBER/head | ||
git submodule update --init | ||
|
||
execute: | ||
how: tmt | ||
|
||
/test-ci: | ||
enabled: true | ||
adjust: | ||
- because: "Plan to be ran when either executed locally, or executed by CI system" | ||
when: >- | ||
trigger is defined | ||
and trigger == code | ||
enabled: false | ||
prepare+: | ||
- name: Enable repositories and prepare machine for tests | ||
how: ansible | ||
playbook: | ||
- tmt-testing-plan-c10s.yml | ||
extra-vars: -vvv | ||
discover: | ||
how: shell | ||
tests: | ||
- name: '$OS, container: $REPO_NAME, version: $SINGLE_VERSION' | ||
framework: shell | ||
test: cd /root/$REPO_NAME && make $TEST_NAME TARGET=$OS SINGLE_VERSION=$SINGLE_VERSION | ||
duration: 3h | ||
|
||
|
||
/test-plan: | ||
enabled: false | ||
adjust: | ||
- because: "Plan to be ran for checking if packages and files are present as we want" | ||
when: >- | ||
trigger is defined | ||
and trigger == code | ||
enabled: true | ||
prepare+: | ||
- name: Enable repositories and prepare machine for tests | ||
how: shell | ||
script: | | ||
cd /root/$REPO_NAME | ||
git status | ||
ansible-playbook --connection=local --inventory=127.0.0.1, --limit=127.0.0.1 tmt-testing-plan-c10s.yml -vvv | ||
discover: | ||
how: shell | ||
tests: | ||
- name: Run sclorg-testing-farm tests | ||
framework: shell | ||
test: cd /root/$REPO_NAME && git status && OS="$OS" ansible-playbook tmt-sclorg-testing-plan.yml | ||
duration: 1h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
summary: TMT/TFT plan for running container nightly tests | ||
description: | | ||
Run nightly container tests on CentOS Stream 9 | ||
|
||
discover: | ||
how: shell | ||
tests: | ||
- name: Run nightly tests | ||
framework: shell | ||
test: cd /root/ci-scripts && ./daily_tests/daily_scl_tests.sh $OS $TEST | ||
duration: 7h | ||
|
||
prepare: | ||
- name: Enable repositories and prepare machine for tests | ||
how: ansible | ||
playbook: | ||
- tmt-testing-plan-c9s.yml | ||
|
||
execute: | ||
how: tmt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters