-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MON-151747 Centreon next 24.04 (Jira release #20164#) (#1789)
- Loading branch information
Showing
57 changed files
with
1,314 additions
and
664 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
* @centreon/owners-cpp | ||
|
||
.github/** @centreon/owners-pipelines | ||
packaging/** @centreon/owners-pipelines | ||
selinux/** @centreon/owners-pipelines | ||
|
||
tests/** @centreon/owners-robot-e2e | ||
*.pm @centreon/owners-perl | ||
*.pl @centreon/owners-perl | ||
|
||
gorgone/ @centreon/owners-perl | ||
gorgone/docs/ @centreon/owners-doc | ||
|
||
.github/** @centreon/owners-pipelines | ||
**/packaging/** @centreon/owners-pipelines | ||
**/selinux/** @centreon/owners-pipelines | ||
|
||
tests/** @centreon/owners-robot-e2e | ||
|
||
gorgone/tests/robot/config/ @centreon/owners-perl | ||
*.pm @centreon/owners-perl | ||
*.pl @centreon/owners-perl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: "parse-distrib" | ||
description: "parse distrib name." | ||
inputs: | ||
distrib: | ||
description: "The distribution name" | ||
required: true | ||
outputs: | ||
package_distrib_separator: | ||
description: "Separator between package version and distrib number" | ||
value: ${{ steps.parse-distrib.outputs.package_distrib_separator }} | ||
package_distrib_name: | ||
description: "Distribution suffix in package name" | ||
value: ${{ steps.parse-distrib.outputs.package_distrib_name }} | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Parse distrib | ||
id: parse-distrib | ||
run: | | ||
if [[ "${{ inputs.distrib }}" == "centos7" || "${{ inputs.distrib }}" == "el7" ]]; then | ||
PACKAGE_DISTRIB_SEPARATOR="." | ||
PACKAGE_DISTRIB_NAME="el7" | ||
elif [[ "${{ inputs.distrib }}" == "alma8" || "${{ inputs.distrib }}" == "el8" ]]; then | ||
PACKAGE_DISTRIB_SEPARATOR="." | ||
PACKAGE_DISTRIB_NAME="el8" | ||
elif [[ "${{ inputs.distrib }}" == "alma9" || "${{ inputs.distrib }}" == "el9" ]]; then | ||
PACKAGE_DISTRIB_SEPARATOR="." | ||
PACKAGE_DISTRIB_NAME="el9" | ||
elif [[ "${{ inputs.distrib }}" == "bullseye" ]]; then | ||
PACKAGE_DISTRIB_SEPARATOR="+" | ||
PACKAGE_DISTRIB_NAME="deb11u1" | ||
elif [[ "${{ inputs.distrib }}" == "bookworm" ]]; then | ||
PACKAGE_DISTRIB_SEPARATOR="+" | ||
PACKAGE_DISTRIB_NAME="deb12u1" | ||
elif [[ "${{ inputs.distrib }}" == "jammy" ]]; then | ||
PACKAGE_DISTRIB_SEPARATOR="-" | ||
PACKAGE_DISTRIB_NAME="0ubuntu.22.04" | ||
else | ||
echo "::error::Distrib ${{ inputs.distrib }} cannot be parsed" | ||
exit 1 | ||
fi | ||
echo "package_distrib_separator=$PACKAGE_DISTRIB_SEPARATOR" >> $GITHUB_OUTPUT | ||
echo "package_distrib_name=$PACKAGE_DISTRIB_NAME" >> $GITHUB_OUTPUT | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.