Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
psss authored and frantisekz committed Oct 8, 2024
1 parent 732767f commit 78fb014
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 21 deletions.
22 changes: 7 additions & 15 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ actions: &base-actions
- hatch version

targets: &all-targets
- fedora-all
- epel-9
fedora-40:
additional_repos:
- https://download.copr.fedorainfracloud.org/results/frantisekz/testcloud-wip/fedora-40-x86_64/

jobs:
# Build pull requests
Expand Down Expand Up @@ -95,11 +96,13 @@ jobs:
- tmt:
context:
how: provision
- &tmt-cloud-resources
settings:
settings: &tmt-cloud-resources
provisioning:
tags:
BusinessUnit: tmt
artifacts:
- type: repository
id: https://download.copr.fedorainfracloud.org/results/frantisekz/testcloud-temp/fedora-40-x86_64/

# Test internal plugins
- <<: *tests
Expand Down Expand Up @@ -150,17 +153,6 @@ jobs:
project: tmt
actions: *base-actions

# Fedora releases
- job: propose_downstream
trigger: release
dist_git_branches: *all-targets

- job: koji_build
trigger: commit
allowed_pr_authors: [ "packit", "psss", "lzachar" ]
allowed_committers: [ "packit", "psss", "lzachar" ]
dist_git_branches: *all-targets

- job: bodhi_update
trigger: commit
dist_git_branches:
Expand Down
20 changes: 16 additions & 4 deletions plans/provision/virtual.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,28 @@ adjust+:

/provision:
discover+:
test: "^/tests/provision"
test:
- "^/tests/provision"
- "^/tests/provision"
- "^/tests/provision"

/prepare:
discover+:
test: "^/tests/prepare"
test:
- "^/tests/prepare"
- "^/tests/prepare"
- "^/tests/prepare"

/execute:
discover+:
test: "^/tests/execute"
test:
- "^/tests/execute"
- "^/tests/execute"
- "^/tests/execute"

/the-rest:
discover+:
test: "^/tests/(?!provision|prepare|execute)"
test:
- "^/tests/(?!provision|prepare|execute)"
- "^/tests/(?!provision|prepare|execute)"
- "^/tests/(?!provision|prepare|execute)"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ provision-beaker = [
"mrack>=1.15.1",
]
provision-virtual = [
"testcloud>=0.9.13",
"testcloud>=0.10.0",
]
provision-container = []
report-junit = [
Expand Down
2 changes: 1 addition & 1 deletion tmt.spec
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Provides: tmt-provision-virtual == %{version}-%{release}
Obsoletes: tmt-provision-virtual < %{version}-%{release}
%endif
Requires: tmt == %{version}-%{release}
Requires: python3-testcloud >= 0.9.13
Requires: python3-testcloud >= 0.10.0
Requires: libvirt-daemon-config-network
Requires: openssh-clients
Requires: (ansible or ansible-core)
Expand Down

0 comments on commit 78fb014

Please sign in to comment.