Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
java-spring-oidc-example
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
demo
java-spring-oidc-example
Commits
965107e5
Commit
965107e5
authored
Sep 19, 2019
by
陈健
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加打包helm的chart包和更改jdk的镜像
parent
7506ecf8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
Dockerfile
Dockerfile
+1
-1
values.yaml
charts/values.yaml
+0
-0
Jenkinsfile
jenkins/Jenkinsfile
+4
-2
No files found.
Dockerfile
View file @
965107e5
FROM
harbor.k2software.com.cn/build/openjdk:8-alpine
FROM
harbor.k2software.com.cn/build/openjdk:8-alpine
-tls
COPY
target/java-spring-oidc-example-1.0.0-SNAPSHOT.jar /opt/app.jar
...
...
charts/values
-dev
.yaml
→
charts/values.yaml
View file @
965107e5
File moved
jenkins/Jenkinsfile
View file @
965107e5
...
...
@@ -98,8 +98,10 @@ podTemplate(label: pod_label, cloud: 'kubernetes', containers: [
container
(
'helm'
)
{
stage
(
'helm deploy'
)
{
sh
"sed -i \"s/tag: dev/tag: dev-${env.BUILD_ID}/g\" charts/values-dev.yaml"
sh
"helm upgrade --install oidc-example --namespace paas charts/ -f charts/values-dev.yaml"
sh
"sed -i \"s/tag: dev/tag: dev-${env.BUILD_ID}/g\" charts/values.yaml"
//sh "helm upgrade --install oidc-example --namespace paas charts/ -f charts/values.yaml"
sh
"helm package --save=false charts"
sh
"cp *.tgz /mnt/charts/"
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment