mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-03-26 21:33:02 +00:00
CI - increase the number of integration workflow (#620)
enable profile_tasks callback plugin for integration tests targets
This commit is contained in:
36
.github/workflows/ci.yml
vendored
36
.github/workflows/ci.yml
vendored
@@ -40,25 +40,27 @@ jobs:
|
||||
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.9
|
||||
- stable-2.10
|
||||
- stable-2.12
|
||||
- milestone
|
||||
- devel
|
||||
@@ -87,13 +89,9 @@ jobs:
|
||||
enable-turbo-mode:
|
||||
- true
|
||||
- false
|
||||
job-index:
|
||||
- 1
|
||||
- 2
|
||||
- 3
|
||||
name: "kubernetes.core-py${{ matrix.python-version }}-${{ matrix.ansible-version }}-turbo-mode=${{ matrix.enable-turbo-mode }}-${{ matrix.job-index }}"
|
||||
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:
|
||||
# could read collection name using $(yq -r '.namespace' galaxy.yml).$(yq -r '.name' galaxy.yml)
|
||||
- name: Read ansible-test targets
|
||||
id: read-targets
|
||||
run: >-
|
||||
@@ -101,6 +99,13 @@ jobs:
|
||||
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:
|
||||
@@ -116,6 +121,14 @@ jobs:
|
||||
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
|
||||
@@ -131,6 +144,13 @@ jobs:
|
||||
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 != ''
|
||||
|
||||
@@ -5,3 +5,4 @@ pytest
|
||||
pytest-xdist
|
||||
pytest-mock
|
||||
pytest-forked
|
||||
virtualenv
|
||||
|
||||
7
tests/integration/targets/helm/playbook.yaml
Normal file
7
tests/integration/targets/helm/playbook.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
- connection: local
|
||||
gather_facts: true
|
||||
hosts: localhost
|
||||
|
||||
roles:
|
||||
- helm
|
||||
5
tests/integration/targets/helm/runme.sh
Executable file
5
tests/integration/targets/helm/runme.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eux
|
||||
export ANSIBLE_CALLBACKS_ENABLED=profile_tasks
|
||||
export ANSIBLE_ROLES_PATH=../
|
||||
ansible-playbook playbook.yaml "$@"
|
||||
7
tests/integration/targets/helm_diff/playbook.yaml
Normal file
7
tests/integration/targets/helm_diff/playbook.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
- connection: local
|
||||
gather_facts: true
|
||||
hosts: localhost
|
||||
|
||||
roles:
|
||||
- helm_diff
|
||||
5
tests/integration/targets/helm_diff/runme.sh
Executable file
5
tests/integration/targets/helm_diff/runme.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eux
|
||||
export ANSIBLE_CALLBACKS_ENABLED=profile_tasks
|
||||
export ANSIBLE_ROLES_PATH=../
|
||||
ansible-playbook playbook.yaml "$@"
|
||||
7
tests/integration/targets/helm_kubeconfig/playbook.yaml
Normal file
7
tests/integration/targets/helm_kubeconfig/playbook.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
- connection: local
|
||||
gather_facts: true
|
||||
hosts: localhost
|
||||
|
||||
roles:
|
||||
- helm_kubeconfig
|
||||
5
tests/integration/targets/helm_kubeconfig/runme.sh
Executable file
5
tests/integration/targets/helm_kubeconfig/runme.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eux
|
||||
export ANSIBLE_CALLBACKS_ENABLED=profile_tasks
|
||||
export ANSIBLE_ROLES_PATH=../
|
||||
ansible-playbook playbook.yaml "$@"
|
||||
7
tests/integration/targets/helm_plugin/playbook.yaml
Normal file
7
tests/integration/targets/helm_plugin/playbook.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
- connection: local
|
||||
gather_facts: true
|
||||
hosts: localhost
|
||||
|
||||
roles:
|
||||
- helm_plugin
|
||||
5
tests/integration/targets/helm_plugin/runme.sh
Executable file
5
tests/integration/targets/helm_plugin/runme.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eux
|
||||
export ANSIBLE_CALLBACKS_ENABLED=profile_tasks
|
||||
export ANSIBLE_ROLES_PATH=../
|
||||
ansible-playbook playbook.yaml "$@"
|
||||
7
tests/integration/targets/helm_pull/playbook.yaml
Normal file
7
tests/integration/targets/helm_pull/playbook.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
- connection: local
|
||||
gather_facts: true
|
||||
hosts: localhost
|
||||
|
||||
roles:
|
||||
- helm_pull
|
||||
5
tests/integration/targets/helm_pull/runme.sh
Executable file
5
tests/integration/targets/helm_pull/runme.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eux
|
||||
export ANSIBLE_CALLBACKS_ENABLED=profile_tasks
|
||||
export ANSIBLE_ROLES_PATH=../
|
||||
ansible-playbook playbook.yaml "$@"
|
||||
7
tests/integration/targets/helm_repository/playbook.yaml
Normal file
7
tests/integration/targets/helm_repository/playbook.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
- connection: local
|
||||
gather_facts: true
|
||||
hosts: localhost
|
||||
|
||||
roles:
|
||||
- helm_repository
|
||||
5
tests/integration/targets/helm_repository/runme.sh
Executable file
5
tests/integration/targets/helm_repository/runme.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eux
|
||||
export ANSIBLE_CALLBACKS_ENABLED=profile_tasks
|
||||
export ANSIBLE_ROLES_PATH=../
|
||||
ansible-playbook playbook.yaml "$@"
|
||||
7
tests/integration/targets/helm_set_values/playbook.yaml
Normal file
7
tests/integration/targets/helm_set_values/playbook.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
- connection: local
|
||||
gather_facts: true
|
||||
hosts: localhost
|
||||
|
||||
roles:
|
||||
- helm_set_values
|
||||
5
tests/integration/targets/helm_set_values/runme.sh
Executable file
5
tests/integration/targets/helm_set_values/runme.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eux
|
||||
export ANSIBLE_CALLBACKS_ENABLED=profile_tasks
|
||||
export ANSIBLE_ROLES_PATH=../
|
||||
ansible-playbook playbook.yaml "$@"
|
||||
@@ -8,6 +8,7 @@ USER_CREDENTIALS_DIR=$(pwd)
|
||||
ansible-playbook playbooks/delete_resources.yml -e "user_credentials_dir=${USER_CREDENTIALS_DIR}" "$@"
|
||||
|
||||
{
|
||||
export ANSIBLE_CALLBACKS_ENABLED=profile_tasks
|
||||
export ANSIBLE_INVENTORY_ENABLED=kubernetes.core.k8s,yaml
|
||||
export ANSIBLE_PYTHON_INTERPRETER=auto_silent
|
||||
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- connection: local
|
||||
gather_facts: false
|
||||
hosts: localhost
|
||||
roles:
|
||||
- k8s_access_review
|
||||
5
tests/integration/targets/k8s_access_review/runme.sh
Executable file
5
tests/integration/targets/k8s_access_review/runme.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eux
|
||||
export ANSIBLE_CALLBACKS_ENABLED=profile_tasks
|
||||
export ANSIBLE_ROLES_PATH=../
|
||||
ansible-playbook playbook.yaml "$@"
|
||||
6
tests/integration/targets/k8s_append_hash/playbook.yaml
Normal file
6
tests/integration/targets/k8s_append_hash/playbook.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- connection: local
|
||||
gather_facts: false
|
||||
hosts: localhost
|
||||
roles:
|
||||
- k8s_append_hash
|
||||
5
tests/integration/targets/k8s_append_hash/runme.sh
Executable file
5
tests/integration/targets/k8s_append_hash/runme.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eux
|
||||
export ANSIBLE_CALLBACKS_ENABLED=profile_tasks
|
||||
export ANSIBLE_ROLES_PATH=../
|
||||
ansible-playbook playbook.yaml "$@"
|
||||
6
tests/integration/targets/k8s_apply/playbook.yaml
Normal file
6
tests/integration/targets/k8s_apply/playbook.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- connection: local
|
||||
gather_facts: false
|
||||
hosts: localhost
|
||||
roles:
|
||||
- k8s_apply
|
||||
5
tests/integration/targets/k8s_apply/runme.sh
Executable file
5
tests/integration/targets/k8s_apply/runme.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eux
|
||||
export ANSIBLE_CALLBACKS_ENABLED=profile_tasks
|
||||
export ANSIBLE_ROLES_PATH=../
|
||||
ansible-playbook playbook.yaml "$@"
|
||||
6
tests/integration/targets/k8s_check_mode/playbook.yaml
Normal file
6
tests/integration/targets/k8s_check_mode/playbook.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- connection: local
|
||||
gather_facts: false
|
||||
hosts: localhost
|
||||
roles:
|
||||
- k8s_check_mode
|
||||
5
tests/integration/targets/k8s_check_mode/runme.sh
Executable file
5
tests/integration/targets/k8s_check_mode/runme.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eux
|
||||
export ANSIBLE_CALLBACKS_ENABLED=profile_tasks
|
||||
export ANSIBLE_ROLES_PATH=../
|
||||
ansible-playbook playbook.yaml "$@"
|
||||
6
tests/integration/targets/k8s_cluster_info/playbook.yaml
Normal file
6
tests/integration/targets/k8s_cluster_info/playbook.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- connection: local
|
||||
gather_facts: false
|
||||
hosts: localhost
|
||||
roles:
|
||||
- k8s_cluster_info
|
||||
5
tests/integration/targets/k8s_cluster_info/runme.sh
Executable file
5
tests/integration/targets/k8s_cluster_info/runme.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eux
|
||||
export ANSIBLE_CALLBACKS_ENABLED=profile_tasks
|
||||
export ANSIBLE_ROLES_PATH=../
|
||||
ansible-playbook playbook.yaml "$@"
|
||||
6
tests/integration/targets/k8s_copy/playbook.yaml
Normal file
6
tests/integration/targets/k8s_copy/playbook.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- connection: local
|
||||
gather_facts: false
|
||||
hosts: localhost
|
||||
roles:
|
||||
- k8s_copy
|
||||
5
tests/integration/targets/k8s_copy/runme.sh
Executable file
5
tests/integration/targets/k8s_copy/runme.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eux
|
||||
export ANSIBLE_CALLBACKS_ENABLED=profile_tasks
|
||||
export ANSIBLE_ROLES_PATH=../
|
||||
ansible-playbook playbook.yaml "$@"
|
||||
6
tests/integration/targets/k8s_crd/playbook.yaml
Normal file
6
tests/integration/targets/k8s_crd/playbook.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- connection: local
|
||||
gather_facts: false
|
||||
hosts: localhost
|
||||
roles:
|
||||
- k8s_crd
|
||||
5
tests/integration/targets/k8s_crd/runme.sh
Executable file
5
tests/integration/targets/k8s_crd/runme.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eux
|
||||
export ANSIBLE_CALLBACKS_ENABLED=profile_tasks
|
||||
export ANSIBLE_ROLES_PATH=../
|
||||
ansible-playbook playbook.yaml "$@"
|
||||
6
tests/integration/targets/k8s_delete/playbook.yaml
Normal file
6
tests/integration/targets/k8s_delete/playbook.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- connection: local
|
||||
gather_facts: false
|
||||
hosts: localhost
|
||||
roles:
|
||||
- k8s_delete
|
||||
5
tests/integration/targets/k8s_delete/runme.sh
Executable file
5
tests/integration/targets/k8s_delete/runme.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eux
|
||||
export ANSIBLE_CALLBACKS_ENABLED=profile_tasks
|
||||
export ANSIBLE_ROLES_PATH=../
|
||||
ansible-playbook playbook.yaml "$@"
|
||||
6
tests/integration/targets/k8s_diff/playbook.yaml
Normal file
6
tests/integration/targets/k8s_diff/playbook.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- connection: local
|
||||
gather_facts: false
|
||||
hosts: localhost
|
||||
roles:
|
||||
- k8s_diff
|
||||
5
tests/integration/targets/k8s_diff/runme.sh
Executable file
5
tests/integration/targets/k8s_diff/runme.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eux
|
||||
export ANSIBLE_CALLBACKS_ENABLED=profile_tasks
|
||||
export ANSIBLE_ROLES_PATH=../
|
||||
ansible-playbook playbook.yaml "$@"
|
||||
6
tests/integration/targets/k8s_drain/playbook.yaml
Normal file
6
tests/integration/targets/k8s_drain/playbook.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- connection: local
|
||||
gather_facts: false
|
||||
hosts: localhost
|
||||
roles:
|
||||
- k8s_drain
|
||||
5
tests/integration/targets/k8s_drain/runme.sh
Executable file
5
tests/integration/targets/k8s_drain/runme.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eux
|
||||
export ANSIBLE_CALLBACKS_ENABLED=profile_tasks
|
||||
export ANSIBLE_ROLES_PATH=../
|
||||
ansible-playbook playbook.yaml "$@"
|
||||
6
tests/integration/targets/k8s_exec/playbook.yaml
Normal file
6
tests/integration/targets/k8s_exec/playbook.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- connection: local
|
||||
gather_facts: false
|
||||
hosts: localhost
|
||||
roles:
|
||||
- k8s_exec
|
||||
5
tests/integration/targets/k8s_exec/runme.sh
Executable file
5
tests/integration/targets/k8s_exec/runme.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eux
|
||||
export ANSIBLE_CALLBACKS_ENABLED=profile_tasks
|
||||
export ANSIBLE_ROLES_PATH=../
|
||||
ansible-playbook playbook.yaml "$@"
|
||||
6
tests/integration/targets/k8s_full/playbook.yaml
Normal file
6
tests/integration/targets/k8s_full/playbook.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- connection: local
|
||||
gather_facts: false
|
||||
hosts: localhost
|
||||
roles:
|
||||
- k8s_full
|
||||
5
tests/integration/targets/k8s_full/runme.sh
Executable file
5
tests/integration/targets/k8s_full/runme.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eux
|
||||
export ANSIBLE_CALLBACKS_ENABLED=profile_tasks
|
||||
export ANSIBLE_ROLES_PATH=../
|
||||
ansible-playbook playbook.yaml "$@"
|
||||
6
tests/integration/targets/k8s_gc/playbook.yaml
Normal file
6
tests/integration/targets/k8s_gc/playbook.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- connection: local
|
||||
gather_facts: false
|
||||
hosts: localhost
|
||||
roles:
|
||||
- k8s_gc
|
||||
5
tests/integration/targets/k8s_gc/runme.sh
Executable file
5
tests/integration/targets/k8s_gc/runme.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eux
|
||||
export ANSIBLE_CALLBACKS_ENABLED=profile_tasks
|
||||
export ANSIBLE_ROLES_PATH=../
|
||||
ansible-playbook playbook.yaml "$@"
|
||||
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- connection: local
|
||||
gather_facts: false
|
||||
hosts: localhost
|
||||
roles:
|
||||
- k8s_generate_name
|
||||
5
tests/integration/targets/k8s_generate_name/runme.sh
Executable file
5
tests/integration/targets/k8s_generate_name/runme.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eux
|
||||
export ANSIBLE_CALLBACKS_ENABLED=profile_tasks
|
||||
export ANSIBLE_ROLES_PATH=../
|
||||
ansible-playbook playbook.yaml "$@"
|
||||
6
tests/integration/targets/k8s_info/playbook.yaml
Normal file
6
tests/integration/targets/k8s_info/playbook.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- connection: local
|
||||
gather_facts: false
|
||||
hosts: localhost
|
||||
roles:
|
||||
- k8s_info
|
||||
5
tests/integration/targets/k8s_info/runme.sh
Executable file
5
tests/integration/targets/k8s_info/runme.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eux
|
||||
export ANSIBLE_CALLBACKS_ENABLED=profile_tasks
|
||||
export ANSIBLE_ROLES_PATH=../
|
||||
ansible-playbook playbook.yaml "$@"
|
||||
6
tests/integration/targets/k8s_json_patch/playbook.yaml
Normal file
6
tests/integration/targets/k8s_json_patch/playbook.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- connection: local
|
||||
gather_facts: false
|
||||
hosts: localhost
|
||||
roles:
|
||||
- k8s_json_patch
|
||||
5
tests/integration/targets/k8s_json_patch/runme.sh
Executable file
5
tests/integration/targets/k8s_json_patch/runme.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eux
|
||||
export ANSIBLE_CALLBACKS_ENABLED=profile_tasks
|
||||
export ANSIBLE_ROLES_PATH=../
|
||||
ansible-playbook playbook.yaml "$@"
|
||||
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- connection: local
|
||||
gather_facts: false
|
||||
hosts: localhost
|
||||
roles:
|
||||
- k8s_label_selectors
|
||||
5
tests/integration/targets/k8s_label_selectors/runme.sh
Executable file
5
tests/integration/targets/k8s_label_selectors/runme.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eux
|
||||
export ANSIBLE_CALLBACKS_ENABLED=profile_tasks
|
||||
export ANSIBLE_ROLES_PATH=../
|
||||
ansible-playbook playbook.yaml "$@"
|
||||
6
tests/integration/targets/k8s_lists/playbook.yaml
Normal file
6
tests/integration/targets/k8s_lists/playbook.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- connection: local
|
||||
gather_facts: false
|
||||
hosts: localhost
|
||||
roles:
|
||||
- k8s_lists
|
||||
5
tests/integration/targets/k8s_lists/runme.sh
Executable file
5
tests/integration/targets/k8s_lists/runme.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eux
|
||||
export ANSIBLE_CALLBACKS_ENABLED=profile_tasks
|
||||
export ANSIBLE_ROLES_PATH=../
|
||||
ansible-playbook playbook.yaml "$@"
|
||||
6
tests/integration/targets/k8s_log/playbook.yaml
Normal file
6
tests/integration/targets/k8s_log/playbook.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- connection: local
|
||||
gather_facts: false
|
||||
hosts: localhost
|
||||
roles:
|
||||
- k8s_log
|
||||
5
tests/integration/targets/k8s_log/runme.sh
Executable file
5
tests/integration/targets/k8s_log/runme.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eux
|
||||
export ANSIBLE_CALLBACKS_ENABLED=profile_tasks
|
||||
export ANSIBLE_ROLES_PATH=../
|
||||
ansible-playbook playbook.yaml "$@"
|
||||
6
tests/integration/targets/k8s_manifest_url/playbook.yaml
Normal file
6
tests/integration/targets/k8s_manifest_url/playbook.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- connection: local
|
||||
gather_facts: false
|
||||
hosts: localhost
|
||||
roles:
|
||||
- k8s_manifest_url
|
||||
5
tests/integration/targets/k8s_manifest_url/runme.sh
Executable file
5
tests/integration/targets/k8s_manifest_url/runme.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eux
|
||||
export ANSIBLE_CALLBACKS_ENABLED=profile_tasks
|
||||
export ANSIBLE_ROLES_PATH=../
|
||||
ansible-playbook playbook.yaml "$@"
|
||||
6
tests/integration/targets/k8s_merge_type/playbook.yaml
Normal file
6
tests/integration/targets/k8s_merge_type/playbook.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- connection: local
|
||||
gather_facts: false
|
||||
hosts: localhost
|
||||
roles:
|
||||
- k8s_merge_type
|
||||
5
tests/integration/targets/k8s_merge_type/runme.sh
Executable file
5
tests/integration/targets/k8s_merge_type/runme.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eux
|
||||
export ANSIBLE_CALLBACKS_ENABLED=profile_tasks
|
||||
export ANSIBLE_ROLES_PATH=../
|
||||
ansible-playbook playbook.yaml "$@"
|
||||
6
tests/integration/targets/k8s_patched/playbook.yaml
Normal file
6
tests/integration/targets/k8s_patched/playbook.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- connection: local
|
||||
gather_facts: false
|
||||
hosts: localhost
|
||||
roles:
|
||||
- k8s_patched
|
||||
5
tests/integration/targets/k8s_patched/runme.sh
Executable file
5
tests/integration/targets/k8s_patched/runme.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eux
|
||||
export ANSIBLE_CALLBACKS_ENABLED=profile_tasks
|
||||
export ANSIBLE_ROLES_PATH=../
|
||||
ansible-playbook playbook.yaml "$@"
|
||||
6
tests/integration/targets/k8s_rollback/playbook.yaml
Normal file
6
tests/integration/targets/k8s_rollback/playbook.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- connection: local
|
||||
gather_facts: false
|
||||
hosts: localhost
|
||||
roles:
|
||||
- k8s_rollback
|
||||
5
tests/integration/targets/k8s_rollback/runme.sh
Executable file
5
tests/integration/targets/k8s_rollback/runme.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eux
|
||||
export ANSIBLE_CALLBACKS_ENABLED=profile_tasks
|
||||
export ANSIBLE_ROLES_PATH=../
|
||||
ansible-playbook playbook.yaml "$@"
|
||||
6
tests/integration/targets/k8s_scale/playbook.yaml
Normal file
6
tests/integration/targets/k8s_scale/playbook.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- connection: local
|
||||
gather_facts: false
|
||||
hosts: localhost
|
||||
roles:
|
||||
- k8s_scale
|
||||
5
tests/integration/targets/k8s_scale/runme.sh
Executable file
5
tests/integration/targets/k8s_scale/runme.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eux
|
||||
export ANSIBLE_CALLBACKS_ENABLED=profile_tasks
|
||||
export ANSIBLE_ROLES_PATH=../
|
||||
ansible-playbook playbook.yaml "$@"
|
||||
6
tests/integration/targets/k8s_taint/playbook.yaml
Normal file
6
tests/integration/targets/k8s_taint/playbook.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- connection: local
|
||||
gather_facts: false
|
||||
hosts: localhost
|
||||
roles:
|
||||
- k8s_taint
|
||||
5
tests/integration/targets/k8s_taint/runme.sh
Executable file
5
tests/integration/targets/k8s_taint/runme.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eux
|
||||
export ANSIBLE_CALLBACKS_ENABLED=profile_tasks
|
||||
export ANSIBLE_ROLES_PATH=../
|
||||
ansible-playbook playbook.yaml "$@"
|
||||
6
tests/integration/targets/k8s_template/playbook.yaml
Normal file
6
tests/integration/targets/k8s_template/playbook.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- connection: local
|
||||
gather_facts: false
|
||||
hosts: localhost
|
||||
roles:
|
||||
- k8s_template
|
||||
5
tests/integration/targets/k8s_template/runme.sh
Executable file
5
tests/integration/targets/k8s_template/runme.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eux
|
||||
export ANSIBLE_CALLBACKS_ENABLED=profile_tasks
|
||||
export ANSIBLE_ROLES_PATH=../
|
||||
ansible-playbook playbook.yaml "$@"
|
||||
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- connection: local
|
||||
gather_facts: false
|
||||
hosts: localhost
|
||||
roles:
|
||||
- k8s_user_impersonation
|
||||
5
tests/integration/targets/k8s_user_impersonation/runme.sh
Executable file
5
tests/integration/targets/k8s_user_impersonation/runme.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eux
|
||||
export ANSIBLE_CALLBACKS_ENABLED=profile_tasks
|
||||
export ANSIBLE_ROLES_PATH=../
|
||||
ansible-playbook playbook.yaml "$@"
|
||||
6
tests/integration/targets/k8s_validate/playbook.yaml
Normal file
6
tests/integration/targets/k8s_validate/playbook.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- connection: local
|
||||
gather_facts: false
|
||||
hosts: localhost
|
||||
roles:
|
||||
- k8s_validate
|
||||
5
tests/integration/targets/k8s_validate/runme.sh
Executable file
5
tests/integration/targets/k8s_validate/runme.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eux
|
||||
export ANSIBLE_CALLBACKS_ENABLED=profile_tasks
|
||||
export ANSIBLE_ROLES_PATH=../
|
||||
ansible-playbook playbook.yaml "$@"
|
||||
6
tests/integration/targets/k8s_waiter/playbook.yaml
Normal file
6
tests/integration/targets/k8s_waiter/playbook.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- connection: local
|
||||
gather_facts: false
|
||||
hosts: localhost
|
||||
roles:
|
||||
- k8s_waiter
|
||||
5
tests/integration/targets/k8s_waiter/runme.sh
Executable file
5
tests/integration/targets/k8s_waiter/runme.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eux
|
||||
export ANSIBLE_CALLBACKS_ENABLED=profile_tasks
|
||||
export ANSIBLE_ROLES_PATH=../
|
||||
ansible-playbook playbook.yaml "$@"
|
||||
6
tests/integration/targets/lookup_k8s/playbook.yaml
Normal file
6
tests/integration/targets/lookup_k8s/playbook.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- connection: local
|
||||
gather_facts: false
|
||||
hosts: localhost
|
||||
roles:
|
||||
- lookup_k8s
|
||||
5
tests/integration/targets/lookup_k8s/runme.sh
Executable file
5
tests/integration/targets/lookup_k8s/runme.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eux
|
||||
export ANSIBLE_CALLBACKS_ENABLED=profile_tasks
|
||||
export ANSIBLE_ROLES_PATH=../
|
||||
ansible-playbook playbook.yaml "$@"
|
||||
6
tests/integration/targets/lookup_kustomize/playbook.yaml
Normal file
6
tests/integration/targets/lookup_kustomize/playbook.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- connection: local
|
||||
gather_facts: false
|
||||
hosts: localhost
|
||||
roles:
|
||||
- lookup_kustomize
|
||||
5
tests/integration/targets/lookup_kustomize/runme.sh
Executable file
5
tests/integration/targets/lookup_kustomize/runme.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eux
|
||||
export ANSIBLE_CALLBACKS_ENABLED=profile_tasks
|
||||
export ANSIBLE_ROLES_PATH=../
|
||||
ansible-playbook playbook.yaml "$@"
|
||||
Reference in New Issue
Block a user