Skip to content

Commit ff43353

Browse files
authored
Remove molecule dependencies (#261)
Remove molecule dependencies SUMMARY Depends-on: ansible-collections/cloud.common#92 Molecule is overwriting the cloud.common dependency installed by zuul, which is causing issues with the CI job for turbo mode. We still need to find a way to test against the latest released version of cloud.common. ISSUE TYPE Bugfix Pull Request COMPONENT NAME ADDITIONAL INFORMATION Reviewed-by: Gonéri Le Bouder <[email protected]> Reviewed-by: None <None>
1 parent d6c06a2 commit ff43353

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

molecule/default/molecule.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,3 @@ scenario:
3333
- prepare
3434
- converge
3535
- verify
36-
dependency:
37-
name: galaxy
38-
options:
39-
requirements-file: requirements.yml

molecule/default/tasks/drain.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,17 @@
1111
kind: Namespace
1212
name: '{{ drain_namespace }}'
1313

14+
# It seems that the default ServiceAccount can take a bit to be created
15+
# right after a cluster is brought up. This can lead to the ServiceAccount
16+
# admission controller rejecting a Pod creation request because the
17+
# ServiceAccount does not yet exist.
18+
- name: Wait for default serviceaccount to be created
19+
k8s_info:
20+
kind: ServiceAccount
21+
name: default
22+
namespace: "{{ drain_namespace }}"
23+
wait: yes
24+
1425
- name: list cluster nodes
1526
k8s_info:
1627
kind: node

requirements.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)