-
Notifications
You must be signed in to change notification settings - Fork 103
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: Nicola Sella <nsella@redhat.com>
- Loading branch information
Showing
5 changed files
with
98 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
summary: Run Python Podman Tests | ||
|
||
discover: | ||
how: fmf | ||
execute: | ||
how: tmt | ||
prepare: | ||
- name: pkg dependencies | ||
how: install | ||
package: | ||
- make | ||
- python3-pip | ||
|
||
- name: pip dependencies | ||
how: shell | ||
script: | ||
- pip3 install -r test-requirements.txt | ||
|
||
- name: ssh configuration | ||
how: shell | ||
script: | ||
- ssh-keygen -t ecdsa -b 521 -f /root/.ssh/id_ecdsa -P "" | ||
- cp /root/.ssh/authorized_keys /root/.ssh/authorized_keys% | ||
- cat /root/.ssh/id_ecdsa.pub >>/root/.ssh/authorized_keys | ||
|
||
/upstream: | ||
/lint: | ||
summary: Run Python Podman Tests on upstream PRs | ||
discover+: | ||
test: /tests/lint | ||
|
||
/integration_tests: | ||
summary: Run Python Podman Tests on upstream PRs | ||
discover+: | ||
test: /tests/integration_tests | ||
|
||
adjust+: | ||
enabled: false | ||
when: initiator is not defined or initiator != packit | ||
|
||
/downstream: | ||
summary: Run Python Podman Tests on bodhi / errata and dist-git PRs | ||
discover+: | ||
test: /tests/integration_tests | ||
|
||
adjust+: | ||
enabled: false | ||
when: initiator == packit |
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,13 @@ | ||
require: | ||
- make | ||
- python3-pip | ||
|
||
/lint: | ||
tag: [ upstream ] | ||
summary: Run Linting on the whole codebase | ||
test: make lint | ||
|
||
/integration_tests: | ||
tag: [ upstream, downstream ] | ||
summary: Run integration tests | ||
test: make tests |