Skip to content

Commit 1956d98

Browse files
authored
Release 20251000 (#5807)
2 parents ddcb43f + bfce868 commit 1956d98

File tree

236 files changed

+17036
-769
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

236 files changed

+17036
-769
lines changed

.github/actions/create-jira-ticket/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ runs:
2929
node-version: 20
3030

3131
- name: Install DayJS
32-
run: npm install dayjs
32+
run: npm install dayjs@1.11.18
3333
shell: bash
3434

3535
- name: Get ticket elements from context

.github/actions/package-delivery/action.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,9 @@ runs:
172172
contains(fromJson('["testing", "unstable"]'), inputs.stability) ||
173173
(inputs.stability == 'stable' && github.event_name == 'push')
174174
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
175+
env:
176+
JF_URL: https://packages.centreon.com
177+
JF_ACCESS_TOKEN: ${{ inputs.artifactory_token }}
175178
with:
176179
script: |
177180
const path = require('path');
@@ -184,6 +187,8 @@ runs:
184187
185188
const debTargetProps = '${{ inputs.stability }}' == 'testing' ? '--target-props "release_type=${{ inputs.release_type }}"' : '';
186189
190+
let rpmReindexPaths = [];
191+
let debReindexPaths = [];
187192
for await (const file of globber.globGenerator()) {
188193
const fileName = path.basename(file);
189194
@@ -192,6 +197,7 @@ runs:
192197
if (/x86_64/.test(fileName)) {
193198
arch = 'x86_64';
194199
}
200+
rpmReindexPaths.push(`${{ steps.get_repository_stability_path.outputs.repository_stability_path }}/${arch}`);
195201
await exec.exec(
196202
`jf rt upload "${fileName}" "${{ steps.get_repository_stability_path.outputs.repository_stability_path }}/${arch}/${stableRpmSubdirectory}${{ inputs.module_name }}/" --flat`
197203
);
@@ -205,6 +211,23 @@ runs:
205211
await exec.exec(
206212
`jf rt upload "${fileName}" "${{ steps.get_repository_stability_path.outputs.repository_stability_path }}/pool/${{ inputs.module_name }}/" --deb "${{ inputs.distrib }}/main/${arch}" ${debTargetProps} --flat`
207213
);
214+
debReindexPaths.push(`${{ steps.get_repository_stability_path.outputs.repository_stability_path }}`.split('/')[0]);
208215
}
209216
}
210217
}
218+
219+
rpmReindexPaths = [...new Set(rpmReindexPaths)];
220+
for (const rpmReindexPath of rpmReindexPaths) {
221+
const rootRepoPath = rpmReindexPath.split('/')[0];
222+
const repoPath = rpmReindexPath.split('/').slice(1).join('/');
223+
await exec.exec(
224+
`curl -H "Authorization: Bearer ${{ env.JF_ACCESS_TOKEN }}" -X POST "${{ env.JF_URL }}/artifactory/api/yum/${rootRepoPath}?path=/${repoPath}&async=1"`
225+
);
226+
}
227+
228+
debReindexPaths = [...new Set(debReindexPaths)];
229+
for (const debReindexPath of debReindexPaths) {
230+
await exec.exec(
231+
`curl -H "Authorization: Bearer ${{ env.JF_ACCESS_TOKEN }}" -X POST "${{ env.JF_URL }}/artifactory/api/deb/reindex/${debReindexPath}?async=1"`
232+
);
233+
}

.github/docker/testing/Dockerfile.testing-plugins-alma8

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ curl -fsSL https://rpm.nodesource.com/setup_21.x | bash -
1919
yum install -y nodejs
2020

2121
# Install mockoon
22-
npm install -g -D @mockoon/cli
22+
npm install -g -D @mockoon/cli@9.3.0
2323

2424
# Add Centreon plugins repositories
2525
echo -e '[centreon-plugins-stable]\n\

.github/docker/testing/Dockerfile.testing-plugins-alma9

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ pip3.11 install snmpsim
2323
curl -fsSL https://rpm.nodesource.com/setup_21.x | bash -
2424
yum install -y nodejs
2525
# Install mockoon
26-
npm install -g -D @mockoon/cli
26+
npm install -g -D @mockoon/cli@9.3.0
2727

2828
# Add Centreon plugins repositories
2929
echo -e '[centreon-plugins-stable]\n\

.github/docker/testing/Dockerfile.testing-plugins-bookworm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ curl -fsSL https://deb.nodesource.com/setup_21.x | bash - &&\
4040
apt-get install -y nodejs
4141

4242
# Install mockoon (needs nodejs)
43-
npm install -g -D @mockoon/cli
43+
npm install -g -D @mockoon/cli@9.3.0
4444

4545
# Add Centreon plugins repositories
4646
echo "deb https://packages.centreon.com/apt-standard-24.10-stable bookworm main" | tee /etc/apt/sources.list.d/centreon.list

.github/docker/testing/Dockerfile.testing-plugins-bullseye

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ pip3 install snmpsim
3939
curl -fsSL https://deb.nodesource.com/setup_21.x | bash - &&\
4040
apt-get install -y nodejs
4141
# Install mockoon (needs nodejs)
42-
npm install -g -D @mockoon/cli
42+
npm install -g -D @mockoon/cli@9.3.0
4343

4444
# Add Centreon plugins repositories
4545
echo "deb https://packages.centreon.com/apt-standard-24.04-stable bullseye main" | tee /etc/apt/sources.list.d/centreon.list

.github/docker/testing/Dockerfile.testing-plugins-jammy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ pip3 install snmpsim
3939
curl -fsSL https://deb.nodesource.com/setup_21.x | bash - &&\
4040
apt-get install -y nodejs
4141
# Install mockoon (needs nodejs)
42-
npm install -g -D @mockoon/cli
42+
npm install -g -D @mockoon/cli@9.3.0
4343

4444
# Add Centreon plugins repositories
4545
echo "deb https://packages.centreon.com/ubuntu-standard-24.04-stable/ jammy main" | tee -a /etc/apt/sources.list.d/centreon-stable.list

.github/docker/testing/Dockerfile.testing-plugins-noble

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ pip3 install snmpsim
4242
curl -fsSL https://deb.nodesource.com/setup_21.x | bash - &&\
4343
apt-get install -y nodejs
4444
# Install mockoon (needs nodejs)
45-
npm install -g -D @mockoon/cli
45+
npm install -g -D @mockoon/cli@9.3.0
4646

4747
# Add Centreon plugins repositories
4848
echo "deb https://packages.centreon.com/ubuntu-standard-24.10-stable/ noble main" | tee -a /etc/apt/sources.list.d/centreon-stable.list

.github/scripts/plugins-source.container.pl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
File::Path::make_path('lib');
6868
my @common_files = (
6969
'centreon/plugins/curllogger.pm',
70+
'centreon/plugins/constants.pm',
7071
'centreon/plugins/http.pm',
7172
'centreon/plugins/misc.pm',
7273
'centreon/plugins/mode.pm',

.github/workflows/perl-cpan-libraries.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -429,10 +429,6 @@ jobs:
429429
deb_dependencies: "libexporter-tiny-perl libxs-install-perl"
430430
no-auto-depends: "true"
431431
build_names: "bullseye-amd64,bookworm,jammy,noble,bullseye-arm64"
432-
- name: "Device::Modbus::RTU::Client"
433-
build_names: "bookworm,noble"
434-
- name: "Device::Modbus::TCP::Client"
435-
build_names: "bookworm,noble"
436432
- name: "Digest::SHA1"
437433
build_names: "jammy,noble"
438434
- name: "Hash::Ordered"

0 commit comments

Comments
 (0)