Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

packit: Bump FMF test plan ref on release #17378

Merged
merged 1 commit into from
May 24, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,22 @@ actions:
# HACK: packit's "fix spec file" stage does not kick in here, and it does not take the spec from the tarball
# https://github.com/packit/packit-service/issues/1515
- sh -exc 'tools/create-spec --version $(git describe | tr - .) --build-all -o cockpit.spec tools/cockpit.spec.in'
# HACK: until FMF uses tests from dist-git source tarball: https://github.com/teemtee/tmt/issues/585
- sh -exc 'mkdir -p tmp; curl --silent --fail https://src.fedoraproject.org/rpms/cockpit/raw/rawhide/f/plans/upstream.fmf | sed -r "/ref:/ s/[0-9.]+/$(git describe --abbrev=0)/" > tmp/upstream.fmf'

create-archive:
# The sandcastle doesn't have enough ram to run webpack, so wait
# until the webpack-jumpstart workflow has run and grab the result.
- tools/webpack-jumpstart --wait --rebase
- tools/make-dist

# HACK: packit.yml and spec get synced by default; drop this when the plans/upstream.fmf HACK above gets dropped
files_to_sync:
- packit.yaml
- cockpit.spec
- src: tmp/upstream.fmf
dest: plans/upstream.fmf

srpm_build_deps:
- automake
- gcc
Expand Down