Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cicdhtj
Overview
Overview
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xujian
cicdhtj
Commits
8400e57b
Commit
8400e57b
authored
Sep 25, 2024
by
xujian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
加锁
parent
dcd8d556
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
5 deletions
+13
-5
Jenkinsfile
+5
-5
project.yaml
+8
-0
No files found.
Jenkinsfile
View file @
8400e57b
...
...
@@ -157,11 +157,11 @@ pipeline {
withCredentials
([
file
(
credentialsId:
'00789dc5-a86e-427d-9a57-f5d02a52cb6e'
,
variable:
'KUBECONFIG_FILE'
)])
{
script
{
echo
"xxxx"
// for( repo in repos
){
// if(repo.isUpdate &&
repo.dir == "BASE") sh "KUBECONFIG=\$KUBECONFIG_FILE helm upgrade base base-charts/ -n base -f project.yaml"
// if(repo.isUpdate &&
repo.dir == "CORE") sh "KUBECONFIG=\$KUBECONFIG_FILE helm upgrade core core-charts/ -n core -f project.yaml"
// if(repo.isUpdate &&
repo.dir == "HTJ") sh "KUBECONFIG=\$KUBECONFIG_FILE helm upgrade htj htj-charts/ -n htj -f project.yaml"
//
}
for
(
repo
in
repos
){
if
(
repo
.
dir
==
"BASE"
)
sh
"KUBECONFIG=\$KUBECONFIG_FILE helm upgrade base base-charts/ -n base -f project.yaml"
if
(
repo
.
dir
==
"CORE"
)
sh
"KUBECONFIG=\$KUBECONFIG_FILE helm upgrade core core-charts/ -n core -f project.yaml"
if
(
repo
.
dir
==
"HTJ"
)
sh
"KUBECONFIG=\$KUBECONFIG_FILE helm upgrade htj htj-charts/ -n htj -f project.yaml"
}
}
}
}
...
...
project.yaml
View file @
8400e57b
...
...
@@ -88,41 +88,49 @@ htj:
isUpdate
:
false
isEncryption
:
false
path
:
factory-tobacco-qrcode-module-product-syncmes
-
name
:
factory-tobacco-qrcode-modules-db-version-control
version
:
v24.09.20
isUpdate
:
false
isEncryption
:
false
path
:
factory-tobacco-qrcode-modules-db-version-control
-
name
:
factory-tobacco-qrcode-modules-iotege-relation
version
:
v24.09.20
isUpdate
:
false
isEncryption
:
false
path
:
factory-tobacco-qrcode-modules-iotege-relation
-
name
:
factory-tobacco-qrcode-modules-product-bloomfilter
version
:
v24.09.20
isUpdate
:
false
isEncryption
:
false
path
:
factory-tobacco-qrcode-modules-product-bloomfilter
-
name
:
factory-tobacco-qrcode-modules-product-relation
version
:
v24.09.25
isUpdate
:
true
isEncryption
:
false
path
:
factory-tobacco-qrcode-modules-product-relation
-
name
:
factory-tobacco-qrcode-modules-product-report
version
:
v24.09.20
isUpdate
:
false
isEncryption
:
false
path
:
factory-tobacco-qrcode-modules-product-report
-
name
:
factory-tobacco-qrcode-modules-product-statistics
version
:
v24.09.20
isUpdate
:
false
isEncryption
:
false
path
:
factory-tobacco-qrcode-modules-product-statistics
-
name
:
factory-tobacco-qrcode-modules-product-upload
version
:
v24.09.25
isUpdate
:
true
isEncryption
:
true
path
:
factory-tobacco-qrcode-modules-product-upload
-
name
:
factory-tobacco-qrcode-modules-wip-relation
version
:
v24.09.20
isUpdate
:
false
...
...
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