'update files with ansible'
This commit is contained in:
parent
761ae2a2ca
commit
de7692d60f
@ -12,9 +12,9 @@ RUN echo http://dl-4.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositorie
|
|||||||
apk -U upgrade --ignore alpine-baselayout && \
|
apk -U upgrade --ignore alpine-baselayout && \
|
||||||
apk -U add python3
|
apk -U add python3
|
||||||
|
|
||||||
RUN wget https://github.com/pymedusa/Medusa/archive/v1.0.11.tar.gz -O medusa.tar.gz && \
|
RUN wget https://github.com/pymedusa/Medusa/archive/v1.0.12.tar.gz -O medusa.tar.gz && \
|
||||||
tar zxvf medusa.tar.gz && \
|
tar zxvf medusa.tar.gz && \
|
||||||
mv Medusa-1.0.11 medusa && \
|
mv Medusa-1.0.12 medusa && \
|
||||||
rm -rf medusa.tar.gz && \
|
rm -rf medusa.tar.gz && \
|
||||||
apk del make gcc g++ && \
|
apk del make gcc g++ && \
|
||||||
rm -rf /tmp/src && \
|
rm -rf /tmp/src && \
|
||||||
|
|||||||
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -26,11 +26,11 @@ spec:
|
|||||||
stage('Build with Kaniko') {
|
stage('Build with Kaniko') {
|
||||||
git url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine-medusa.git', credentialsId: 'jenkins-to-git'
|
git url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine-medusa.git', credentialsId: 'jenkins-to-git'
|
||||||
container('kaniko') {
|
container('kaniko') {
|
||||||
sh "/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=true --destination=harbor.ervine.dev/public/x86_64/alpine/medusa:v1.0.11"
|
sh "/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=true --destination=harbor.ervine.dev/public/x86_64/alpine/medusa:v1.0.12"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Notify gchat') {
|
stage('Notify gchat') {
|
||||||
googlechatnotification (url: 'https://chat.googleapis.com/v1/spaces/AAAA-nNKzdA/messages?key=AIzaSyDdI0hCZtE6vySjMm-WEfRq3CPzqKqqsHI&token=FySO2Zy2wfNJ7QKoqT9zy0uzNJF8bwj74ansor3BTu0%3D', message: "medusa 1.0.11 on RHEL UBI has built")
|
googlechatnotification (url: 'https://chat.googleapis.com/v1/spaces/AAAA-nNKzdA/messages?key=AIzaSyDdI0hCZtE6vySjMm-WEfRq3CPzqKqqsHI&token=FySO2Zy2wfNJ7QKoqT9zy0uzNJF8bwj74ansor3BTu0%3D', message: "medusa 1.0.12 on RHEL UBI has built")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user