Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

Commit

Permalink
Redirect everything to kuberentes.core (#425)
Browse files Browse the repository at this point in the history
Co-authored-by: Gonéri Le Bouder <[email protected]>
Co-authored-by: Mike Graves <[email protected]>
  • Loading branch information
3 people authored Jun 11, 2021
1 parent 23a606c commit 3fdfb03
Show file tree
Hide file tree
Showing 142 changed files with 270 additions and 6,877 deletions.
358 changes: 179 additions & 179 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 0 additions & 3 deletions changelogs/fragments/100-k8s_scale-fix-wait.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/102-dont-require-codecov-check-prs.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/103-fix-inventory-docs-structure.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/105-improved-k8s-diffs.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions changelogs/fragments/106-helm_replace.yml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/107-action-groups-module_defaults.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/110-helm-minor-refactor.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/114-minor-docs-fixes.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/115-helm-add-atomic.yaml

This file was deleted.

Loading

0 comments on commit 3fdfb03

Please sign in to comment.