'update files with ansible'

This commit is contained in:
jonny 2021-05-11 06:54:12 +00:00
parent 401c2b9c14
commit a8ef76913b
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ RUN apk update && \
adduser -D helm-web && \ adduser -D helm-web && \
mkdir /data && cd /data && git clone --single-branch --branch master https://git.ervine.org/jonny/flask-python-helm.git /data && \ mkdir /data && cd /data && git clone --single-branch --branch master https://git.ervine.org/jonny/flask-python-helm.git /data && \
pip3 install -r /data/requirements.txt && \ pip3 install -r /data/requirements.txt && \
curl -L https://get.helm.sh/helm-v3.5.3-linux-amd64.tar.gz -o /tmp/helm.tgz && \ curl -L https://get.helm.sh/helm-v3.5.4-linux-amd64.tar.gz -o /tmp/helm.tgz && \
tar -zxvf /tmp/helm.tgz --strip-components=1 -C /usr/local/bin linux-amd64/helm && \ tar -zxvf /tmp/helm.tgz --strip-components=1 -C /usr/local/bin linux-amd64/helm && \
rm -rf /tmp/src && rm -rf /var/cache/apk/* rm -rf /tmp/src && rm -rf /var/cache/apk/*

2
Jenkinsfile vendored
View File

@ -27,7 +27,7 @@ spec:
stage('Build with Kaniko') { stage('Build with Kaniko') {
git branch: 'master', url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine-helm-python.git', credentialsId: 'jenkins-to-git' git branch: 'master', url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine-helm-python.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/alpine/helm-3:v3.5.3 --destination=harbor.ervine.dev/public/x86_64/alpine/helm-3:v3.13.4' sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=false --destination=harbor.ervine.dev/public/x86_64/alpine/helm-3:v3.5.4 --destination=harbor.ervine.dev/public/x86_64/alpine/helm-3:v3.13.4'
} }
} }
stage('Notify gchat') { stage('Notify gchat') {