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 - pull_request
jobs: 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: integration:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:

View File

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

View File

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

View File

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