Skip to content

Commit

Permalink
e2e: upgrade: allow specifying the origin k8s version (#3397)
Browse files Browse the repository at this point in the history
  • Loading branch information
burgerdev authored Oct 9, 2024
1 parent 2854136 commit b1cf9bc
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/e2e-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ on:
description: CLI version to create a new cluster with. This has to be a released version, e.g., 'v2.1.3'.
type: string
required: true
fromKubernetes:
description: Kubernetes version for the origin cluster, empty for origin target's default version.
type: string
required: false
gitRef:
description: Ref to build upgrading CLI on, empty for HEAD.
type: string
Expand All @@ -32,11 +36,11 @@ on:
type: string
required: false
toKubernetes:
description: Kubernetes version to target for the upgrade, empty for target's default version.
description: Kubernetes version to target for the upgrade, empty for upgrade target's default version.
type: string
required: false
toMicroservices:
description: Microservice version to target for the upgrade, empty for target's default version.
description: Microservice version to target for the upgrade, empty for upgrade target's default version.
type: string
required: false
simulatedTargetVersion:
Expand All @@ -60,6 +64,10 @@ on:
description: CLI version to create a new cluster with. This has to be a released version, e.g., 'v2.1.3'.
type: string
required: true
fromKubernetes:
description: Kubernetes version for the origin cluster, empty for origin target's default version.
type: string
required: false
gitRef:
description: Ref to build upgrading CLI on.
type: string
Expand Down Expand Up @@ -215,6 +223,7 @@ jobs:
osImage: ${{ inputs.fromVersion }}
isDebugImage: "false"
cliVersion: ${{ inputs.fromVersion }}
kubernetesVersion: ${{ inputs.fromKubernetes }}
regionZone: ${{ inputs.regionZone }}
gcpProject: constellation-e2e
gcpClusterCreateServiceAccount: "infrastructure-e2e@constellation-e2e.iam.gserviceaccount.com"
Expand Down

0 comments on commit b1cf9bc

Please sign in to comment.