mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-06-23 15:48:04 -02:30
[release-2.31] Fix pre-commit ansible-core 2.18 (#13292)
* Fix pre-commit ansible-core 2.18 Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com> * Fix duplicated task name "Test version" Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com> --------- Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
This commit is contained in:
@@ -33,6 +33,7 @@ repos:
|
|||||||
hooks:
|
hooks:
|
||||||
- id: ansible-lint
|
- id: ansible-lint
|
||||||
additional_dependencies:
|
additional_dependencies:
|
||||||
|
- ansible-core>=2.18.0,<2.19.0
|
||||||
- jmespath==1.0.1
|
- jmespath==1.0.1
|
||||||
- netaddr==1.3.0
|
- netaddr==1.3.0
|
||||||
- distlib
|
- distlib
|
||||||
@@ -49,7 +50,7 @@ repos:
|
|||||||
name: Build and install kubernetes-sigs.kubespray Ansible collection
|
name: Build and install kubernetes-sigs.kubespray Ansible collection
|
||||||
language: python
|
language: python
|
||||||
additional_dependencies:
|
additional_dependencies:
|
||||||
- ansible-core>=2.16.4
|
- ansible-core>=2.18.0,<2.19.0
|
||||||
- distlib
|
- distlib
|
||||||
entry: tests/scripts/collection-build-install.sh
|
entry: tests/scripts/collection-build-install.sh
|
||||||
pass_filenames: false
|
pass_filenames: false
|
||||||
@@ -91,7 +92,7 @@ repos:
|
|||||||
name: Update static files referencing default kubespray values
|
name: Update static files referencing default kubespray values
|
||||||
language: python
|
language: python
|
||||||
additional_dependencies:
|
additional_dependencies:
|
||||||
- ansible-core>=2.16.4
|
- ansible-core>=2.18.0,<2.19.0
|
||||||
entry: scripts/propagate_ansible_variables.yml
|
entry: scripts/propagate_ansible_variables.yml
|
||||||
pass_filenames: false
|
pass_filenames: false
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
failed_when: >
|
failed_when: >
|
||||||
version is failed or
|
version is failed or
|
||||||
'kata-runtime' not in version.stdout
|
'kata-runtime' not in version.stdout
|
||||||
- name: Test version
|
- name: Test version check
|
||||||
command: "/opt/kata/bin/kata-runtime check"
|
command: "/opt/kata/bin/kata-runtime check"
|
||||||
register: check
|
register: check
|
||||||
failed_when: >
|
failed_when: >
|
||||||
|
|||||||
Reference in New Issue
Block a user