Skip to content

Commit

Permalink
add TMT_PLAN_DATA var to store artifacts for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
inknos committed Nov 3, 2023
1 parent 7505248 commit 3ca686e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions plans/integration/behave-dnf5.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ execute:
- name: Run a simple feature to test the ci-stack
# weirdly the dir is not there anymore but we need the scripts
script:
- git clone https://github.com/rpm-software-management/ci-dnf-stack.git ci-dnf-stack
- ./ci-dnf-stack/container-test run --tags dnf5daemon --command dnf5daemon-client dnf5daemon/no-dnfdaemon-server.feature
- $TMT_PLAN_DATA/ci-dnf-stack/container-test run --tags dnf5daemon --command dnf5daemon-client dnf5daemon/no-dnfdaemon-server.feature
3 changes: 1 addition & 2 deletions plans/integration/behave-dnf5daemon.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ execute:
- name: Run a simple feature to test the ci-stack
# weirdly the dir is not there anymore but we need the scripts
script:
- git clone https://github.com/rpm-software-management/ci-dnf-stack.git ci-dnf-stack
- ./ci-dnf-stack/container-test run --tags dnf5 --command dnf5 upgrade.feature
- $TMT_PLAN_DATA/ci-dnf-stack/container-test run --tags dnf5 --command dnf5 upgrade.feature
4 changes: 2 additions & 2 deletions plans/main.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ prepare:
- name: download latest ci-dnf-stack
how: shell
script:
- git clone https://github.com/rpm-software-management/ci-dnf-stack.git ci-dnf-stack
- git clone https://github.com/rpm-software-management/ci-dnf-stack.git $TMT_PLAN_DATA/ci-dnf-stack
# necessary for $COPR and $RPMS variables
- git -C ci-dnf-stack checkout --track origin/tmt-test
- git -C $TMT_PLAN_DATA/ci-dnf-stack checkout --track origin/tmt-test

- name: build testing container
how: shell
Expand Down

0 comments on commit 3ca686e

Please sign in to comment.