Compare commits

...

2 Commits

Author SHA1 Message Date
bf15f643c7 Ajout caddy avec jenkins 2025-02-19 23:05:21 +01:00
b33711c33d ajuste install-jenkins pour certs ... 2025-02-13 11:45:07 +01:00
5 changed files with 31 additions and 5 deletions

View File

@ -2,9 +2,9 @@
## Présentation
Le script ''install-jenkins'' installe l'application CI/CD **jenkins** sur Debian 12 avec openJDK 17 à partir du dépot jenkins.
Le script ''install-jenkins.sh'' installe l'application CI/CD **jenkins** sur Debian 12 avec openJDK 17 à partir du dépot jenkins.
Il installe lesapplication **git** et **ansible**.
Il installe également les applications **git** et **ansible**.
Jenkins est accessible sur le port 8080

View File

@ -0,0 +1,11 @@
192.168.1.30:443 {
tls internal
reverse_proxy localhost:8080
}
jenkins:443 {
tls internal
reverse_proxy localhost:8080
}

View File

@ -0,0 +1,6 @@
#!/bin/bash
sudo apt-get update
sudo apt-get install -y caddy

View File

@ -3,8 +3,12 @@
sudo apt-get update
sudo apt-get install -y gnupg openjdk-17-jdk
wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add -
sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'
#wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add -
#sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'
curl -fsSL https://pkg.jenkins.io/debian-stable/jenkins.io-2023.key | sudo tee \ /usr/share/keyrings/jenkins-keyring.asc > /dev/null
echo deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc] \ https://pkg.jenkins.io/debian-stable binary/ | sudo tee \ /etc/apt/sources.list.d/jenkins.list > /dev/null
sudo apt-get update
sudo apt-get install -y jenkins

View File

@ -5,5 +5,10 @@ sudo apt-get update
wget https://dl.min.io/server/minio/release/linux-amd64/archive/minio_20250203210304.0.0_amd64.deb -O minio.deb
sudo dpkg -i minio.deb
sudo groupadd -r minio
sudo useradd -M -r -g minio minio
echo -e "mkdir ~/minio\nminio server ~/minio --console-address :9001"