Skip to content

Commit f7483dc

Browse files
authored
Release 20250800 (#5713)
2 parents 695b7cc + 9d0fd16 commit f7483dc

File tree

186 files changed

+6548
-691
lines changed

Some content is hidden

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

186 files changed

+6548
-691
lines changed

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

Lines changed: 145 additions & 273 deletions
Large diffs are not rendered by default.

.github/actions/create-jira-ticket/nightly-ticket-template.json

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"content": [
2222
{
2323
"type": "text",
24-
"text": "This incident ticket relates to the @MODULE_NAME@ nightly on the @GITHUB_BRANCH@ branch which failed on @DATE@."
24+
"text": "This incident ticket relates to the @MODULE_NAME@ nightly on the @GITHUB_BRANCH@ branch which failed on @DATE@. This ticket covers the failure on @FAILED_JOB@."
2525
}
2626
]
2727
},
@@ -41,15 +41,6 @@
4141
]
4242
}
4343
]
44-
},
45-
{
46-
"type": "paragraph",
47-
"content": [
48-
{
49-
"type": "text",
50-
"text": "List of jobs that failed on the @MODULE_NAME@ nightly:"
51-
}
52-
]
5344
}
5445
]
5546
}

.github/docker/packaging/Dockerfile.packaging-plugins-java-noble

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ apt-get update
88
apt-get install -y \
99
ca-certificates \
1010
git \
11-
openjdk-17-jdk \
11+
openjdk-17-jdk-headless \
1212
wget \
1313
zstd
1414

@@ -27,4 +27,4 @@ apt-get clean all
2727

2828
EOF
2929

30-
WORKDIR /src
30+
WORKDIR /src

.github/workflows/as400.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
run: mvn -version && mvn clean install -f as400/connector.as400/pom.xml
8686

8787
- name: Remove me after debug
88-
run: find / -name "centreon-as400*.jar"
88+
run: find / -path /proc -prune -o -name "centreon-as400*.jar"
8989

9090
- name: Package
9191
uses: ./.github/actions/package-nfpm

.github/workflows/docker-builder-packaging-plugins.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090
username: ${{ secrets.HARBOR_CENTREON_PUSH_USERNAME }}
9191
password: ${{ secrets.HARBOR_CENTREON_PUSH_TOKEN }}
9292

93-
- uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0
93+
- uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
9494

9595
- uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
9696
with:

.github/workflows/docker-builder-testing-plugins.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
username: ${{ secrets.HARBOR_CENTREON_PUSH_USERNAME }}
7474
password: ${{ secrets.HARBOR_CENTREON_PUSH_TOKEN }}
7575

76-
- uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0
76+
- uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
7777

7878
- uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
7979
with:

.github/workflows/docker-builder-unit-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
username: ${{ secrets.HARBOR_CENTREON_PUSH_USERNAME }}
7373
password: ${{ secrets.HARBOR_CENTREON_PUSH_TOKEN }}
7474

75-
- uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0
75+
- uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
7676

7777
- uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
7878
with:

.github/workflows/plugins.yml

Lines changed: 22 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -115,20 +115,6 @@ jobs:
115115
116116
shell: bash
117117

118-
- name: Create Jira ticket on nightly build failure
119-
if: |
120-
needs.get-environment.outputs.is_nightly == 'true' && github.run_attempt == 1 &&
121-
failure() &&
122-
startsWith(github.ref_name, 'dev')
123-
uses: ./.github/actions/create-jira-ticket
124-
with:
125-
jira_base_url: ${{ secrets.JIRA_BASE_URL }}
126-
jira_user_email: ${{ secrets.XRAY_JIRA_USER_EMAIL }}
127-
jira_api_token: ${{ secrets.XRAY_JIRA_TOKEN }}
128-
module_name: "monitoring-plugins"
129-
ticket_labels: '["Nightly", "Pipeline", "nightly-${{ github.ref_name }}", "${{ github.job }}"]'
130-
ticket_squad: "DevSecOps"
131-
132118
unit-tests:
133119
needs: [get-environment, get-plugins]
134120
if: |
@@ -188,20 +174,6 @@ jobs:
188174
path: ./lastlog.jsonl
189175
retention-days: 1
190176

191-
- name: Create Jira ticket on nightly build failure
192-
if: |
193-
needs.get-environment.outputs.is_nightly == 'true' && github.run_attempt == 1 &&
194-
failure() &&
195-
startsWith(github.ref_name, 'dev')
196-
uses: ./.github/actions/create-jira-ticket
197-
with:
198-
jira_base_url: ${{ secrets.JIRA_BASE_URL }}
199-
jira_user_email: ${{ secrets.XRAY_JIRA_USER_EMAIL }}
200-
jira_api_token: ${{ secrets.XRAY_JIRA_TOKEN }}
201-
module_name: "monitoring-plugins"
202-
ticket_labels: '["Nightly", "Pipeline", "nightly-${{ github.ref_name }}", "${{ github.job }}"]'
203-
ticket_squad: "Connectors"
204-
205177
fatpacker:
206178
needs: [get-environment, get-plugins, unit-tests]
207179
if: |
@@ -361,20 +333,6 @@ jobs:
361333
rpm_gpg_signing_passphrase: ${{ secrets.RPM_GPG_SIGNING_PASSPHRASE }}
362334
stability: ${{ needs.get-environment.outputs.stability }}
363335

364-
- name: Create Jira ticket on nightly build failure
365-
if: |
366-
needs.get-environment.outputs.is_nightly == 'true' && github.run_attempt == 1 &&
367-
failure() &&
368-
startsWith(github.ref_name, 'dev')
369-
uses: ./.github/actions/create-jira-ticket
370-
with:
371-
jira_base_url: ${{ secrets.JIRA_BASE_URL }}
372-
jira_user_email: ${{ secrets.XRAY_JIRA_USER_EMAIL }}
373-
jira_api_token: ${{ secrets.XRAY_JIRA_TOKEN }}
374-
module_name: "monitoring-plugins"
375-
ticket_labels: '["Nightly", "Pipeline", "nightly-${{ github.ref_name }}", "${{ github.job }}"]'
376-
ticket_squad: "DevSecOps"
377-
378336
test-plugins:
379337
needs: [get-environment, get-plugins, package]
380338
if: |
@@ -438,20 +396,6 @@ jobs:
438396
path: /var/log/robot-plugins-installation-tests.log
439397
retention-days: 1
440398

441-
- name: Create Jira ticket on nightly build failure
442-
if: |
443-
needs.get-environment.outputs.is_nightly == 'true' && github.run_attempt == 1 &&
444-
failure() &&
445-
startsWith(github.ref_name, 'dev')
446-
uses: ./.github/actions/create-jira-ticket
447-
with:
448-
jira_base_url: ${{ secrets.JIRA_BASE_URL }}
449-
jira_user_email: ${{ secrets.XRAY_JIRA_USER_EMAIL }}
450-
jira_api_token: ${{ secrets.XRAY_JIRA_TOKEN }}
451-
module_name: "monitoring-plugins"
452-
ticket_labels: '["Nightly", "Pipeline", "nightly-${{ github.ref_name }}", "${{ github.job }}"]'
453-
ticket_squad: "Connectors"
454-
455399
deliver-packages:
456400
needs: [get-environment, get-plugins, test-plugins]
457401
if: |
@@ -496,20 +440,6 @@ jobs:
496440
release_type: ${{ needs.get-environment.outputs.release_type }}
497441
artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}
498442

499-
- name: Create Jira ticket on nightly build failure
500-
if: |
501-
needs.get-environment.outputs.is_nightly == 'true' && github.run_attempt == 1 &&
502-
failure() &&
503-
startsWith(github.ref_name, 'dev')
504-
uses: ./.github/actions/create-jira-ticket
505-
with:
506-
jira_base_url: ${{ secrets.JIRA_BASE_URL }}
507-
jira_user_email: ${{ secrets.XRAY_JIRA_USER_EMAIL }}
508-
jira_api_token: ${{ secrets.XRAY_JIRA_TOKEN }}
509-
module_name: "monitoring-plugins"
510-
ticket_labels: '["Nightly", "Pipeline", "nightly-${{ github.ref_name }}", "${{ github.job }}"]'
511-
ticket_squad: "DevSecOps"
512-
513443
deliver-sources:
514444
needs: [get-environment, fatpacker]
515445
if: |
@@ -571,3 +501,25 @@ jobs:
571501
! contains(needs.*.result, 'failure') &&
572502
! contains(needs.*.result, 'cancelled')
573503
uses: ./.github/workflows/set-pull-request-skip-label.yml
504+
505+
create-jira-nightly-ticket:
506+
runs-on: ubuntu-24.04
507+
needs: [
508+
get-environment,
509+
deliver-packages
510+
]
511+
if: |
512+
needs.get-environment.outputs.is_nightly == 'true' && github.run_attempt == 1 &&
513+
(failure() || cancelled() || contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled'))
514+
steps:
515+
- name: Checkout sources
516+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
517+
518+
- name: Create Jira ticket based on nightly build failure
519+
uses: ./.github/actions/create-jira-ticket
520+
with:
521+
jira_base_url: ${{ secrets.JIRA_BASE_URL }}
522+
jira_user_email: ${{ secrets.XRAY_JIRA_USER_EMAIL }}
523+
jira_api_token: ${{ secrets.XRAY_JIRA_TOKEN }}
524+
module_name: "centreon-plugins"
525+
ticket_reason_for_creation: "Nightly"

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ output.xml
33
report.html
44
.editorconfig
55
.idea
6+
.venv

.version.plugins

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20250700
1+
20250800

0 commit comments

Comments
 (0)