generated from ansible-collections/collection_template
-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PR #676/19559892 backport][stable-3] fix(Collection's util resource …
…discovery fails when complex subresources present #659) (#687) * fix(Collection's util resource discovery fails when complex subresources present #659) (#676) * fix(Collection's util resource discovery fails when complex subresources present #659) * fix(add changelog fragment) * update node image * Create discovery.yml * Update main.yml --------- Co-authored-by: Bastien Bosser <[email protected]> Co-authored-by: Bikouo Aubin <[email protected]> (cherry picked from commit 1955989) * adding sanity ignore file * Remove refresh_ignore_files * Update ignore files content --------- Co-authored-by: bastienbosser <[email protected]> Co-authored-by: abikouo <[email protected]>
- Loading branch information
1 parent
e756ced
commit d3031fc
Showing
15 changed files
with
44 additions
and
2,113 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 |
---|---|---|
|
@@ -132,6 +132,8 @@ jobs: | |
|
||
- name: create kubernetes cluster | ||
uses: helm/[email protected] | ||
with: | ||
node_image: "kindest/node:v1.29.2" | ||
|
||
- name: Run integration tests | ||
uses: ansible-network/github_actions/.github/actions/ansible_test_integration@main | ||
|
3 changes: 3 additions & 0 deletions
3
.../20240222-Collections-util-resource-discovery-fails-when-complex-subresources-present.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: | ||
- Resolve Collections util resource discovery fails when complex subresources present (https://github.com/ansible-collections/kubernetes.core/pull/676). |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
# Testing fix for issue https://github.com/ansible-collections/kubernetes.core/pull/676 | ||
- vars: | ||
kubevirt_release: "v1.1.1" | ||
block: | ||
- name: Delete existing namespace | ||
kubernetes.core.k8s: | ||
kind: namespace | ||
namespace: kubevirt | ||
state: absent | ||
|
||
- name: Create kubevirt resources | ||
kubernetes.core.k8s: | ||
state: present | ||
apply: true | ||
src: "{{ item }}" | ||
with_items: | ||
- "https://github.com/kubevirt/kubevirt/releases/download/{{ kubevirt_release }}/kubevirt-operator.yaml" | ||
- "https://github.com/kubevirt/kubevirt/releases/download/{{ kubevirt_release }}/kubevirt-cr.yaml" | ||
|
||
- name: Read kubevirt Deployment | ||
k8s_info: | ||
kind: Deployment | ||
namespace: kubevirt | ||
always: | ||
- name: Delete existing namespace | ||
kubernetes.core.k8s: | ||
kind: namespace | ||
namespace: kubevirt | ||
state: absent | ||
wait: true | ||
ignore_errors: true |
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 |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
with_items: | ||
- wait | ||
- api-server-caching | ||
- discovery |
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 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
15 changes: 5 additions & 10 deletions
15
tests/sanity/ignore-2.6.txt → tests/sanity/ignore-2.17.txt
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.