-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: Add rolling updates (node auto patching) feature
- Loading branch information
Showing
17 changed files
with
3,138 additions
and
74 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
added: | ||
- Add an own (ProxLB API) interface with basic functions. [#18] |
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,2 @@ | ||
added: | ||
- Add rolling update feature (node auto patching). [#39] |
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,3 +1,3 @@ | ||
[flake8] | ||
per-file-ignores = | ||
proxlb: E501,E221,E266,E231,E127,E222,E128 | ||
proxlb: E501,E221,E266,E231,E127,E222,E722,E128 |
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,10 @@ | ||
#!/bin/bash | ||
mkdir packages | ||
mkdir build | ||
cd build | ||
cmake .. | ||
cpack -G DEB . | ||
cp *.deb ../packages | ||
cd .. | ||
rm -rf build | ||
echo "Packages created. Packages can be found in directory: packages" |
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,26 @@ | ||
cmake_minimum_required(VERSION 3.16) | ||
project(proxlb-addition-api VERSION 0.0.9) | ||
|
||
install(FILES src/perl5/PVE/API2/Nodes.pm DESTINATION /usr/share/perl5/PVE/API2/) | ||
|
||
# General | ||
set(CPACK_PACKAGE_NAME "proxlb-addition-api") | ||
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/../../LICENSE") | ||
set(CPACK_RESOURCE_FILE_README "${CMAKE_CURRENT_SOURCE_DIR}/../../README.md") | ||
set(CPACK_DEBIAN_PACKAGE_MAINTAINER "Florian Paul Azim <gyptazy> Hoberg <[email protected]>") | ||
set(CPACK_PACKAGE_CONTACT "Florian Paul Azim Hoberg <[email protected]>") | ||
set(CPACK_PACKAGE_VENDOR "gyptazy") | ||
|
||
# DEB packaging | ||
set(CPACK_DEBIAN_FILE_NAME DEB-DEFAULT) | ||
set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "amd64") | ||
set(CPACK_DEBIAN_PACKAGE_SUMMARY "ProxLB API Additions - Additional optional patched libaries for ProxLB and Proxmox API.") | ||
set(CPACK_DEBIAN_PACKAGE_DESCRIPTION "ProxLB API Additions - Additional optional patched libaries for ProxLB and Proxmox API.") | ||
set(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA "${CMAKE_CURRENT_SOURCE_DIR}/changelog_debian") | ||
set(CPACK_DEBIAN_PACKAGE_DEPENDS "proxlb") | ||
set(CPACK_DEBIAN_PACKAGE_LICENSE "GPL 3.0") | ||
|
||
|
||
# Install | ||
set(CPACK_PACKAGING_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX}) | ||
include(CPack) |
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,13 @@ | ||
## Build packages | ||
Building the packages requires cmake and deb. | ||
For building packages, simly run the following commands: | ||
|
||
``` | ||
mkdir build | ||
cd build | ||
cmake .. | ||
cpack -G DEB . | ||
``` | ||
|
||
When running on Debian/Ubuntu you can directly call `01_package.sh` | ||
to create your own packages. |
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,5 @@ | ||
proxlb-addition-api (0.0.9) unstable; urgency=low | ||
|
||
* Initial release of ProxLB API additions. | ||
|
||
-- Florian Paul Azim Hoberg <[email protected]> Thu, 01 Aug 2024 17:04:12 +0200 |
Oops, something went wrong.