-
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.
Merge pull request #77 from sclorg/fix_ci_plans
Rename testing plan to centos-stream-10-plan
- Loading branch information
Showing
5 changed files
with
94 additions
and
95 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
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,32 @@ | ||
summary: TMT/TFT plan for running container tests on CentOS Stream 10 | ||
description: | | ||
Run container tests on CentOS Stream 10 | ||
|
||
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 | ||
|
||
prepare: | ||
- name: Clone repository and switch to corresponding PR | ||
how: shell | ||
script: | | ||
dnf install -y git ansible-core | ||
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 | ||
|
||
- 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 | ||
|
||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
summary: TMT/TFT plan for running container tests on CentOS Stream 9 | ||
description: | | ||
Run container tests on CentOS Stream 9 | ||
|
||
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 | ||
|
||
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 | ||
|
||
- 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-c9s.yml -vvv | ||
|
||
execute: | ||
how: tmt |