Issue #2: python_requirements_info is not available in ansible-base.

This commit is contained in:
Jeff Geerling
2020-01-30 14:20:37 -06:00
parent 828b3ea123
commit 48b4c3be54
4 changed files with 39 additions and 13 deletions

View File

@@ -3,6 +3,29 @@ on:
- pull_request
jobs:
sanity:
runs-on: ubuntu-latest
strategy:
matrix:
python_version: ["3.6"]
steps:
- name: Check out code
uses: actions/checkout@v1
with:
path: ansible_collections/community/kubernetes
- name: Set up Python ${{ matrix.python_version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python_version }}
- name: Install ansible-base
run: pip install git+https://github.com/ansible-collection-migration/ansible-base.git --disable-pip-version-check
- name: Run sanity tests on Python ${{ matrix.python_version }}
run: ansible-test sanity --docker -v --color --python ${{ matrix.python_version }}
integration:
runs-on: ubuntu-latest
strategy:

View File

@@ -1,8 +1,9 @@
- block:
- python_requirements_info:
dependencies:
- openshift
- kubernetes
# TODO: Not available in ansible-base
# - python_requirements_info:
# dependencies:
# - openshift
# - kubernetes
- set_fact:
apply_namespace: apply

View File

@@ -1,7 +1,8 @@
- python_requirements_info:
dependencies:
- openshift==0.6.0
- kubernetes==6.0.0
# TODO: Not available in ansible-base
# - python_requirements_info:
# dependencies:
# - openshift==0.6.0
# - kubernetes==6.0.0
# append_hash
- name: use append_hash with ConfigMap

View File

@@ -1,8 +1,9 @@
- python_requirements_info:
dependencies:
- openshift
- kubernetes
- kubernetes-validate
# TODO: Not available in ansible-base
# - python_requirements_info:
# dependencies:
# - openshift
# - kubernetes
# - kubernetes-validate
- k8s:
definition: