-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Logic rework of fmf files and add dnf4 build steps
- Loading branch information
Showing
7 changed files
with
69 additions
and
25 deletions.
There are no files selected for viewing
File renamed without changes.
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,36 @@ | ||
summary: Prepare CI DNF Stack | ||
|
||
tag: integration | ||
|
||
prepare: | ||
- name: Install packages to build fedora container | ||
how: install | ||
package: [git, podman] | ||
|
||
- name: Download latest ci-dnf-stack from PR | ||
how: shell | ||
script: | ||
- git clone https://github.com/rpm-software-management/ci-dnf-stack $TMT_PLANS_DATA/ci-dnf-stack | ||
|
||
- name: Checkout dnf4 branch | ||
how: shell | ||
script: | ||
- git -C $TMT_PLANS_DATA/ci-dnf-stack checkout dnf-4-stack | ||
|
||
- name: Checkout PR branch if packit call is from ci-dnf-stack | ||
how: shell | ||
script: | | ||
if [ "$PACKIT_UPSTREAM_NAME" == "ci-dnf-stack" ]; then | ||
git -C $TMT_PLANS_DATA/ci-dnf-stack remote add pull-request $PACKIT_SOURCE_URL | ||
git -C $TMT_PLANS_DATA/ci-dnf-stack fetch pull-request | ||
git -C $TMT_PLANS_DATA/ci-dnf-stack checkout --track pull-request/$PACKIT_SOURCE_BRANCH | ||
git -C $TMT_PLANS_DATA/ci-dnf-stack rebase $PACKIT_TARGET_BRANCH | ||
fi | ||
|
||
- name: Build testing container | ||
how: shell | ||
script: | | ||
$TMT_PLANS_DATA/ci-dnf-stack/container-test build \ | ||
--base $( echo "$@distro" | tr '-' ':') \ | ||
--container-arg="--env=COPR=$PACKIT_COPR_PROJECT" \ | ||
--container-arg="--env=COPR_RPMS=$PACKIT_COPR_RPMS" |
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,31 @@ | ||
summary: Prepare CI DNF Stack | ||
|
||
tag: integration | ||
|
||
prepare: | ||
- name: Install packages to build fedora container | ||
how: install | ||
package: [git, podman] | ||
|
||
- name: Download latest ci-dnf-stack from PR | ||
how: shell | ||
script: | ||
- git clone https://github.com/rpm-software-management/ci-dnf-stack $TMT_PLANS_DATA/ci-dnf-stack | ||
|
||
- name: Checkout PR branch if packit call is from ci-dnf-stack | ||
how: shell | ||
script: | | ||
if [ "$PACKIT_UPSTREAM_NAME" == "ci-dnf-stack" ]; then | ||
git -C $TMT_PLANS_DATA/ci-dnf-stack remote add pull-request $PACKIT_SOURCE_URL | ||
git -C $TMT_PLANS_DATA/ci-dnf-stack fetch pull-request | ||
git -C $TMT_PLANS_DATA/ci-dnf-stack checkout --track pull-request/$PACKIT_SOURCE_BRANCH | ||
git -C $TMT_PLANS_DATA/ci-dnf-stack rebase $PACKIT_TARGET_BRANCH | ||
fi | ||
|
||
- name: Build testing container | ||
how: shell | ||
script: | | ||
$TMT_PLANS_DATA/ci-dnf-stack/container-test build \ | ||
--base $( echo "$@distro" | tr '-' ':') \ | ||
--container-arg="--env=COPR=$PACKIT_COPR_PROJECT" \ | ||
--container-arg="--env=COPR_RPMS=$PACKIT_COPR_RPMS" |
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,31 +1,8 @@ | ||
summary: Prepare CI DNF Stack | ||
summary: Prepare Tests | ||
|
||
tag: integration | ||
tag: all | ||
|
||
prepare: | ||
- name: Install packages to build fedora container | ||
how: install | ||
package: [git, podman] | ||
|
||
- name: Download latest ci-dnf-stack from PR | ||
how: shell | ||
script: | ||
- git clone https://github.com/rpm-software-management/ci-dnf-stack $TMT_PLANS_DATA/ci-dnf-stack | ||
|
||
- name: Checkout PR branch if packit call is from ci-dnf-stack | ||
how: shell | ||
script: | | ||
if [ "$PACKIT_UPSTREAM_NAME" == "ci-dnf-stack" ]; then | ||
git -C $TMT_PLANS_DATA/ci-dnf-stack remote add pull-request $PACKIT_SOURCE_URL | ||
git -C $TMT_PLANS_DATA/ci-dnf-stack fetch pull-request | ||
git -C $TMT_PLANS_DATA/ci-dnf-stack checkout --track pull-request/$PACKIT_SOURCE_BRANCH | ||
git -C $TMT_PLANS_DATA/ci-dnf-stack rebase $PACKIT_TARGET_BRANCH | ||
fi | ||
|
||
- name: Build testing container | ||
how: shell | ||
script: | | ||
$TMT_PLANS_DATA/ci-dnf-stack/container-test build \ | ||
--base $( echo "$@distro" | tr '-' ':') \ | ||
--container-arg="--env=COPR=$PACKIT_COPR_PROJECT" \ | ||
--container-arg="--env=COPR_RPMS=$PACKIT_COPR_RPMS" |