Files
my-rook-config/.github/workflows/integration-test-config/action.yaml
T
Workflow config file is invalid. Please check your config file: unknown on type: 0
Travis Nielsen 2294c15bf7 ci: run tests against k8s 1.24
Since K8s 1.24.0 was released we need to run rook
CI against the latest Kubernetes. At the same time,
we update minikube in the CI to 1.25.2.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-06-28 15:11:55 -06:00

39 lines
1.2 KiB
YAML

name: Cluster Setup
description: Cluster setup for integration test
inputs:
kubernetes-version:
description: kubernetes version to use for the workflow
required: true
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.17
- name: setup minikube
uses: manusa/actions-setup-minikube@v2.6.0
with:
minikube version: "v1.26.0"
kubernetes version: ${{ inputs.kubernetes-version }}
start args: --memory 6g --cpus=2 --addons ingress
github token: ${{ inputs.github-token }}
- name: print k8s cluster status
shell: bash --noprofile --norc -eo pipefail -x {0}
run: tests/scripts/github-action-helper.sh print_k8s_cluster_status
# This step is required for all the integration tests except the canary tests
- name: use local disk
shell: bash --noprofile --norc -eo pipefail -x {0}
run: tests/scripts/github-action-helper.sh use_local_disk_for_integration_test
- name: build rook
shell: bash --noprofile --norc -eo pipefail -x {0}
run: tests/scripts/github-action-helper.sh build_rook