'update files with ansible'
This commit is contained in:
Vendored
+3
-8
@@ -3,8 +3,7 @@ kind: Pod
|
||||
spec:
|
||||
containers:
|
||||
- name: kaniko
|
||||
#image: gcr.io/kaniko-project/executor:debug-539ddefcae3fd6b411a95982a830d987f4214251
|
||||
image: gcr.io/kaniko-project/executor:debug-v1.0.0
|
||||
image: gcr.io/kaniko-project/executor:debug
|
||||
imagePullPolicy: Always
|
||||
command:
|
||||
- /busybox/cat
|
||||
@@ -23,19 +22,15 @@ spec:
|
||||
path: config.json
|
||||
"""
|
||||
) {
|
||||
|
||||
node(POD_LABEL) {
|
||||
stage('Build with Kaniko') {
|
||||
environment {
|
||||
MEDUSA_VER = "0.4.6"
|
||||
}
|
||||
git url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine-medusa.git', credentialsId: 'jenkins-to-git'
|
||||
container('kaniko') {
|
||||
sh "/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=true --destination=harbor.ervine.dev/public/x86_64/alpine/medusa:0.5 --destination=harbor.ervine.dev/public/x86_64/alpine/medusa:v0.5.10"
|
||||
sh "/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=true --destination=harbor.ervine.dev/public/x86_64/alpine/medusa:v0.5.9"
|
||||
}
|
||||
}
|
||||
stage('Notify gchat') {
|
||||
hangoutsNotify message: "Medusa 0.5.10 on Alpine Linux has built",token: "A2ET831pVslqXTqAx6ycu573r",threadByJob: false
|
||||
hangoutsNotify message: "Medusa 0.5.9 on Alpine Linux has built",token: "A2ET831pVslqXTqAx6ycu573r",threadByJob: false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user