Skip to content

Commit

Permalink
Mon-147105 Sync Centreon next 22.10 (Jira release 20026) (#1706)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkippes committed Sep 16, 2024
2 parents 5ac0f04 + f2a2c0d commit 46c24b8
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/actions/package-legacy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ runs:
debmake -f "Centreon" -e "contact@centreon.com" -u "$VERSION" -y -r "bullseye"
debuild-pbuilder --no-lintian
# This makes shure that widget pkgs end up in the same dir as non widgets
# This makes sure that widget pkgs end up in the same dir as non widgets
if [[ $MODULE_BASENAME = "centreon-widget"* ]]; then
find / -name "*centreon-widget*.deb" -exec mv {} ../../ \;
fi
Expand Down
3 changes: 1 addition & 2 deletions .github/actions/package/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ runs:
MAJOR_LEFT=$( echo $MAJOR_VERSION | cut -d "." -f1 )
MAJOR_RIGHT=$( echo $MAJOR_VERSION | cut -d "-" -f1 | cut -d "." -f2 )
BUMP_MAJOR_RIGHT=$(( MAJOR_RIGHT_PART + 1 ))
if [ "$MAJOR_RIGHT" = "04" ]; then
BUMP_MAJOR_LEFT="$MAJOR_LEFT"
BUMP_MAJOR_RIGHT="10"
Expand Down Expand Up @@ -115,5 +114,5 @@ runs:
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
with:
name: ${{ inputs.arch != '' && format('packages-{0}-{1}', inputs.distrib, inputs.arch) || format('packages-{0}', inputs.distrib) }}
path: ./*.${{ inputs.package_extension}}
path: ./*.${{ inputs.package_extension }}
retention-days: 1
2 changes: 1 addition & 1 deletion .github/workflows/gorgone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
spec_file: gorgone/packaging/centreon-gorgone.spectemplate
package_extension: ${{ matrix.package_extension }}
image_name: ${{ matrix.image }}
module_name: centreon-gorgone
module_name: gorgone
major_version: ${{ needs.get-version.outputs.major_version }}
minor_version: ${{ needs.get-version.outputs.minor_version }}
release: ${{ needs.get-version.outputs.release }}
Expand Down
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
MAJOR=22.10
MINOR=10
MINOR=11
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ endif()
# Version.
set(COLLECT_MAJOR 22)
set(COLLECT_MINOR 10)
set(COLLECT_PATCH 10)
set(COLLECT_PATCH 11)
set(COLLECT_VERSION "${COLLECT_MAJOR}.${COLLECT_MINOR}.${COLLECT_PATCH}")
add_definitions(-DCENTREON_CONNECTOR_VERSION=\"${COLLECT_VERSION}\")

Expand Down
2 changes: 1 addition & 1 deletion gorgone/.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
MINOR=8
MINOR=9
9 changes: 5 additions & 4 deletions gorgone/packaging/centreon-gorgone.spectemplate
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Name: centreon-gorgone
Version: 22.10.8
Version: 22.10.9
Release: %{PACKAGE_RELEASE}%{?dist}
Summary: Perl daemon task handlers
Group: Applications/System
License: Apache-2.0
URL: http://www.centreon.com
Source0: %{name}-%{version}.tar.gz
Source0: gorgone-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRoot: %{_tmppath}/gorgone-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires: perl-devel

Expand Down Expand Up @@ -40,6 +40,7 @@ Requires: perl(Clone)
Requires: perl(Sys::Syslog)
Requires: perl(DateTime)
Requires: perl(Try::Tiny)
Requires: perl(lib)
Requires: tar
AutoReqProv: no

Expand All @@ -55,7 +56,7 @@ Requires: centreon-gorgone
%description centreon-config

%prep
%setup -q -n %{name}-%{version}
%setup -q -n gorgone-%{version}

%build

Expand Down
6 changes: 3 additions & 3 deletions gorgone/packaging/debian/centreon-gorgone.install
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ gorgone/class/* usr/share/perl5/gorgone/class
gorgone/modules/* usr/share/perl5/gorgone/modules
gorgone/standard/* usr/share/perl5/gorgone/standard

packaging/action.yaml => etc/centreon-gorgone/config.d/39-action.yaml
config/systemd/gorgoned-service => lib/systemd/system/gorgoned.service
config/systemd/gorgoned-sysconfig => etc/default/gorgoned
packaging/action.yaml => /etc/centreon-gorgone/config.d/39-action.yaml
config/systemd/gorgoned-service => /lib/systemd/system/gorgoned.service
config/systemd/gorgoned-sysconfig => /etc/default/gorgoned
3 changes: 2 additions & 1 deletion gorgone/packaging/debian/control
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Source: centreon-gorgone
Source: gorgone
Section: net
Priority: optional
Maintainer: Centreon <contact@centreon.com>
Expand Down Expand Up @@ -38,6 +38,7 @@ Depends:
libzmq-constants-perl,
libzmq5,
zmq-libzmq4-perl,
perl-base,
sudo,
${shlibs:Depends},
${misc:Depends}
Expand Down

0 comments on commit 46c24b8

Please sign in to comment.