'update files with ansible'

This commit is contained in:
jonny 2021-03-11 14:38:45 +00:00
parent a200a6051e
commit 3a3e67d561
2 changed files with 5 additions and 3 deletions

View File

@ -5,7 +5,6 @@ COPY package*.json ./
COPY . . COPY . .
RUN npm install && npm run build RUN npm install && npm run build
FROM node:14.5.0-alpine3.12 FROM node:14.5.0-alpine3.12
WORKDIR /usr/src/app WORKDIR /usr/src/app

7
Jenkinsfile vendored
View File

@ -4,7 +4,7 @@ kind: Pod
spec: spec:
containers: containers:
- name: kaniko - name: kaniko
image: gcr.io/kaniko-project/executor:debug-539ddefcae3fd6b411a95982a830d987f4214251 image: "gcr.io/kaniko-project/executor:debug"
imagePullPolicy: Always imagePullPolicy: Always
command: command:
- /busybox/cat - /busybox/cat
@ -28,9 +28,12 @@ spec:
stage('Build with Kaniko') { stage('Build with Kaniko') {
git url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine-slack2chat.git', credentialsId: 'jenkins-to-git' git url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine-slack2chat.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/slack2chat:14.5.0' sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=true --destination=harbor.ervine.dev/public/x86_64/alpine//slack2chat:14.5.0'
} }
} }
stage('Notify gchat') {
hangoutsNotify message: "Slack2chat 14.5.0 on Alpine has built",token: "A2ET831pVslqXTqAx6ycu573r",threadByJob: false
}
} }
} }