Files
my-rook-config/.github/workflows/canary-test-config/action.yaml
T
Workflow config file is invalid. Please check your config file: unknown on type: 0
subhamkrai 8d6bee5d94 ci: update minikube version to 1.26.1
update minikube version to 1.26.1 for the
latest k8s version and using 1.24.0 for older
k8s version.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 9f68afaeef)
2022-08-29 16:09:16 +00:00

35 lines
1.0 KiB
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.18
- name: setup minikube
uses: manusa/actions-setup-minikube@v2.7.0
with:
minikube version: "v1.26.1"
kubernetes version: "v1.23.0"
start args: --memory 6g --cpus=2 --addons ingress --cni=calico
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