'update files with ansible'

This commit is contained in:
jonny 2022-03-23 15:06:42 +00:00
parent f52b772766
commit c5e4ea3ec5
3 changed files with 6 additions and 6 deletions

View File

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

4
Jenkinsfile vendored
View File

@ -27,11 +27,11 @@ spec:
stage('Build with Kaniko') { stage('Build with Kaniko') {
git url: 'ssh://git@git.ervine.org/jonny/x86_64-debian-bedrock.git', credentialsId: 'jenkins-to-git' git url: 'ssh://git@git.ervine.org/jonny/x86_64-debian-bedrock.git', credentialsId: 'jenkins-to-git'
container('kaniko') { 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.17.11.01' 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.18.12.01'
} }
} }
stage('Notify gchat') { stage('Notify gchat') {
hangoutsNotify message: "Bedrock Server 1.17.11.01 on debian has built",token: "A2ET831pVslqXTqAx6ycu573r",threadByJob: false hangoutsNotify message: "Bedrock Server 1.18.12.01 on debian has built",token: "A2ET831pVslqXTqAx6ycu573r",threadByJob: false
} }
} }
} }

View File

@ -14,10 +14,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes # This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version. # to the chart and its templates, including the app version.
version: 0.1.17 version: 0.1.18
# This is the version number of the application being deployed. This version number should be # This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. # incremented each time you make changes to the application.
appVersion: 1.17.11.01 appVersion: 1.18.12.01
icon: https://git.ervine.org/jonny/x86_64-debian-bedrock/raw/branch/master/bedrock.jpg icon: https://git.ervine.org/jonny/x86_64-debian-bedrock/raw/branch/master/bedrock.jpg