diff --git a/jenkins/jenkins-proxy.d2 b/jenkins/jenkins-proxy.d2 new file mode 100644 index 0000000..2d0f3a7 --- /dev/null +++ b/jenkins/jenkins-proxy.d2 @@ -0,0 +1,9 @@ +direction: right +client.shape: cloud +client -> jenkins: " :443" +jenkins: { + caddy + jenkins + caddy -> jenkins: ":8080" +} + diff --git a/jenkins/provision/install-jenkins.sh b/jenkins/provision/install-jenkins.sh index e50c770..4658c33 100644 --- a/jenkins/provision/install-jenkins.sh +++ b/jenkins/provision/install-jenkins.sh @@ -3,9 +3,6 @@ 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' - 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