diff --git a/install-fedora.sh b/install-fedora.sh index 83eabac..bc440c1 100644 --- a/install-fedora.sh +++ b/install-fedora.sh @@ -1,11 +1,10 @@ #!/bin/bash dnf update -y dnf install -y policycoreutils-python-utils setroubleshoot-server git wget curl unzip docker + wget -O buildAgentFull.zip https://teamcity.nld.inker.bot/update/buildAgentFull-Linux-x64.zip unzip buildAgentFull.zip -d /opt/agent -rm -f buildAgentFull.zip - - +rm buildAgentFull.zip wget -O /lib/systemd/system/teamcityagent.service https://git.inker.bot/inksnow/teamcity-agent-install/raw/branch/main/teamcityagent.service sed -i 's/http:\/\/localhost:8111\//https:\/\/teamcity.nld.inker.bot\//g' /opt/agent/conf/buildAgent.properties diff --git a/install-ubuntu.sh b/install-ubuntu.sh index 8bd7ba7..57e6bab 100644 --- a/install-ubuntu.sh +++ b/install-ubuntu.sh @@ -4,13 +4,7 @@ apt install -y git curl unzip docker.io wget -O buildAgentFull.zip https://teamcity.nld.inker.bot/update/buildAgentFull-Linux-x64.zip unzip buildAgentFull.zip -d /opt/agent -rm -rf buildAgentFull.zip /opt/agent/jre - -wget -O zulu17.50.19-ca-jdk17.0.11-linux_musl_x64.tar.gz https://cdn.azul.com/zulu/bin/zulu17.50.19-ca-jdk17.0.11-linux_musl_x64.tar.gz -tar -xzvf zulu17.50.19-ca-jdk17.0.11-linux_musl_x64.tar.gz -rm -rf zulu17.50.19-ca-jdk17.0.11-linux_musl_x64.tar.gz /opt/agent/jre -mv zulu17.50.19-ca-jdk17.0.11-linux_musl_x64 /opt/agent/jre - +rm buildAgentFull.zip wget -O /lib/systemd/system/teamcityagent.service https://git.inker.bot/inksnow/teamcity-agent-install/raw/branch/main/teamcityagent.service sed -i 's/http:\/\/localhost:8111\//https:\/\/teamcity.nld.inker.bot\//g' /opt/agent/conf/buildAgent.properties @@ -21,3 +15,4 @@ docker run --privileged --rm tonistiigi/binfmt --install all docker rmi tonistiigi/binfmt systemctl enable --now teamcityagent +wget -O /lib/systemd/system/caddy.servicehttps://raw.githubusercontent.com/caddyserver/dist/refs/heads/master/init/caddy.service \ No newline at end of file