'update files with ansible'

This commit is contained in:
jonny 2021-04-09 13:39:13 +00:00
parent e8342201c2
commit fe568715a0
3 changed files with 5 additions and 5 deletions

View File

@ -6,8 +6,8 @@ LABEL maintainer="Jonathan Ervine docker@ervine.org"
RUN apt update && apt upgrade -y && \
apt install unzip curl -y && \
mkdir /bedrock && cd /bedrock && \
curl -LO https://minecraft.azureedge.net/bin-linux/bedrock-server-1.16.210.06.zip && unzip bedrock-server-1.16.210.06.zip && \
rm bedrock-server-1.16.210.06.zip && \
curl -LO https://minecraft.azureedge.net/bin-linux/bedrock-server-1.16.220.02.zip && unzip bedrock-server-1.16.220.02.zip && \
rm bedrock-server-1.16.220.02.zip && \
addgroup bedrock && \
adduser --no-create-home --uid 1027 --ingroup bedrock --disabled-password --quiet --shell /bin/bash --gecos bedrock bedrock && \
chown -R bedrock:bedrock /bedrock

4
Jenkinsfile vendored
View File

@ -27,11 +27,11 @@ spec:
stage('Build with Kaniko') {
git url: 'ssh://git@git.ervine.org/jonny/x86_64-debian-bedrock.git', credentialsId: 'jenkins-to-git'
container('kaniko') {
sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=false --destination=harbor.ervine.dev/public/x86_64/debian/bedrock:latest --destination=harbor.ervine.dev/public/x86_64/debian/bedrock:1.16.210.06'
sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=false --destination=harbor.ervine.dev/public/x86_64/debian/bedrock:latest --destination=harbor.ervine.dev/public/x86_64/debian/bedrock:1.16.220.02'
}
}
stage('Notify gchat') {
hangoutsNotify message: "Bedrock Server 1.16.210.06 on debian has built",token: "A2ET831pVslqXTqAx6ycu573r",threadByJob: false
hangoutsNotify message: "Bedrock Server 1.16.220.02 on debian has built",token: "A2ET831pVslqXTqAx6ycu573r",threadByJob: false
}
}
}

View File

@ -18,6 +18,6 @@ version: 0.1.10
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: 1.16.201.02
appVersion: 1.16.220.02
icon: https://git.ervine.org/jonny/x86_64-debian-bedrock/raw/branch/master/bedrock.jpg