Skip to content

Commit

Permalink
Revert "fix(gorgone): move centreon-common dependency (#1792)"
Browse files Browse the repository at this point in the history
This reverts commit 6bffffc.
  • Loading branch information
tuntoja committed Nov 6, 2024
1 parent ad18f13 commit 1086130
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 13 deletions.
15 changes: 7 additions & 8 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
* @centreon/owners-cpp

*.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
packaging/** @centreon/owners-pipelines
selinux/** @centreon/owners-pipelines

tests/** @centreon/owners-robot-e2e

gorgone/ @centreon/owners-perl
gorgone/docs/ @centreon/owners-doc

gorgone/tests/robot/config/ @centreon/owners-perl
*.pm @centreon/owners-perl
*.pl @centreon/owners-perl
6 changes: 4 additions & 2 deletions .github/workflows/gorgone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,11 @@ jobs:
run: |
if [[ "${{ matrix.package_extension }}" == "deb" ]]; then
apt update
apt install -y ./centreon-gorgone*.deb
apt install -y ./centreon-gorgone*${{ steps.parse-distrib.outputs.package_distrib_name }}*
else
dnf install -y ./centreon-gorgone*.rpm
dnf install -y ./centreon-gorgone*${{ steps.parse-distrib.outputs.package_distrib_name }}* ./centreon-gorgone-centreon-config*${{ steps.parse-distrib.outputs.package_distrib_name }}*
# in el8 at least, there is a package for the configuration and a package for the actual code.
# this is not the case for debian, and for now I don't know why it was made any different between the 2 Os.
fi
- name: Create databases
Expand Down
2 changes: 0 additions & 2 deletions gorgone/packaging/centreon-gorgone-centreon-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,9 @@ overrides:
rpm:
depends:
- centreon-gorgone = ${VERSION}-${RELEASE}${DIST}
- centreon-common
deb:
depends:
- centreon-gorgone (= ${VERSION}-${RELEASE}${DIST})
- centreon-common
replaces:
- centreon-gorgone (<< 24.11.0)

Expand Down
4 changes: 3 additions & 1 deletion gorgone/packaging/centreon-gorgone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ scripts:
overrides:
rpm:
depends:
- centreon-common
- bzip2
- perl-Libssh-Session >= 0.8
- perl-CryptX
Expand Down Expand Up @@ -193,7 +194,8 @@ overrides:
- perl(lib)
- perl(Safe)
deb:
depends:
depends: # those dependencies are taken from centreon-gorgone/packaging/debian/control
- centreon-common
- libdatetime-perl
- libtime-parsedate-perl
- libtry-tiny-perl
Expand Down

0 comments on commit 1086130

Please sign in to comment.