From fa034b4a08cbb0f4d81f95644b1c94361b79d070 Mon Sep 17 00:00:00 2001 From: Maja Massarini Date: Thu, 14 Nov 2024 15:33:22 +0100 Subject: [PATCH] Add centos-stream package to specfile packit.yaml To be able to propose-downstream using packit follow this guide: https://gitlab.com/CentOS/Integration/packit-cbs/docs --- .packit.yaml | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/.packit.yaml b/.packit.yaml index 837931a..a6f3f79 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -33,6 +33,32 @@ packages: - bash -c "ls -1t ./fedora/*.tar.gz | head -n 1" get-current-version: python3 -m setuptools_scm + specfile-centos-stream: + upstream_package_name: specfile + downstream_package_name: python-specfile + specfile_path: &specfile_path_centos centos-stream/python-specfile.spec + files_to_sync: + - *specfile_path_centos + - .packit.yaml + - src: plans/ + dest: plans/ + - src: .fmf/ + dest: .fmf/ + srpm_build_deps: + - python3-build + - python3-setuptools_scm + actions: + pre-sync: + - python3 plans/git_reference.py + create-archive: + - python3 -m build --sdist --outdir ./fedora/ + - bash -c "ls -1t ./centos-stream/*.tar.gz | head -n 1" + get-current-version: python3 -m setuptools_scm + dist_git_base_url: https://gitlab.com # this are not taken into account by centpkg-sig! + dist_git_namespace: CentOS/Integration/packit-cbs/rpms # this are not taken into account by centpkg-sig! + #sig: Integration/packit-cbs # this are not taken into account by centpkg-sig! + pkg_tool: centpkg-sig + specfile-epel8: upstream_package_name: specfile downstream_package_name: python-specfile @@ -171,6 +197,11 @@ jobs: packages: [specfile-epel8] dist_git_branches: - epel-8 + - job: propose_downstream + trigger: release + packages: [specfile-centos-stream] + dist_git_branches: + - c9-sig-integration - job: pull_from_upstream trigger: release @@ -185,6 +216,11 @@ jobs: packages: [specfile-epel8] dist_git_branches: - epel-8 + - job: pull_from_upstream + trigger: release + packages: [specfile-centos-stream] + dist_git_branches: + - c9-sig-integration - job: koji_build trigger: commit @@ -204,6 +240,13 @@ jobs: allowed_pr_authors: ["packit-stg", "packit"] dist_git_branches: - epel-8 + - job: koji_build + trigger: commit + packages: [specfile-centos-stream] + packit_instances: ["stg"] + allowed_pr_authors: ["packit-stg", "packit"] + dist_git_branches: + - c9-sig-integration - job: bodhi_update trigger: commit