Skip to content

Commit

Permalink
chore: e2e test on vke
Browse files Browse the repository at this point in the history
  • Loading branch information
JashBook committed Sep 10, 2024
1 parent 448ac3c commit bfb6f5c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/e2e-kbcli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,21 @@ on:
CLOUD_PROVIDER:
description: 'cloud provider'
required: true
default: 'eks'
default: 'vke'
type: choice
options:
- vke
- gke
- eks
- aks
- aks-cn
CLUSTER_VERSION:
description: 'k8s cluster version'
required: false
default: '1.27'
default: '1.28'
type: choice
options:
- 1.30
- 1.29
- 1.28
- 1.27
Expand Down Expand Up @@ -86,6 +88,8 @@ jobs:
CLUSTER_REGION=""
if [[ "${{ inputs.CLOUD_PROVIDER }}" == 'eks' && -z "$CLUSTER_REGION" ]]; then
CLUSTER_REGION="${{ vars.REGION_AWS_EKS }}"
elif [[ "${{ inputs.CLOUD_PROVIDER }}" == 'vke' && -z "$CLUSTER_REGION" ]]; then
CLUSTER_REGION="${{ vars.REGION_VOLCENGINE_VKE }}"
elif [[ "${{ inputs.CLOUD_PROVIDER }}" == 'gke' && -z "$CLUSTER_REGION" ]]; then
CLUSTER_REGION="${{ vars.REGION_GCP_GKE }}"
elif [[ "${{ inputs.CLOUD_PROVIDER }}" == 'aks' && -z "$CLUSTER_REGION" ]]; then
Expand Down

0 comments on commit bfb6f5c

Please sign in to comment.