Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .ci/fedora/ci-tasks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ fi
arch=$(uname -m)
mkdir -p rpmbuild/RPMS/
pushd rpmbuild/RPMS/
packit --debug build locally ../..
packit --debug build locally -p libmodulemd ../..
createrepo_c $arch

$RETRY_CMD dnf -y install --nogpgcheck \
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
working-directory: ${{github.workspace}}/rpmbuild/RPMS
run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
packit --debug build locally ../..
packit --debug build locally -p libmodulemd ../..
createrepo_c x86_64

- name: Install the packages
Expand Down Expand Up @@ -197,7 +197,7 @@ jobs:
working-directory: ${{github.workspace}}/rpmbuild/RPMS
run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
packit --debug build locally ../..
packit --debug build locally -p libmodulemd ../..
createrepo_c x86_64

- name: Install the packages
Expand Down
29 changes: 24 additions & 5 deletions .packit.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,19 @@
specfile_path: fedora/libmodulemd.spec
upstream_package_name: libmodulemd
upstream_project_url: https://github.com/fedora-modularity/libmodulemd
downstream_package_name: libmodulemd
_:
project_settings: &project_settings
upstream_package_name: libmodulemd
upstream_project_url: https://github.com/fedora-modularity/libmodulemd
downstream_package_name: libmodulemd
specfile_path: fedora/libmodulemd.spec

packages:
libmodulemd:
<< : *project_settings
version_suffix: "^{PACKIT_PROJECT_SNAPSHOTID}"
update_release: false

# rpmbuild doesn't allow '^' in version on rhel 7, don't use caret notation
libmodulemd-epel7:
<< : *project_settings

actions:
get-current-version: ./get_version.sh
Expand All @@ -16,6 +28,7 @@ jobs:

- job: copr_build
trigger: pull_request
packages: [libmodulemd]
metadata:
targets:
- fedora-all
Expand All @@ -24,7 +37,13 @@ jobs:
- fedora-rawhide-ppc64le
# fedora-rawhide-x86_64 is included in fedora-all
# fedora-rawhide-s390x has too long wait queue
- epel-7
- epel-8
- centos-stream-9
- centos-stream-10

- job: copr_build
trigger: pull_request
packages: [libmodulemd-epel7]
metadata:
targets:
- epel-7
Loading