Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
floryut committed Oct 25, 2021
1 parent c2d4822 commit a5631f4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .gitlab-ci/packet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -241,16 +241,16 @@ packet_debian9-calico-upgrade-once:
MITOGEN_ENABLE: "false"

packet_ubuntu18-calico-ha-recover:
stage: deploy-part3
extends: .packet_periodic
stage: unit-tests
extends: .packet_pr
when: on_success
variables:
RECOVER_CONTROL_PLANE_TEST: "true"
RECOVER_CONTROL_PLANE_TEST_GROUPS: "etcd[2:],kube_control_plane[1:]"

packet_ubuntu18-calico-ha-recover-noquorum:
stage: deploy-part3
extends: .packet_periodic
stage: unit-tests
extends: .packet_pr
when: on_success
variables:
RECOVER_CONTROL_PLANE_TEST: "true"
Expand Down
5 changes: 5 additions & 0 deletions roles/recover_control_plane/control-plane/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@
msg: "Unable to delete broken kube_control_plane node: {{ item.item }}"
loop: "{{ delete_broken_kube_masters.results }}"
changed_when: false
ignore_errors: true
when:
- groups['broken_kube_control_plane']
- "item.rc != 0 and not 'NotFound' in item.stderr"

- name: Wait for debug
pause:
minutes: 30

0 comments on commit a5631f4

Please sign in to comment.