Skip to content

Commit cc6ad52

Browse files
committed
Various fixes
1 parent 9d4a647 commit cc6ad52

File tree

1 file changed

+19
-16
lines changed
  • install_yamls_setup/roles/podified_cp/tasks

1 file changed

+19
-16
lines changed

install_yamls_setup/roles/podified_cp/tasks/main.yaml

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,20 @@
156156
--from-file=.dockerconfigjson=pull-secret.json
157157
tags: pull-secret
158158

159+
- name: Add exports to .bashrc
160+
lineinfile:
161+
path: ~/.bashrc
162+
line: "{{ item }}"
163+
with_items:
164+
- export GOPATH=$HOME/go
165+
- export PATH=$PATH:~/bin:$GOPATH/bin:~/.crc/bin/oc
166+
- export OS_CLOUD=default
167+
- export OS_PASSWORD=12345678
168+
- export EDPM_COMPUTE_CEPH_ENABLED=false
169+
- export BMO_SETUP=false
170+
- export KUBECONFIG=~/.kube/config
171+
tags: config
172+
159173
- name: Deploy openstack operators
160174
shell:
161175
cmd: |
@@ -166,10 +180,13 @@
166180
make input
167181
make openstack_wait 2>&1 | tee make_openstack.log
168182
sleep 20
169-
TIMEOUT=600s make openstack_wait_deploy 2>&1 | tee make_openstack_deploy.log
183+
TIMEOUT=800s make openstack_wait_deploy 2>&1 | \
184+
tee make_openstack_deploy.log
170185
sleep 20
171-
TIMEOUT=600s DATAPLANE_TOTAL_NODES=1 make edpm_wait_deploy
186+
TIMEOUT=800s DATAPLANE_TOTAL_NODES=1 make edpm_wait_deploy
172187
188+
oc patch csv -n openstack-operators octavia-operator.v0.0.1 --type json \
189+
-p="[{"op": "replace", "path": "/spec/install/spec/deployments/0/spec/replicas", "value": "0"}]"
173190
oc get csv -n openstack-operators octavia-operator.v0.0.1 -o json | \
174191
jq -r 'del(.metadata.generation, .metadata.resourceVersion, .metadata.uid)' > operator_csv.json
175192
sleep 10
@@ -189,20 +206,6 @@
189206
chdir: "~/install_yamls"
190207
tags: crc
191208

192-
- name: Add exports to .bashrc
193-
lineinfile:
194-
path: ~/.bashrc
195-
line: "{{ item }}"
196-
with_items:
197-
- export GOPATH=$HOME/go
198-
- export PATH=$PATH:$GOPATH/bin:~/.crc/bin/oc
199-
- export OS_CLOUD=default
200-
- export OS_PASSWORD=12345678
201-
- export EDPM_COMPUTE_CEPH_ENABLED=false
202-
- export BMO_SETUP=false
203-
- export KUBECONFIG=~/.kube/config
204-
tags: config
205-
206209
- name: Install delve debugger
207210
command: go install github.com/go-delve/delve/cmd/dlv@latest
208211
tags: config

0 commit comments

Comments
 (0)