Added GChat notififation
This commit is contained in:
parent
c45b361335
commit
983fb3be1a
@ -1,7 +1,6 @@
|
||||
# Base on latest (edge) alpine image
|
||||
FROM harbor.ervine.dev/library/x86_64/alpine/alpine:3.12
|
||||
|
||||
MAINTAINER “Jonathan Ervine” <docker@ervine.org>
|
||||
FROM harbor.ervine.dev/library/x86_64/alpine:v3.12
|
||||
LABEL "Maintainer Jonathan Ervine <docker@ervine.org>"
|
||||
|
||||
# Install updates
|
||||
ENV LANG='en_US.UTF-8' \
|
||||
@ -9,7 +8,7 @@ ENV LANG='en_US.UTF-8' \
|
||||
FLASK_APP=/data/app-dev/app.py
|
||||
|
||||
RUN apk update && \
|
||||
apk -U upgrade && \
|
||||
apk -U upgrade --ignore aline-baselayout && \
|
||||
apk -U add python3 gcc py3-pip python3-dev musl-dev libffi-dev git && \
|
||||
adduser -D python
|
||||
|
||||
|
||||
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -27,8 +27,12 @@ spec:
|
||||
stage('Build with Kaniko') {
|
||||
git url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine-hockey.git', credentialsId: 'jenkins-to-git'
|
||||
container('kaniko') {
|
||||
sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=true --destination=harbor.ervine.dev/library/x86_64/alpine/hockey:3.12.0 --destination=harbor.ervine.dev/library/x86_64/alpine/hockey:3.12'
|
||||
sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=true --destination=harbor.ervine.dev/public/x86_64/alpine/hockey:v3.12.0 --destination=harbor.ervine.dev/public/x86_64/alpine/hockey:v3.12'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Notify gchat') {
|
||||
hangoutsNotify message: "Hockey Application on Alpine Linux 3.12.0 has built",token: "A2ET831pVslqXTqAx6ycu573r",threadByJob: false
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user