From cc1d4133410f36f5ff359659dc10bb81fddb1d5b Mon Sep 17 00:00:00 2001 From: "Eric D. Helms" Date: Tue, 11 Apr 2023 13:34:22 -0400 Subject: [PATCH] Manage Copr projects --- package_manifest.yaml | 73 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) diff --git a/package_manifest.yaml b/package_manifest.yaml index 06f9c8f135c..843ba332676 100644 --- a/package_manifest.yaml +++ b/package_manifest.yaml @@ -29,9 +29,51 @@ all: dist: '.el8' macros: foremandist: "{{ foremandist }}" + copr_project_user: "@theforeman" children: packages: {} repoclosures: {} + copr_projects: {} + +copr_projects: + hosts: + foreman-copr: + copr_project_name: "foreman-{{ foreman_version }}" + copr_project_chroots: + - name: rhel-8-x86_64 + modules: + - 'ruby:2.7' + - 'python39:3.9' + - 'nodejs:12' + external_repos: + - https://yum.puppet.com/puppet7/el/8/x86_64/ + plugins-copr: + copr_project_name: "foreman-plugins-{{ foreman_version }}" + copr_project_chroots: + - name: rhel-8-x86_64 + modules: + - 'ruby:2.7' + - 'python39:3.9' + - 'nodejs:12' + external_repos: + - https://download.copr.fedorainfracloud.org/results/@theforeman/foreman-nightly/rhel-8-x86_64/ + katello-copr: + copr_project_name: "foreman-katello-{{ foreman_version }}" + copr_project_chroots: + - name: rhel-8-x86_64 + modules: + - 'ruby:2.7' + - 'python39:3.9' + - 'nodejs:12' + external_repos: + - https://download.copr.fedorainfracloud.org/results/@theforeman/foreman-nightly/rhel-8-x86_64/ + client-copr: + copr_project_name: "foreman-client-{{ foreman_version }}" + copr_project_chroots: + - name: rhel-8-x86_64 + - name: rhel-7-x86_64 + external_repos: + - https://dl.fedoraproject.org/pub/epel/7/x86_64/ packages: vars: @@ -60,6 +102,13 @@ foreman_packages: - el8-powertools - el8-puppet-7 - "el8-katello-candlepin-{{ katello_version }}" + rhel-8-x86_64: + - el8-baseos + - el8-appstream + - el8-extras + - el8-powertools + - el8-puppet-7 + - "el8-katello-candlepin-{{ katello_version }}" children: foreman_core_packages: {} foreman_proxy_packages: {} @@ -68,6 +117,8 @@ foreman_packages: plugin_packages: vars: + copr_projects: + - "{{ hostvars['plugins-copr'] }}" package_base_dir: 'packages/plugins/' koji_tags: - "{{ all_tags['foreman-plugins-el8'] }}" @@ -88,6 +139,9 @@ plugin_packages: foreman_proxy_plugin_packages: {} rails_core_packages: + vars: + copr_projects: + - "{{ hostvars['foreman-copr'] }}" hosts: rubygem-actioncable: {} rubygem-actionmailbox: {} @@ -104,6 +158,9 @@ rails_core_packages: rubygem-railties: {} foreman_core_packages: + vars: + copr_projects: + - "{{ hostvars['foreman-copr'] }}" children: rails_core_packages: {} hosts: @@ -319,6 +376,9 @@ foreman_core_packages: rubygem-zeitwerk: {} foreman_nodejs_packages: + vars: + copr_projects: + - "{{ hostvars['foreman-copr'] }}" hosts: gyp: {} nodejs-argv-parse: {} @@ -395,6 +455,9 @@ foreman_nodejs_packages: strategy: bundle foreman_installer_packages: + vars: + copr_projects: + - "{{ hostvars['foreman-copr'] }}" hosts: foreman-installer: source_location: https://ci.theforeman.org/job/foreman-installer-develop-source-release @@ -413,6 +476,9 @@ foreman_installer_packages: rubygem-kafo_wizards: {} foreman_proxy_packages: + vars: + copr_projects: + - "{{ hostvars['foreman-copr'] }}" hosts: foreman-proxy: source_location: https://ci.theforeman.org/job/smart-proxy-develop-source-release @@ -439,6 +505,8 @@ yggdrasil_client_packages: foreman_client_packages: vars: + copr_projects: + - "{{ hostvars['client-copr'] }}" package_base_dir: 'packages/client/' koji_tags: - "{{ all_tags['foreman-client-el9'] }}" @@ -490,6 +558,8 @@ qpid_proton_packages: katello_packages: vars: + copr_projects: + - "{{ hostvars['katello-copr'] }}" package_base_dir: 'packages/katello/' koji_tags: - "{{ all_tags['katello-el8'] }}" @@ -836,6 +906,9 @@ repoclosures: foreman_release_packages: vars: + copr_projects: + - "{{ hostvars['foreman-copr'] }}" + - "{{ hostvars['client-copr'] }}" koji_tags: - "{{ all_tags['foreman-el8'] }}" - "{{ all_tags['foreman-client-el9'] }}"