You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/README.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,19 +2,19 @@
2
2
3
3
## Files
4
4
5
-
auth.yaml: (template) create secrets for github and docker registry and create the service account
6
-
gitconfig: (template) data file for the gitconfig configmap. The config map is created by `kubectl create configmap promoteconfigmap --from-file=gitconfig`
5
+
-auth.yaml: (template) create secrets for github and docker registry and create the service account
6
+
-gitconfig: (template) data file for the gitconfig configmap. The config map is created by `kubectl create configmap promoteconfigmap --from-file=gitconfig`
7
7
8
-
promotesecret.yaml: (template) create an access token secret for the github repository
9
-
resources.yaml: (template) create pipeline resources for github and docker repository
8
+
-promotesecret.yaml: (template) create an access token secret for the github repository
9
+
-resources.yaml: (template) create pipeline resources for github and docker repository
10
10
11
-
build-task.yaml: create a build push task
12
-
servicepromote.yaml: (template)create a promote from service repo to env repo task
13
-
servicepromotepipeline.yaml: create a pipeline that executes build, push and promote
14
-
servicepromotepipelinerun.yaml: create a pipelinerun that executes the servicepromotepipeline
11
+
-build-task.yaml: create a build push task
12
+
-servicepromote.yaml: (template)create a promote from service repo to env repo task
13
+
-servicepromotepipeline.yaml: create a pipeline that executes build, push and promote
14
+
-servicepromotepipelinerun.yaml: create a pipelinerun that executes the servicepromotepipeline
15
15
16
-
promote.yaml: (template)create a promote from one env repo to another env repo task
17
-
promoterun.yaml: create a taskrun that execute promote task
16
+
-promote.yaml: (template)create a promote from one env repo to another env repo task
17
+
-promoterun.yaml: create a taskrun that execute promote task
18
18
19
19
## Build docker image with `service promote` command
20
20
@@ -28,9 +28,9 @@ promoterun.yaml: create a taskrun that execute promote task
28
28
29
29
- edit all yaml files marked as (template) and gitconfig file. `<xxx>` must be replaced with the real value
30
30
- create a new namespace e.g. `kubectl create ns promote`
31
-
- apply auth.yaml, promotesecret.yaml, resources.yaml, build-task.yaml, servicepromote.yaml and servicepromotepipelinerun.yaml in the namespace e.g. `kubectl -n <namespace> apply -f <yamlfilename>
31
+
- apply auth.yaml, promotesecret.yaml, resources.yaml, build-task.yaml, servicepromote.yaml and servicepromotepipeline.yaml in the namespace e.g. `kubectl apply -n <namespace> -f <yaml file name>`
32
32
- create a configmap by `kubectl create configmap promoteconfigmap --from-file=gitconfig -n <namespace>`
33
33
34
34
## Execute pipeline
35
35
36
-
- create the servicepromotepipelinerun by applying servicepromotepipelinerun.yaml e.g. `apply -n <namespace> apply -f servicepromotepipelinerun.yaml`
36
+
- create the servicepromotepipelinerun using the servicepromotepipelinerun.yaml e.g. `kubectl create -n <namespace> -f servicepromotepipelinerun.yaml`
0 commit comments