This repository has been archived by the owner on May 28, 2024. It is now read-only.
-
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: Wei Shi <[email protected]>
- Loading branch information
Showing
8 changed files
with
94 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1 |
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,69 @@ | ||
discover: | ||
how: fmf | ||
prepare: | ||
- how: install | ||
package: | ||
- ansible-core | ||
- beaker-client | ||
- gcc | ||
- podman | ||
- skopeo | ||
- python3-devel | ||
- unzip | ||
- how: shell | ||
script: | | ||
pip install boto3 botocore openstacksdk | ||
ansible-galaxy collection install openstack.cloud community.general amazon.aws ansible.posix | ||
- how: shell | ||
script: curl "https://awscli.amazonaws.com/awscli-exe-linux-${ARCH}.zip" -o "awscliv2.zip" && unzip awscliv2.zip && sudo ./aws/install | ||
execute: | ||
how: tmt | ||
|
||
/openstack: | ||
summary: Run os-replace test on openstack | ||
tag: openstack | ||
environment+: | ||
PLATFORM: openstack | ||
adjust: | ||
- when: arch == x86_64 | ||
discover+: | ||
test: os-replace | ||
- when: arch != x86_64 | ||
discover+: | ||
test: N/A | ||
|
||
/gcp: | ||
summary: Run os-replace test on gcp | ||
tag: gcp | ||
environment+: | ||
PLATFORM: gcp | ||
prepare+: | ||
- how: shell | ||
script: cp tools/google-cloud-sdk.repo /etc/yum.repos.d/ | ||
- how: install | ||
package: | ||
- google-cloud-cli | ||
discover+: | ||
test: os-replace | ||
adjust: | ||
- when: arch == x86_64 or arch == aarch64 | ||
discover+: | ||
test: os-replace | ||
- when: arch != x86_64 and arch != aarch64 | ||
discover+: | ||
test: N/A | ||
|
||
/aws: | ||
summary: Run os-replace test on aws | ||
tag: aws | ||
environment+: | ||
PLATFORM: aws | ||
discover+: | ||
test: os-replace | ||
adjust: | ||
- when: arch == x86_64 or arch == aarch64 | ||
discover+: | ||
test: os-replace | ||
- when: arch != x86_64 and arch != aarch64 | ||
discover+: | ||
test: N/A |
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,4 @@ | ||
test: ./test.sh | ||
duration: 20m | ||
environment: | ||
TEST_CASE: os-replace |
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,10 @@ | ||
#!/bin/sh | ||
|
||
cd ../../ | ||
|
||
if [ "$TEST_CASE" = "os-replace" ]; then | ||
./os-replace.sh | ||
else | ||
echo "Error: Test case $TEST_CASE not found!" | ||
exit 1 | ||
fi |
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 |
---|---|---|
@@ -1,8 +1,7 @@ | ||
[google-cloud-cli] | ||
name=Google Cloud CLI | ||
baseurl=https://packages.cloud.google.com/yum/repos/cloud-sdk-el8-x86_64 | ||
baseurl=https://packages.cloud.google.com/yum/repos/cloud-sdk-el9-$basearch | ||
enabled=1 | ||
gpgcheck=1 | ||
repo_gpgcheck=0 | ||
gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg | ||
https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg | ||
gpgkey=https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg |