diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6b5a0c63..17c888e6 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -24,18 +24,11 @@ jobs: - name: Install Dependencies run: | - pip install \ - "molecule<3.5" \ - molecule-docker \ - yamllint \ - ansible-lint \ - openshift \ - jmespath \ - ansible-core + pip install -r molecule/requirements.txt - name: Install Collections run: | - ansible-galaxy collection install community.general kubernetes.core:1.2.1 operator_sdk.util community.docker + ansible-galaxy collection install -r molecule/requirements.yml - name: Run Molecule env: diff --git a/molecule/requirements.txt b/molecule/requirements.txt new file mode 100644 index 00000000..19c52a8b --- /dev/null +++ b/molecule/requirements.txt @@ -0,0 +1,7 @@ +molecule +molecule-docker +yamllint +ansible-lint +openshift +jmespath +ansible-core diff --git a/molecule/requirements.yml b/molecule/requirements.yml new file mode 100644 index 00000000..d1eb52a5 --- /dev/null +++ b/molecule/requirements.yml @@ -0,0 +1,8 @@ +--- +collections: + - name: community.general + - name: kubernetes.core + version: 1.2.1 + - name: operator_sdk.util + - name: community.docker + - name: awx.awx