generated from ansible-collections/collection_template
-
Notifications
You must be signed in to change notification settings - Fork 143
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-2.4] fix(Collection's util resourc…
…e discovery fails when complex subresources present #659) (#688) * update node image * fix(Collection's util resource discovery fails when complex subresources present #659) * fix(add changelog fragment) * Create discovery.yml * Update main.yml * Backport PR659 * fix sanity issues --------- Co-authored-by: Bastien Bosser <[email protected]>
- Loading branch information
Showing
10 changed files
with
51 additions
and
233 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 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 was deleted.
Oops, something went wrong.