Skip to content

Commit

Permalink
Merge pull request #62 from KKoukiou/packit-build-copr-on-commits-to-…
Browse files Browse the repository at this point in the history
…main

packit: Build COPR for main commits
  • Loading branch information
KKoukiou authored Nov 27, 2023
2 parents eaac83c + 4faca92 commit ecef3e5
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,12 @@ jobs:
targets:
- fedora-development

# for cross-project testing
- job: copr_build
trigger: release
trigger: commit
owner: "@rhinstaller"
project: "Anaconda-webui"
preserve_project: True
actions:
post-upstream-clone: make anaconda-webui.spec
# HACK: tarball for releases (copr_build, koji, etc.), copying spec's Source0; this
# really should be the default, see https://github.com/packit/packit-service/issues/1505
create-archive:
- sh -exc "curl -L -O https://github.com/rhinstaller/anaconda-webui/releases/download/${PACKIT_PROJECT_VERSION}/${PACKIT_PROJECT_NAME_VERSION}.tar.xz"
- sh -exc "ls ${PACKIT_PROJECT_NAME_VERSION}.tar.xz"

- job: propose_downstream
trigger: release
Expand Down

0 comments on commit ecef3e5

Please sign in to comment.