forked from ansible-collections/kubernetes.core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from abikouo/test-release-2.4.1
Test release 2.4.1
- Loading branch information
Showing
115 changed files
with
1,298 additions
and
37 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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
name: black | ||
|
||
concurrency: | ||
group: '${{ github.workflow }} @ ${{ github.sha }}' | ||
cancel-in-progress: true | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- 'stable-*' | ||
pull_request_target: | ||
|
||
jobs: | ||
format: | ||
uses: abikouo/github_actions/.github/workflows/black.yml@automate_changes_a |
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 |
---|---|---|
@@ -0,0 +1,167 @@ | ||
name: CI | ||
concurrency: | ||
group: ${{ github.head_ref }} | ||
cancel-in-progress: true | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- reopened | ||
- labeled | ||
- unlabeled | ||
- synchronize | ||
branches: | ||
- main | ||
- stable-* | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
changelog: | ||
uses: ansible-network/github_actions/.github/workflows/changelog.yml@main | ||
linters: | ||
uses: abikouo/github_actions/.github/workflows/tox-linters.yml@tox_linters | ||
splitter: | ||
env: | ||
source_dir: "./source" | ||
runs-on: ubuntu-latest | ||
outputs: | ||
test_targets: ${{ steps.display.outputs.test_targets }} | ||
steps: | ||
- name: Checkout the collection repository | ||
uses: actions/checkout@v3 | ||
with: | ||
path: ${{ env.source_dir }} | ||
fetch-depth: "0" | ||
|
||
- name: list changes for pull request | ||
id: splitter | ||
uses: ansible-network/github_actions/.github/actions/ansible_test_splitter@main | ||
with: | ||
collections_to_test: ${{ env.source_dir }} | ||
total_jobs: 8 | ||
|
||
- name: display targets | ||
id: display | ||
run: echo "test_targets=${{ steps.splitter.outputs.test_targets }}" >> $GITHUB_OUTPUT | ||
shell: bash | ||
|
||
integration: | ||
needs: | ||
- splitter | ||
env: | ||
source: "./source" | ||
cloud_common: "./cloudcommon" | ||
ansible_posix: "./ansible_posix" | ||
test_targets: ${{ needs.splitter.outputs.test_targets }} | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 60 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ansible-version: | ||
- stable-2.12 | ||
- milestone | ||
- devel | ||
python-version: | ||
- "3.8" | ||
- "3.9" | ||
exclude: | ||
- ansible-version: stable-2.9 | ||
python-version: 3.9 | ||
- ansible-version: stable-2.9 | ||
python-version: 3.10 | ||
- ansible-version: stable-2.9 | ||
python-version: 3.11 | ||
- ansible-version: stable-2.12 | ||
python-version: 3.11 | ||
- ansible-version: stable-2.13 | ||
python-version: 3.11 | ||
- ansible-version: stable-2.14 | ||
python-version: 3.8 | ||
- ansible-version: stable-2.15 | ||
python-version: 3.8 | ||
- ansible-version: milestone | ||
python-version: 3.8 | ||
- ansible-version: devel | ||
python-version: 3.8 | ||
enable-turbo-mode: | ||
- true | ||
- false | ||
job-index: [1, 2, 3, 4, 5, 6, 7, 8] | ||
name: "integration-py${{ matrix.python-version }}-${{ matrix.ansible-version }}-turbo-mode=${{ matrix.enable-turbo-mode }}-${{ matrix.job-index }}" | ||
steps: | ||
- name: Read ansible-test targets | ||
id: read-targets | ||
run: >- | ||
echo "ansible_test_targets=$(echo "${{ env.test_targets }}" | sed s/';'/'\n'/g | | ||
grep "kubernetes.core-${{ matrix.job-index }}" | cut -d ':' -f2 | sed s/','/' '/g)" >> $GITHUB_OUTPUT | ||
shell: bash | ||
|
||
- name: Display targets | ||
run: >- | ||
echo "targets to test: $ANSIBLE_TARGETS" | ||
shell: bash | ||
env: | ||
ANSIBLE_TARGETS: ${{ steps.read-targets.outputs.ansible_test_targets }} | ||
|
||
- name: Checkout kubernetes.core repository | ||
uses: actions/checkout@v3 | ||
with: | ||
path: ${{ env.source }} | ||
fetch-depth: "0" | ||
if: steps.read-targets.outputs.ansible_test_targets != '' | ||
|
||
- name: checkout ansible-collections/cloud.common | ||
uses: ansible-network/github_actions/.github/actions/checkout_dependency@main | ||
with: | ||
repository: ansible-collections/cloud.common | ||
path: ${{ env.cloud_common }} | ||
ref: main | ||
if: steps.read-targets.outputs.ansible_test_targets != '' | ||
|
||
- name: checkout ansible-collections/ansible.posix | ||
uses: ansible-network/github_actions/.github/actions/checkout_dependency@main | ||
with: | ||
repository: ansible-collections/ansible.posix | ||
path: ${{ env.ansible_posix }} | ||
ref: main | ||
if: steps.read-targets.outputs.ansible_test_targets != '' | ||
|
||
- name: install kubernetes.core collection | ||
id: install-collection | ||
uses: abikouo/github_actions/.github/actions/build_install_collection@build_install_collection | ||
with: | ||
install_python_dependencies: true | ||
source_path: ${{ env.source }} | ||
if: steps.read-targets.outputs.ansible_test_targets != '' | ||
|
||
- name: install cloud.common collection | ||
uses: abikouo/github_actions/.github/actions/build_install_collection@build_install_collection | ||
with: | ||
install_python_dependencies: true | ||
source_path: ${{ env.cloud_common }} | ||
if: steps.read-targets.outputs.ansible_test_targets != '' | ||
|
||
- name: install ansible.posix collection | ||
uses: abikouo/github_actions/.github/actions/build_install_collection@build_install_collection | ||
with: | ||
install_python_dependencies: true | ||
source_path: ${{ env.ansible_posix }} | ||
if: steps.read-targets.outputs.ansible_test_targets != '' | ||
|
||
- name: create kubernetes cluster | ||
uses: helm/kind-action@v1.4.0 | ||
if: steps.read-targets.outputs.ansible_test_targets != '' | ||
|
||
- name: Run integration tests | ||
uses: abikouo/github_actions/.github/actions/ansible_test_integration@ansible_test_integration_a | ||
with: | ||
collection_path: ${{ steps.install-collection.outputs.collection_path }} | ||
python_version: ${{ matrix.python-version }} | ||
ansible_version: ${{ matrix.ansible-version }} | ||
ansible_test_targets: ${{ steps.read-targets.outputs.ansible_test_targets }} | ||
ansible_test_environment: | | ||
ENABLE_TURBO_MODE=${{ matrix.enable-turbo-mode }} | ||
if: steps.read-targets.outputs.ansible_test_targets != '' |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
deprecated_features: | ||
- k8s - the ``k8s`` inventory plugin has been deprecated and will be removed in release 4.0.0 (https://github.com/ansible-collections/kubernetes.core/issues/31). |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
minor_changes: | ||
- k8s - add new option delete_all to support deletion of all resources when state is set to absent. (https://github.com/ansible-collections/kubernetes.core/issues/504) |
3 changes: 3 additions & 0 deletions
3
changelogs/fragments/575-helm-add-support-for-reuse_values-and-reset_values.yml
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
minor_changes: | ||
- helm - add reuse_values and reset_values support to helm module (https://github.com/ansible-collections/kubernetes.core/issues/394). |
3 changes: 3 additions & 0 deletions
3
changelogs/fragments/579-k8s_scale-fix-issue-with-scaling-statefulsets.yml
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
bugfixes: | ||
- k8s_scale - fix issue when scaling StatefulSets with updateStrategy=OnDelete (https://github.com/ansible-collections/kubernetes.core/issues/579). |
3 changes: 3 additions & 0 deletions
3
changelogs/fragments/583-k8s_scale-clean-handling-of-ResourceTimeout-exception.yaml
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
bugfixes: | ||
- k8s_scale - clean handling of ResourceTimeout exception (https://github.com/ansible-collections/kubernetes.core/issues/583). |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
bugfixes: | ||
- helm - fix post_renderer argument breaking the helm deploy_command (https://github.com/ansible-collections/kubernetes.core/pull/586). |
3 changes: 3 additions & 0 deletions
3
changelogs/fragments/588-helm-use-post-renderer-for-helmdiff.yml
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
bugfixes: | ||
- helm - use post_renderer when checking 'changed' status for a helm release (https://github.com/ansible-collections/kubernetes.core/pull/588). |
3 changes: 3 additions & 0 deletions
3
...gs/fragments/589-helm-uninstall-chart-releases-with-statuses-different-than-deployed.yaml
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
bugfixes: | ||
- helm - fix issue occurring when uninstalling chart with statues others than 'deployed' (https://github.com/ansible-collections/kubernetes.core/issues/319). |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
trivial: | ||
- add dependency with `install_helm` for `helm_set_values` and `helm_kubeconfig` integration tests (https://github.com/ansible-collections/kubernetes.core/pull/612). |
3 changes: 3 additions & 0 deletions
3
...gelogs/fragments/helm-delete-temporary-file-created-when-using-option-release_values.yaml
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
bugfixes: | ||
- helm - delete temporary file created when deploying chart with option release_values set (https://github.com/ansible-collections/kubernetes.core/issues/530). |
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
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
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
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
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
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
Oops, something went wrong.