|
156 | 156 | --from-file=.dockerconfigjson=pull-secret.json |
157 | 157 | tags: pull-secret |
158 | 158 |
|
| 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 | + |
159 | 173 | - name: Deploy openstack operators |
160 | 174 | shell: |
161 | 175 | cmd: | |
|
166 | 180 | make input |
167 | 181 | make openstack_wait 2>&1 | tee make_openstack.log |
168 | 182 | 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 |
170 | 185 | sleep 20 |
171 | | - TIMEOUT=600s DATAPLANE_TOTAL_NODES=1 make edpm_wait_deploy |
| 186 | + TIMEOUT=800s DATAPLANE_TOTAL_NODES=1 make edpm_wait_deploy |
172 | 187 |
|
| 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"}]" |
173 | 190 | oc get csv -n openstack-operators octavia-operator.v0.0.1 -o json | \ |
174 | 191 | jq -r 'del(.metadata.generation, .metadata.resourceVersion, .metadata.uid)' > operator_csv.json |
175 | 192 | sleep 10 |
|
189 | 206 | chdir: "~/install_yamls" |
190 | 207 | tags: crc |
191 | 208 |
|
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 | | - |
206 | 209 | - name: Install delve debugger |
207 | 210 | command: go install github.com/go-delve/delve/cmd/dlv@latest |
208 | 211 | tags: config |
|
0 commit comments