Files
my-rook-config/.github/workflows/setup-cluster-resources/action.yaml
T
Workflow config file is invalid. Please check your config file: unknown on type: 0

35 lines
1002 B
YAML

name: Cluster Setup
description: Cluster setup for canary test
inputs:
github-token:
description: GITHUB_TOKEN from the calling workflow
required: true
runs:
using: "composite"
steps:
- name: setup golang
uses: actions/setup-go@v2
with:
go-version: 1.16
- name: setup minikube
uses: manusa/actions-setup-minikube@v2.4.2
with:
minikube version: 'v1.23.2'
kubernetes version: 'v1.22.2'
start args: --memory 6g --cpus=2
github token: ${{ inputs.github-token }}
- name: install deps
shell: bash --noprofile --norc -eo pipefail -x {0}
run: tests/scripts/github-action-helper.sh install_deps
- name: print k8s cluster status
shell: bash --noprofile --norc -eo pipefail -x {0}
run: tests/scripts/github-action-helper.sh print_k8s_cluster_status
- name: build rook
shell: bash --noprofile --norc -eo pipefail -x {0}
run: tests/scripts/github-action-helper.sh build_rook