Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
microservice-autodevopspipelines
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
李春生
microservice-autodevopspipelines
Commits
0aa7af74
Commit
0aa7af74
authored
Jan 11, 2019
by
据说甜蜜呢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加环境
parent
2379ecb5
Pipeline
#4320
passed with stage
in 19 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
devops/PipeLines/Creation/001_CI.sh
+3
-3
devops/PipeLines/Creation/002_CreateConfig.sh
+3
-3
devops/PipeLines/Creation/003_ReleaseMajor.sh
+3
-3
No files found.
devops/PipeLines/Creation/001_CI.sh
View file @
0aa7af74
...
...
@@ -11,7 +11,7 @@ ReleaseEnvironmentOf Environment
GetAppName appName
echo
""
echo
"Continuous integration for
${
appName
}
starting..."
echo
"
[
${
Environment
}
]
Continuous integration for
${
appName
}
starting..."
echo
""
echo
"
${
appName
}
building..."
...
...
@@ -29,4 +29,4 @@ do
done
echo
""
echo
"Continuous integration for
${
appName
}
has been successful."
\ No newline at end of file
echo
"[
${
Environment
}
]Continuous integration for
${
appName
}
has been successful."
\ No newline at end of file
devops/PipeLines/Creation/002_CreateConfig.sh
View file @
0aa7af74
...
...
@@ -11,7 +11,7 @@ ReleaseEnvironmentOf Environment
GetAppName appName
echo
""
echo
"Begin creating
${
appName
}
's settings to the configmap of k8s..."
echo
"
[
${
Environment
}
]
Begin creating
${
appName
}
's settings to the configmap of k8s..."
GetNameSpace namespace
kubectl create namespace
${
namespace
}
...
...
@@ -27,4 +27,4 @@ do
done
echo
""
echo
"End creating app settings to the configmap of k8s..."
\ No newline at end of file
echo
"[
${
Environment
}
]End creating app settings to the configmap of k8s..."
\ No newline at end of file
devops/PipeLines/Creation/003_ReleaseMajor.sh
View file @
0aa7af74
...
...
@@ -11,7 +11,7 @@ ReleaseEnvironmentOf Environment
GetAppName appName
echo
"Starting release for
${
appName
}
, it will dynamicly create k8s environment..."
echo
"
[
${
Environment
}
]
Starting release for
${
appName
}
, it will dynamicly create k8s environment..."
GetVersion version
GetNameSpace namespace
...
...
@@ -45,4 +45,4 @@ helm install /root/AutoDevOpsPipeLinesCharts \
--set
replicas
=
${
replicas
}
echo
""
echo
"K8s environment Created Successfully !!!"
\ No newline at end of file
echo
"[
${
Environment
}
]K8s environment Created Successfully !!!"
\ No newline at end of file
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