mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-05-07 21:42:38 +00:00
Issue #2: python_requirements_info is not available in ansible-base.
This commit is contained in:
23
.github/workflows/ansible-test.yml
vendored
23
.github/workflows/ansible-test.yml
vendored
@@ -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:
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user