Skip to content

Commit

Permalink
Remove molecule dependencies (ansible-collections#261)
Browse files Browse the repository at this point in the history
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 <goneri@lebouder.net>
Reviewed-by: None <None>
(cherry picked from commit ff43353)
  • Loading branch information
gravesm committed Oct 13, 2021
1 parent 70db517 commit 4909c5a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
4 changes: 0 additions & 4 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,3 @@ scenario:
- prepare
- converge
- verify
dependency:
name: galaxy
options:
requirements-file: requirements.yml
11 changes: 11 additions & 0 deletions molecule/default/tasks/drain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,17 @@
kind: Namespace
name: '{{ drain_namespace }}'

# It seems that the default ServiceAccount can take a bit to be created
# right after a cluster is brought up. This can lead to the ServiceAccount
# admission controller rejecting a Pod creation request because the
# ServiceAccount does not yet exist.
- name: Wait for default serviceaccount to be created
k8s_info:
kind: ServiceAccount
name: default
namespace: "{{ drain_namespace }}"
wait: yes

- name: list cluster nodes
k8s_info:
kind: node
Expand Down
3 changes: 0 additions & 3 deletions requirements.yml

This file was deleted.

0 comments on commit 4909c5a

Please sign in to comment.