Skip to content
This repository was archived by the owner on Mar 17, 2020. It is now read-only.

Commit bdc5b3c

Browse files
committed
update helm, maven, and ci-pipeline-client
1 parent 8c1ed2c commit bdc5b3c

File tree

2 files changed

+23
-23
lines changed

2 files changed

+23
-23
lines changed

.banzaicloud/pipeline.yaml

+22-22
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
pipeline:
22
create_cluster:
3-
image: banzaicloud/ci-pipeline-client:0.11
3+
image: banzaicloud/ci-pipeline-client:0.12
44
action: EnsureCluster
55

66
test:
7-
image: maven:3.5-jdk-11-slim
7+
image: maven:3.6-jdk-11-slim
88
commands:
99
- mvn -Dmaven.repo.local=${PWD}/.m2/repository clean test
1010

1111
build_image:
12-
image: maven:3.5-jdk-11-slim
12+
image: maven:3.6-jdk-11-slim
1313
commands:
1414
- mvn -Dmaven.repo.local=${PWD}/.m2/repository compile jib:build
1515
environment:
@@ -32,6 +32,20 @@ pipeline:
3232
# DOCKER_PASSWORD:
3333
# keyRef: password
3434

35+
# install_gcr_secret:
36+
# when:
37+
# branch:
38+
# include: [master]
39+
# image: banzaicloud/ci-pipeline-client:0.12
40+
# action: InstallSecret
41+
# clusterSecret:
42+
# name: your-gcr-secret-name
43+
# namespace: default
44+
# merge: true
45+
# spec:
46+
# - name: json-key
47+
# source: json-key
48+
3549
# build_image:
3650
# image: banzaicloud/drone-kaniko
3751
# dockerfile: Dockerfile
@@ -44,32 +58,18 @@ pipeline:
4458
# keyRef: json-key
4559

4660
package_application:
47-
image: lachlanevenson/k8s-helm:latest
61+
image: alpine/helm:3.0.0
4862
commands:
49-
- helm init -c
63+
- helm repo add stable https://kubernetes-charts.storage.googleapis.com
5064
- helm repo add banzaicloud-stable https://kubernetes-charts.banzaicloud.com
5165
- helm dep update ./.banzaicloud/charts/spotguide-spring-boot
5266
- helm package ./.banzaicloud/charts/spotguide-spring-boot
5367

54-
# install_gcr_secret:
55-
# when:
56-
# branch:
57-
# include: [master]
58-
# image: banzaicloud/ci-pipeline-client:0.11
59-
# action: InstallSecret
60-
# clusterSecret:
61-
# name: your-gcr-secret-name
62-
# namespace: default
63-
# merge: true
64-
# spec:
65-
# - name: json-key
66-
# source: json-key
67-
6868
install_mysql_user_secret:
6969
when:
7070
branch:
7171
include: [master]
72-
image: banzaicloud/ci-pipeline-client:0.11
72+
image: banzaicloud/ci-pipeline-client:0.12
7373
action: InstallSecret
7474
clusterSecret:
7575
name: '{{ .CICD_REPO_NAME }}-mysql'
@@ -85,7 +85,7 @@ pipeline:
8585
when:
8686
branch:
8787
include: [master]
88-
image: banzaicloud/ci-pipeline-client:0.11
88+
image: banzaicloud/ci-pipeline-client:0.12
8989
action: InstallSecret
9090
clusterSecret:
9191
name: '{{ .CICD_REPO_NAME }}-mysql'
@@ -99,7 +99,7 @@ pipeline:
9999
when:
100100
branch:
101101
include: [master]
102-
image: banzaicloud/ci-pipeline-client:0.11
102+
image: banzaicloud/ci-pipeline-client:0.12
103103
action: EnsureDeployment
104104
deployment:
105105
name: './spotguide-spring-boot-1.0.0.tgz'

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM maven:3.5-jdk-11-slim as build
1+
FROM maven:3.6-jdk-11-slim as build
22

33
# Resolve all the dependencies and cache them to save a LOT of time
44
COPY pom.xml /usr/src/myapp/

0 commit comments

Comments
 (0)