File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ def jobs():
42
42
"containers" : [
43
43
{
44
44
"name" : name ,
45
- "image" : "openshift/ perl" + ":" + tag ,
45
+ "image" : "perl" + ":" + tag ,
46
46
"imagePullPolicy" : "IfNotPresent" ,
47
47
"command" : [
48
48
"perl" ,
Original file line number Diff line number Diff line change 5
5
tasks :
6
6
- name : Clean up old project
7
7
command : oc delete all --selector app={{project_name}}
8
- - name : Delete secrets
8
+ - name : Delete project secrets
9
9
command : oc delete secret --selector app={{project_name}}
10
+ - name : Delete docker config secrets
11
+ command : oc delete secret docker-private
10
12
- name : Create new App
11
13
command : oc new-app openshift/templates/flask.yaml -p SOURCE_REPOSITORY_URL=https://github.com/Jimmyscene/django-ex.git
12
14
- name : Give edit permissions to default sa
13
15
command : oc policy add-role-to-user edit -z default
16
+ - name : Add docker config
17
+ command : oc secrets new docker-private .dockerconfigjson=$HOME/.docker/config.json
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ objects:
130
130
timeoutSeconds : 3
131
131
initialDelaySeconds : 3
132
132
httpGet :
133
- path : " /"
133
+ path : " /healthz "
134
134
port : 5000
135
135
livenessProbe :
136
136
timeoutSeconds : 3
You can’t perform that action at this time.
0 commit comments