forked from redhat-openshift-ecosystem/operator-pipelines
-
Notifications
You must be signed in to change notification settings - Fork 0
27 lines (25 loc) · 929 Bytes
/
community-kind.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
name: Community kind cluster setup
on: # yamllint disable-line rule:truthy
pull_request:
branches:
- main
- upstream-community
workflow_dispatch:
jobs:
kind-setup:
name: Install kind cluster
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: python -m pip install --upgrade pip kubernetes
- name: Install kind cluster with registry and tekton setup via ansible
id: install
env:
ANSIBLE_FORCE_COLOR: 1
ANSIBLE_DISPLAY_SKIPPED_HOSTS: 0
ANSIBLE_STDOUT_CALLBACK: "yaml"
run: |
ansible-galaxy collection install kubernetes.core
ansible-playbook -i ansible/inventory/local ansible/playbooks/upstream-community.yaml --tags install,tekton-task,tekton-pipeline,verify -e container_tool=docker -e package_validate_certs=false -e tekton_validate_certs=false