modified: Dockerfile
modified: Jenkinsfile Updated to wetty 1.3.0
This commit is contained in:
parent
4992b5ffc4
commit
d05ab10223
@ -7,7 +7,7 @@ WORKDIR /src
|
|||||||
RUN apk add --no-cache --virtual .build-deps \
|
RUN apk add --no-cache --virtual .build-deps \
|
||||||
git python make g++ \
|
git python make g++ \
|
||||||
&& apk add --no-cache openssh-client \
|
&& apk add --no-cache openssh-client \
|
||||||
&& git clone https://github.com/krishnasrinivas/wetty --branch v1.1.4 /src \
|
&& git clone https://github.com/krishnasrinivas/wetty --branch v1.3.0 /src \
|
||||||
&& npm install \
|
&& npm install \
|
||||||
&& apk del .build-deps \
|
&& apk del .build-deps \
|
||||||
&& adduser -h /src -D term \
|
&& adduser -h /src -D term \
|
||||||
|
|||||||
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -14,9 +14,11 @@ node("docker-node") {
|
|||||||
stage "publish"
|
stage "publish"
|
||||||
app.push("${env.BUILD_NUMBER}")
|
app.push("${env.BUILD_NUMBER}")
|
||||||
app.push("latest")
|
app.push("latest")
|
||||||
|
app.push("1.3.0")
|
||||||
|
app.push("1.3")
|
||||||
|
|
||||||
stage('Deploy on K8s'){
|
stage('Deploy on K8s'){
|
||||||
sh "/usr/local/bin/kubectl -n utils delete po --all"
|
sh "/usr/local/bin/kubectl -n wetty delete po --all"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (err) {
|
catch (err) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user