-
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.
prepare-release-cloud-24.09.0 (#1648)
* bump collect to 24.09.0 * chore(release) bump collect to 24.09.0 * chore(release) bump gorgone to 24.09.0 * remove unused get_major,get_minor, get_patch * fix broker minor version * fix engine minor version * fix agent minor version * fix(ci): handle prepare release cloud in stability * deliver cma windows zip in centreon download * release => upload in artifiacts --------- Co-authored-by: Jean Christophe Roques <[email protected]> Co-authored-by: tuntoja <[email protected]>
- Loading branch information
1 parent
f91bec1
commit b4c47bc
Showing
15 changed files
with
97 additions
and
100 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
MAJOR=24.07 | ||
MAJOR=24.09 | ||
MINOR=0 |
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,28 @@ | ||
/* | ||
* Copyright 2012-2013,2019 Centreon (https://www.centreon.com/) | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* For more information : [email protected] | ||
* | ||
*/ | ||
|
||
#ifndef CCE_VERSION_HH | ||
#define CCE_VERSION_HH | ||
|
||
// Compile-time values. | ||
constexpr unsigned CENTREON_AGENT_VERSION_MAJOR = @COLLECT_MAJOR@; | ||
constexpr unsigned CENTREON_AGENT_VERSION_MINOR = @[email protected]; | ||
constexpr unsigned CENTREON_AGENT_VERSION_PATCH = @[email protected]; | ||
|
||
#endif // !CCE_VERSION_HH |
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
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,51 +1,24 @@ | ||
/** | ||
* Copyright 2011-2013 Centreon | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* For more information : [email protected] | ||
*/ | ||
|
||
#include "com/centreon/clib/version.hh" | ||
|
||
using namespace com::centreon::clib; | ||
|
||
/** | ||
* Get version major. | ||
* Copyright 2011-2013 Centreon | ||
* | ||
* @return Centreon Clib version major. | ||
*/ | ||
unsigned int version::get_major() throw() { | ||
return (major); | ||
} | ||
|
||
/** | ||
* Get version minor. | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* @return Centreon Clib version minor. | ||
*/ | ||
unsigned int version::get_minor() throw() { | ||
return (minor); | ||
} | ||
|
||
/** | ||
* Get version patch. | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* @return Centreon Clib version patch. | ||
* For more information : [email protected] | ||
*/ | ||
unsigned int version::get_patch() throw() { | ||
return (patch); | ||
} | ||
|
||
#include "com/centreon/clib/version.hh" | ||
|
||
using namespace com::centreon::clib; | ||
|
||
/** | ||
* Get version string. | ||
|
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,41 +1,26 @@ | ||
/** | ||
* Copyright 2011-2020 Centreon | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* For more information : [email protected] | ||
*/ | ||
* Copyright 2011-2020 Centreon | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* For more information : [email protected] | ||
*/ | ||
|
||
#include "com/centreon/clib/version.hh" | ||
#include <gtest/gtest.h> | ||
|
||
using namespace com::centreon::clib; | ||
|
||
TEST(ClibVersion, Major) { | ||
ASSERT_EQ(version::get_major(), version::major); | ||
ASSERT_EQ(CENTREON_CLIB_VERSION_MAJOR, version::major); | ||
} | ||
|
||
TEST(ClibVersion, Minor) { | ||
ASSERT_EQ(version::get_minor(), version::minor); | ||
ASSERT_EQ(CENTREON_CLIB_VERSION_MINOR, version::minor); | ||
} | ||
|
||
TEST(ClibVersion, Patch) { | ||
ASSERT_EQ(version::get_patch(), version::patch); | ||
ASSERT_EQ(CENTREON_CLIB_VERSION_PATCH, version::patch); | ||
} | ||
|
||
TEST(ClibVersion, String) { | ||
ASSERT_STREQ(version::get_string(), version::string); | ||
ASSERT_STREQ(CENTREON_CLIB_VERSION_STRING, version::string); | ||
|
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