This repository has been archived by the owner on Jun 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Redirect everything to kuberentes.core (#425)
Co-authored-by: Gonéri Le Bouder <[email protected]> Co-authored-by: Mike Graves <[email protected]>
- Loading branch information
1 parent
23a606c
commit 3fdfb03
Showing
142 changed files
with
270 additions
and
6,877 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,182 +33,182 @@ jobs: | |
run: make test-sanity PYTHON_VERSION=${{ matrix.python_version }} | ||
working-directory: ./ansible_collections/community/kubernetes | ||
|
||
integration: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
# Our old integration tests fail under newer Python versions. | ||
python_version: ['3.6'] | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v2 | ||
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 (devel branch) | ||
run: pip install https://github.com/ansible/ansible/archive/devel.tar.gz --disable-pip-version-check | ||
|
||
- name: Run integration tests on Python ${{ matrix.python_version }} | ||
run: make test-integration PYTHON_VERSION=${{ matrix.python_version }} | ||
working-directory: ./ansible_collections/community/kubernetes | ||
|
||
- name: Generate coverage report. | ||
run: ansible-test coverage xml -v --requirements --group-by command --group-by version | ||
working-directory: ./ansible_collections/community/kubernetes | ||
|
||
- uses: codecov/codecov-action@v1 | ||
with: | ||
fail_ci_if_error: false | ||
|
||
molecule: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python_version: ['3.7'] | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v2 | ||
with: | ||
path: ansible_collections/community/kubernetes | ||
|
||
- name: Set up KinD cluster | ||
uses: engineerd/[email protected] | ||
|
||
- name: Set up Python ${{ matrix.python_version }} | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: ${{ matrix.python_version }} | ||
|
||
# The 3.3.0 release of molecule introduced a breaking change. See | ||
# https://github.com/ansible-community/molecule/issues/3083 | ||
- name: Install molecule and openshift dependencies | ||
run: pip install ansible "molecule<3.3.0" yamllint openshift flake8 | ||
|
||
# The latest release doesn't work with Molecule currently. | ||
# See: https://github.com/ansible-community/molecule/issues/2757 | ||
# - name: Install ansible base, latest release. | ||
# run: | | ||
# pip uninstall -y ansible | ||
# pip install --pre ansible-base | ||
|
||
# The devel branch doesn't work with Molecule currently. | ||
# See: https://github.com/ansible-community/molecule/issues/2757 | ||
# - name: Install ansible base (devel branch) | ||
# run: | | ||
# pip uninstall -y ansible | ||
# pip install https://github.com/ansible/ansible/archive/devel.tar.gz --disable-pip-version-check | ||
|
||
- name: Create default collection path symlink | ||
run: | | ||
mkdir -p /home/runner/.ansible | ||
ln -s /home/runner/work/kubernetes/kubernetes /home/runner/.ansible/collections | ||
- name: Run molecule default test scenario | ||
run: make test-molecule | ||
working-directory: ./ansible_collections/community/kubernetes | ||
|
||
unit: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python_version: ['2.7', '3.7'] | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v2 | ||
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 (devel branch) | ||
run: pip install https://github.com/ansible/ansible/archive/devel.tar.gz --disable-pip-version-check | ||
|
||
- name: Run unit tests on Python ${{ matrix.python_version }} | ||
run: make test-unit PYTHON_VERSION=${{ matrix.python_version }} | ||
working-directory: ./ansible_collections/community/kubernetes | ||
|
||
downstream-sanity-29: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python_version: ['3.7'] | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v2 | ||
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 (devel branch) | ||
run: pip install "ansible>=2.9.0,<2.10.0" | ||
|
||
- name: Run sanity tests on Python ${{ matrix.python_version }} | ||
run: make downstream-test-sanity | ||
working-directory: ./ansible_collections/community/kubernetes | ||
|
||
downstream-integration-29: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
# Our old integration tests fail under newer Python versions. | ||
python_version: ['3.6'] | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v2 | ||
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 (devel branch) | ||
run: pip install "ansible>=2.9.0,<2.10.0" pip==20.3.1 | ||
|
||
- name: Run integration tests on Python ${{ matrix.python_version }} | ||
run: make downstream-test-integration | ||
working-directory: ./ansible_collections/community/kubernetes | ||
|
||
downstream-molecule-29: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python_version: ['3.7'] | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v2 | ||
with: | ||
path: ansible_collections/community/kubernetes | ||
|
||
- name: Set up KinD cluster | ||
uses: engineerd/[email protected] | ||
|
||
- name: Set up Python ${{ matrix.python_version }} | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: ${{ matrix.python_version }} | ||
|
||
- name: Install molecule and openshift dependencies | ||
run: pip install "ansible>=2.9.0,<2.10.0" "molecule<3.3.0" yamllint openshift flake8 | ||
|
||
- name: Create default collection path symlink | ||
run: | | ||
mkdir -p /home/runner/.ansible | ||
ln -s /home/runner/work/kubernetes/kubernetes /home/runner/.ansible/collections | ||
- name: Run molecule default test scenario | ||
run: make downstream-test-molecule | ||
working-directory: ./ansible_collections/community/kubernetes | ||
# integration: | ||
# runs-on: ubuntu-latest | ||
# strategy: | ||
# matrix: | ||
# # Our old integration tests fail under newer Python versions. | ||
# python_version: ['3.6'] | ||
# steps: | ||
# - name: Check out code | ||
# uses: actions/checkout@v2 | ||
# 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 (devel branch) | ||
# run: pip install https://github.com/ansible/ansible/archive/devel.tar.gz --disable-pip-version-check | ||
|
||
# - name: Run integration tests on Python ${{ matrix.python_version }} | ||
# run: make test-integration PYTHON_VERSION=${{ matrix.python_version }} | ||
# working-directory: ./ansible_collections/community/kubernetes | ||
|
||
# - name: Generate coverage report. | ||
# run: ansible-test coverage xml -v --requirements --group-by command --group-by version | ||
# working-directory: ./ansible_collections/community/kubernetes | ||
|
||
# - uses: codecov/codecov-action@v1 | ||
# with: | ||
# fail_ci_if_error: false | ||
|
||
# molecule: | ||
# runs-on: ubuntu-latest | ||
# strategy: | ||
# matrix: | ||
# python_version: ['3.7'] | ||
# steps: | ||
# - name: Check out code | ||
# uses: actions/checkout@v2 | ||
# with: | ||
# path: ansible_collections/community/kubernetes | ||
|
||
# - name: Set up KinD cluster | ||
# uses: engineerd/[email protected] | ||
|
||
# - name: Set up Python ${{ matrix.python_version }} | ||
# uses: actions/setup-python@v1 | ||
# with: | ||
# python-version: ${{ matrix.python_version }} | ||
|
||
# # The 3.3.0 release of molecule introduced a breaking change. See | ||
# # https://github.com/ansible-community/molecule/issues/3083 | ||
# - name: Install molecule and openshift dependencies | ||
# run: pip install ansible "molecule<3.3.0" yamllint openshift flake8 | ||
|
||
# # The latest release doesn't work with Molecule currently. | ||
# # See: https://github.com/ansible-community/molecule/issues/2757 | ||
# # - name: Install ansible base, latest release. | ||
# # run: | | ||
# # pip uninstall -y ansible | ||
# # pip install --pre ansible-base | ||
|
||
# # The devel branch doesn't work with Molecule currently. | ||
# # See: https://github.com/ansible-community/molecule/issues/2757 | ||
# # - name: Install ansible base (devel branch) | ||
# # run: | | ||
# # pip uninstall -y ansible | ||
# # pip install https://github.com/ansible/ansible/archive/devel.tar.gz --disable-pip-version-check | ||
|
||
# - name: Create default collection path symlink | ||
# run: | | ||
# mkdir -p /home/runner/.ansible | ||
# ln -s /home/runner/work/kubernetes/kubernetes /home/runner/.ansible/collections | ||
|
||
# - name: Run molecule default test scenario | ||
# run: make test-molecule | ||
# working-directory: ./ansible_collections/community/kubernetes | ||
|
||
# unit: | ||
# runs-on: ubuntu-latest | ||
# strategy: | ||
# matrix: | ||
# python_version: ['2.7', '3.7'] | ||
# steps: | ||
# - name: Check out code | ||
# uses: actions/checkout@v2 | ||
# 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 (devel branch) | ||
# run: pip install https://github.com/ansible/ansible/archive/devel.tar.gz --disable-pip-version-check | ||
|
||
# - name: Run unit tests on Python ${{ matrix.python_version }} | ||
# run: make test-unit PYTHON_VERSION=${{ matrix.python_version }} | ||
# working-directory: ./ansible_collections/community/kubernetes | ||
|
||
# downstream-sanity-29: | ||
# runs-on: ubuntu-latest | ||
# strategy: | ||
# matrix: | ||
# python_version: ['3.7'] | ||
# steps: | ||
# - name: Check out code | ||
# uses: actions/checkout@v2 | ||
# 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 (devel branch) | ||
# run: pip install "ansible>=2.9.0,<2.10.0" | ||
|
||
# - name: Run sanity tests on Python ${{ matrix.python_version }} | ||
# run: make downstream-test-sanity | ||
# working-directory: ./ansible_collections/community/kubernetes | ||
|
||
# downstream-integration-29: | ||
# runs-on: ubuntu-latest | ||
# strategy: | ||
# matrix: | ||
# # Our old integration tests fail under newer Python versions. | ||
# python_version: ['3.6'] | ||
# steps: | ||
# - name: Check out code | ||
# uses: actions/checkout@v2 | ||
# 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 (devel branch) | ||
# run: pip install "ansible>=2.9.0,<2.10.0" pip==20.3.1 | ||
|
||
# - name: Run integration tests on Python ${{ matrix.python_version }} | ||
# run: make downstream-test-integration | ||
# working-directory: ./ansible_collections/community/kubernetes | ||
|
||
# downstream-molecule-29: | ||
# runs-on: ubuntu-latest | ||
# strategy: | ||
# matrix: | ||
# python_version: ['3.7'] | ||
# steps: | ||
# - name: Check out code | ||
# uses: actions/checkout@v2 | ||
# with: | ||
# path: ansible_collections/community/kubernetes | ||
|
||
# - name: Set up KinD cluster | ||
# uses: engineerd/[email protected] | ||
|
||
# - name: Set up Python ${{ matrix.python_version }} | ||
# uses: actions/setup-python@v1 | ||
# with: | ||
# python-version: ${{ matrix.python_version }} | ||
|
||
# - name: Install molecule and openshift dependencies | ||
# run: pip install "ansible>=2.9.0,<2.10.0" "molecule<3.3.0" yamllint openshift flake8 | ||
|
||
# - name: Create default collection path symlink | ||
# run: | | ||
# mkdir -p /home/runner/.ansible | ||
# ln -s /home/runner/work/kubernetes/kubernetes /home/runner/.ansible/collections | ||
|
||
# - name: Run molecule default test scenario | ||
# run: make downstream-test-molecule | ||
# working-directory: ./ansible_collections/community/kubernetes |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.