@@ -38,115 +38,117 @@ runs:
3838 CENTREON_VERSION="26.10" # el10 - repo not yet available
3939 fi
4040 # Add Centreon plugins and standard repositories
41- {
42- echo '[centreon-plugins-stable]'
43- echo 'name=centreon plugins stable x86_64'
44- echo "baseurl=https://packages.centreon.com/rpm-plugins/$DISTRIB/stable/x86_64"
45- echo 'enabled=1'
46- echo 'gpgcheck=1'
47- echo 'gpgkey=https://yum-gpg.centreon.com/RPM-GPG-KEY-CES'
48- echo ''
49- echo '[centreon-plugins-stable-noarch]'
50- echo 'name=centreon plugins stable noarch'
51- echo "baseurl=https://packages.centreon.com/rpm-plugins/$DISTRIB/stable/noarch"
52- echo 'enabled=1'
53- echo 'gpgcheck=1'
54- echo 'gpgkey=https://yum-gpg.centreon.com/RPM-GPG-KEY-CES'
55- echo ''
56- echo '[centreon-plugins-testing]'
57- echo 'name=centreon plugins testing x86_64'
58- echo "baseurl=https://packages.centreon.com/rpm-plugins/$DISTRIB/testing/x86_64"
59- echo 'enabled=1'
60- echo 'gpgcheck=1'
61- echo 'gpgkey=https://yum-gpg.centreon.com/RPM-GPG-KEY-CES'
62- echo ''
63- echo '[centreon-plugins-testing-noarch]'
64- echo 'name=centreon plugins testing noarch'
65- echo "baseurl=https://packages.centreon.com/rpm-plugins/$DISTRIB/testing/noarch"
66- echo 'enabled=1'
67- echo 'gpgcheck=1'
68- echo 'gpgkey=https://yum-gpg.centreon.com/RPM-GPG-KEY-CES'
69- echo ''
70- echo '[centreon-plugins-unstable]'
71- echo 'name=centreon plugins unstable x86_64'
72- echo "baseurl=https://packages.centreon.com/rpm-plugins/$DISTRIB/unstable/x86_64"
73- echo 'enabled=1'
74- echo 'gpgcheck=1'
75- echo 'gpgkey=https://yum-gpg.centreon.com/RPM-GPG-KEY-CES'
76- echo ''
77- echo '[centreon-plugins-unstable-noarch]'
78- echo 'name=centreon plugins unstable noarch'
79- echo "baseurl=https://packages.centreon.com/rpm-plugins/$DISTRIB/unstable/noarch"
80- echo 'enabled=1'
81- echo 'gpgcheck=1'
82- echo 'gpgkey=https://yum-gpg.centreon.com/RPM-GPG-KEY-CES'
83- if [[ "$TEST_TYPE" != "dependency" ]]; then
84- echo ''
85- echo "[centreon-${CENTREON_VERSION}-stable]"
86- echo 'name=Centreon open source software repository.'
87- echo "baseurl=https://packages.centreon.com/rpm-standard/${CENTREON_VERSION}/$DISTRIB/stable/x86_64/"
88- echo 'enabled=1'
89- echo 'gpgcheck=1'
90- echo 'gpgkey=https://yum-gpg.centreon.com/RPM-GPG-KEY-CES'
91- echo 'module_hotfixes=1'
92- echo ''
93- echo "[centreon-${CENTREON_VERSION}-stable-noarch]"
94- echo 'name=Centreon open source software repository.'
95- echo "baseurl=https://packages.centreon.com/rpm-standard/${CENTREON_VERSION}/$DISTRIB/stable/noarch/"
96- echo 'enabled=1'
97- echo 'gpgcheck=1'
98- echo 'gpgkey=https://yum-gpg.centreon.com/RPM-GPG-KEY-CES'
99- echo 'module_hotfixes=1'
100- echo ''
101- echo "[centreon-${CENTREON_VERSION}-testing-release]"
102- echo 'name=Centreon open source software repository.'
103- echo "baseurl=https://packages.centreon.com/rpm-standard/${CENTREON_VERSION}/$DISTRIB/testing-release/x86_64/"
104- echo 'enabled=1'
105- echo 'gpgcheck=1'
106- echo 'gpgkey=https://yum-gpg.centreon.com/RPM-GPG-KEY-CES'
107- echo 'module_hotfixes=1'
108- echo ''
109- echo "[centreon-${CENTREON_VERSION}-testing-release-noarch]"
110- echo 'name=Centreon open source software repository.'
111- echo "baseurl=https://packages.centreon.com/rpm-standard/${CENTREON_VERSION}/$DISTRIB/testing-release/noarch/"
112- echo 'enabled=1'
113- echo 'gpgcheck=1'
114- echo 'gpgkey=https://yum-gpg.centreon.com/RPM-GPG-KEY-CES'
115- echo 'module_hotfixes=1'
116- echo ''
117- echo "[centreon-${CENTREON_VERSION}-testing-hotfix]"
118- echo 'name=Centreon open source software repository.'
119- echo "baseurl=https://packages.centreon.com/rpm-standard/${CENTREON_VERSION}/$DISTRIB/testing-hotfix/x86_64/"
120- echo 'enabled=1'
121- echo 'gpgcheck=1'
122- echo 'gpgkey=https://yum-gpg.centreon.com/RPM-GPG-KEY-CES'
123- echo 'module_hotfixes=1'
124- echo ''
125- echo "[centreon-${CENTREON_VERSION}-testing-hotfix-noarch]"
126- echo 'name=Centreon open source software repository.'
127- echo "baseurl=https://packages.centreon.com/rpm-standard/${CENTREON_VERSION}/$DISTRIB/testing-hotfix/noarch/"
128- echo 'enabled=1'
129- echo 'gpgcheck=1'
130- echo 'gpgkey=https://yum-gpg.centreon.com/RPM-GPG-KEY-CES'
131- echo 'module_hotfixes=1'
132- echo ''
133- echo "[centreon-${CENTREON_VERSION}-unstable]"
134- echo 'name=Centreon open source software repository.'
135- echo "baseurl=https://packages.centreon.com/rpm-standard/${CENTREON_VERSION}/$DISTRIB/unstable/x86_64/"
136- echo 'enabled=1'
137- echo 'gpgcheck=1'
138- echo 'gpgkey=https://yum-gpg.centreon.com/RPM-GPG-KEY-CES'
139- echo 'module_hotfixes=1'
140- echo ''
141- echo "[centreon-${CENTREON_VERSION}-unstable-noarch]"
142- echo 'name=Centreon open source software repository.'
143- echo "baseurl=https://packages.centreon.com/rpm-standard/${CENTREON_VERSION}/$DISTRIB/unstable/noarch/"
144- echo 'enabled=1'
145- echo 'gpgcheck=1'
146- echo 'gpgkey=https://yum-gpg.centreon.com/RPM-GPG-KEY-CES'
147- echo 'module_hotfixes=1'
148- fi
149- } > /etc/yum.repos.d/centreon-plugins.repo
41+ cat > /etc/yum.repos.d/centreon-plugins.repo << EOF
42+ [centreon-plugins-stable]
43+ name=centreon plugins stable x86_64
44+ baseurl=https://packages.centreon.com/rpm-plugins/$DISTRIB/stable/x86_64
45+ enabled=1
46+ gpgcheck=1
47+ gpgkey=https://yum-gpg.centreon.com/RPM-GPG-KEY-CES
48+
49+ [centreon-plugins-stable-noarch]
50+ name=centreon plugins stable noarch
51+ baseurl=https://packages.centreon.com/rpm-plugins/$DISTRIB/stable/noarch
52+ enabled=1
53+ gpgcheck=1
54+ gpgkey=https://yum-gpg.centreon.com/RPM-GPG-KEY-CES
55+
56+ [centreon-plugins-testing]
57+ name=centreon plugins testing x86_64
58+ baseurl=https://packages.centreon.com/rpm-plugins/$DISTRIB/testing/x86_64
59+ enabled=1
60+ gpgcheck=1
61+ gpgkey=https://yum-gpg.centreon.com/RPM-GPG-KEY-CES
62+
63+ [centreon-plugins-testing-noarch]
64+ name=centreon plugins testing noarch
65+ baseurl=https://packages.centreon.com/rpm-plugins/$DISTRIB/testing/noarch
66+ enabled=1
67+ gpgcheck=1
68+ gpgkey=https://yum-gpg.centreon.com/RPM-GPG-KEY-CES
69+
70+ [centreon-plugins-unstable]
71+ name=centreon plugins unstable x86_64
72+ baseurl=https://packages.centreon.com/rpm-plugins/$DISTRIB/unstable/x86_64
73+ enabled=1
74+ gpgcheck=1
75+ gpgkey=https://yum-gpg.centreon.com/RPM-GPG-KEY-CES
76+
77+ [centreon-plugins-unstable-noarch]
78+ name=centreon plugins unstable noarch
79+ baseurl=https://packages.centreon.com/rpm-plugins/$DISTRIB/unstable/noarch
80+ enabled=1
81+ gpgcheck=1
82+ gpgkey=https://yum-gpg.centreon.com/RPM-GPG-KEY-CES
83+ EOF
84+ if [[ "$TEST_TYPE" != "dependency" ]]; then
85+ cat >> /etc/yum.repos.d/centreon-plugins.repo << EOF
86+
87+ [centreon-${CENTREON_VERSION}-stable]
88+ name=Centreon open source software repository.
89+ baseurl=https://packages.centreon.com/rpm-standard/${CENTREON_VERSION}/$DISTRIB/stable/x86_64/
90+ enabled=1
91+ gpgcheck=1
92+ gpgkey=https://yum-gpg.centreon.com/RPM-GPG-KEY-CES
93+ module_hotfixes=1
94+
95+ [centreon-${CENTREON_VERSION}-stable-noarch]
96+ name=Centreon open source software repository.
97+ baseurl=https://packages.centreon.com/rpm-standard/${CENTREON_VERSION}/$DISTRIB/stable/noarch/
98+ enabled=1
99+ gpgcheck=1
100+ gpgkey=https://yum-gpg.centreon.com/RPM-GPG-KEY-CES
101+ module_hotfixes=1
102+
103+ [centreon-${CENTREON_VERSION}-testing-release]
104+ name=Centreon open source software repository.
105+ baseurl=https://packages.centreon.com/rpm-standard/${CENTREON_VERSION}/$DISTRIB/testing-release/x86_64/
106+ enabled=1
107+ gpgcheck=1
108+ gpgkey=https://yum-gpg.centreon.com/RPM-GPG-KEY-CES
109+ module_hotfixes=1
110+
111+ [centreon-${CENTREON_VERSION}-testing-release-noarch]
112+ name=Centreon open source software repository.
113+ baseurl=https://packages.centreon.com/rpm-standard/${CENTREON_VERSION}/$DISTRIB/testing-release/noarch/
114+ enabled=1
115+ gpgcheck=1
116+ gpgkey=https://yum-gpg.centreon.com/RPM-GPG-KEY-CES
117+ module_hotfixes=1
118+
119+ [centreon-${CENTREON_VERSION}-testing-hotfix]
120+ name=Centreon open source software repository.
121+ baseurl=https://packages.centreon.com/rpm-standard/${CENTREON_VERSION}/$DISTRIB/testing-hotfix/x86_64/
122+ enabled=1
123+ gpgcheck=1
124+ gpgkey=https://yum-gpg.centreon.com/RPM-GPG-KEY-CES
125+ module_hotfixes=1
126+
127+ [centreon-${CENTREON_VERSION}-testing-hotfix-noarch]
128+ name=Centreon open source software repository.
129+ baseurl=https://packages.centreon.com/rpm-standard/${CENTREON_VERSION}/$DISTRIB/testing-hotfix/noarch/
130+ enabled=1
131+ gpgcheck=1
132+ gpgkey=https://yum-gpg.centreon.com/RPM-GPG-KEY-CES
133+ module_hotfixes=1
134+
135+ [centreon-${CENTREON_VERSION}-unstable]
136+ name=Centreon open source software repository.
137+ baseurl=https://packages.centreon.com/rpm-standard/${CENTREON_VERSION}/$DISTRIB/unstable/x86_64/
138+ enabled=1
139+ gpgcheck=1
140+ gpgkey=https://yum-gpg.centreon.com/RPM-GPG-KEY-CES
141+ module_hotfixes=1
142+
143+ [centreon-${CENTREON_VERSION}-unstable-noarch]
144+ name=Centreon open source software repository.
145+ baseurl=https://packages.centreon.com/rpm-standard/${CENTREON_VERSION}/$DISTRIB/unstable/noarch/
146+ enabled=1
147+ gpgcheck=1
148+ gpgkey=https://yum-gpg.centreon.com/RPM-GPG-KEY-CES
149+ module_hotfixes=1
150+ EOF
151+ fi
150152 shell : bash
151153
152154 - if : ${{ inputs.package_extension == 'deb' }}
0 commit comments