Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jiwei-api
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
马天浩
jiwei-api
Commits
5ebad513
Commit
5ebad513
authored
Aug 13, 2020
by
张欣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
改配置文件名字
parent
93c7c337
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
jenkinsfile
jenkinsfile
+4
-4
jiwei-api-deployment.yaml
jiwei-api-deployment.yaml
+0
-0
No files found.
jenkinsfile
View file @
5ebad513
...
...
@@ -33,10 +33,10 @@ pipeline {
if
(
PROFILES
==
'prod'
)
{
echo
'接下来进行生产项目的发布...'
sh
'''
sed -i "/image/{s/latest/${VERSION}/}"
citybrain-web
api-deployment.yaml
sed -i "/profiles/{s/profiles/${PROFILES}/}"
citybrain-web
api-deployment.yaml
sshpass scp
citybrain-web
api-deployment.yaml root@172.18.39.191:/root/caosx/yml
sshpass ssh root@172.18.39.191 'kubectl apply -f /root/caosx/yml/
citybrain-web
api-deployment.yaml'
sed -i "/image/{s/latest/${VERSION}/}"
jiwei-
api-deployment.yaml
sed -i "/profiles/{s/profiles/${PROFILES}/}"
jiwei-
api-deployment.yaml
sshpass scp
jiwei-
api-deployment.yaml root@172.18.39.191:/root/caosx/yml
sshpass ssh root@172.18.39.191 'kubectl apply -f /root/caosx/yml/
jiwei-
api-deployment.yaml'
'''
// kubernetesDeploy configs: 'deploy.yaml', kubeConfig: [path: ''], kubeconfigId: '3ab9d4b4-ffb9-44af-ab49-c17b64161198', secretName: '', ssh: [sshCredentialsId: '*', sshServer: ''], textCredentials: [certificateAuthorityData: '', clientCertificateData: '', clientKeyData: '', serverUrl: 'https://']
}
...
...
citybrain-web
api-deployment.yaml
→
jiwei-
api-deployment.yaml
View file @
5ebad513
File moved
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