-
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.
feat(packaging): package for Ubuntu Jammy (#1097)
Co-authored-by: Kevin Duret <[email protected]>
- Loading branch information
1 parent
5b2cbc4
commit a2c199d
Showing
19 changed files
with
196 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
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
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
50 changes: 50 additions & 0 deletions
50
.github/docker/Dockerfile.centreon-collect-debian-bookworm-test
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,50 @@ | ||
ARG REGISTRY_URL | ||
|
||
FROM ${REGISTRY_URL}/debian:bookworm | ||
|
||
COPY . /tmp/collect | ||
|
||
RUN bash -e <<EOF | ||
|
||
apt-get update | ||
|
||
apt-get -y install curl \ | ||
gcc \ | ||
g++ \ | ||
gdb \ | ||
git \ | ||
mariadb-server \ | ||
openssh-server \ | ||
libmariadb3 \ | ||
librrd8 \ | ||
libgnutlsxx30 \ | ||
liblua5.3 \ | ||
python3 \ | ||
python3-dev \ | ||
python3-pip \ | ||
libperl-dev \ | ||
libgcrypt20 \ | ||
aptitude \ | ||
strace \ | ||
locales \ | ||
rrdtool \ | ||
rrdcached \ | ||
zstd \ | ||
psmisc \ | ||
sudo | ||
|
||
apt-get clean | ||
|
||
localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 | ||
|
||
pip3 install --break-system-packages -U robotframework robotframework-databaselibrary robotframework-httpctrl robotframework-examples pymysql python-dateutil psutil | ||
pip3 install --break-system-packages grpcio grpcio_tools py-cpuinfo cython unqlite gitpython boto3 | ||
|
||
cd /tmp/collect | ||
|
||
.github/scripts/collect-prepare-test-robot.sh mariadb | ||
|
||
/bin/rm -rf /tmp/collect | ||
|
||
EOF | ||
|
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 |
---|---|---|
@@ -0,0 +1,59 @@ | ||
ARG REGISTRY_URL | ||
|
||
FROM ${REGISTRY_URL}/ubuntu:jammy | ||
|
||
RUN bash -e <<EOF | ||
|
||
apt-get update | ||
|
||
apt-get -y install cmake \ | ||
git \ | ||
curl \ | ||
gcc \ | ||
g++ \ | ||
gdb \ | ||
pkg-config \ | ||
ninja-build \ | ||
mariadb-server \ | ||
openssh-server \ | ||
libmariadb3 \ | ||
librrd-dev \ | ||
libgnutls28-dev \ | ||
liblua5.3-dev \ | ||
python3 \ | ||
python3-pip \ | ||
libperl-dev \ | ||
libgcrypt20-dev \ | ||
aptitude \ | ||
fakeroot \ | ||
strace \ | ||
locales \ | ||
rrdtool \ | ||
rrdcached \ | ||
zstd \ | ||
sudo | ||
|
||
echo 'deb [trusted=yes] https://repo.goreleaser.com/apt/ /' | tee /etc/apt/sources.list.d/goreleaser.list | ||
apt-get update | ||
apt-get install -y nfpm | ||
|
||
apt-get clean | ||
|
||
localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 | ||
|
||
pip3 install conan==1.61.0 | ||
ln -s /usr/local/bin/conan /usr/bin/conan | ||
rm -rf ~/.conan/profiles/default | ||
|
||
EOF | ||
|
||
COPY conanfile.txt . | ||
|
||
RUN bash -e <<EOF | ||
|
||
cat conanfile.txt | ||
conan install . -s compiler.cppstd=17 -s compiler.libcxx=libstdc++11 --build='missing' | ||
|
||
EOF | ||
|
||
WORKDIR /src |
Oops, something went wrong.