mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-25 15:39:37 -05:00
ci: adapt pipeline to use --kubernetes flag
This commit is contained in:
parent
d98f86686d
commit
6c07a2892e
13
.github/actions/constellation_create/action.yml
vendored
13
.github/actions/constellation_create/action.yml
vendored
@ -75,7 +75,11 @@ runs:
|
||||
shell: bash
|
||||
if: inputs.existingConfig != 'true'
|
||||
run: |
|
||||
constellation config generate ${{ inputs.cloudProvider }}
|
||||
if [[ ${{ inputs.kubernetesVersion != '' }} == true ]]; then
|
||||
constellation config generate ${{ inputs.cloudProvider }} --kubernetes="${{ inputs.kubernetesVersion }}"
|
||||
else
|
||||
constellation config generate ${{ inputs.cloudProvider }}
|
||||
fi
|
||||
|
||||
yq eval -i "(.name) = \"e2e-test\"" constellation-conf.yaml
|
||||
|
||||
@ -103,13 +107,6 @@ runs:
|
||||
(.provider | select(. | has(\"aws\")).aws.iamProfileWorkerNodes) = \"e2e_test_worker_node_instance_profile\"" \
|
||||
constellation-conf.yaml
|
||||
|
||||
- name: Update config
|
||||
shell: bash
|
||||
run: |
|
||||
if [[ ${{ inputs.kubernetesVersion != '' }} = true ]]; then
|
||||
yq eval -i "(.kubernetesVersion) = \"${{ inputs.kubernetesVersion }}\"" constellation-conf.yaml
|
||||
fi
|
||||
|
||||
- name: Remove embedded measurements
|
||||
if: inputs.keepMeasurements == 'false'
|
||||
shell: bash
|
||||
|
2
.github/workflows/e2e-test-manual.yml
vendored
2
.github/workflows/e2e-test-manual.yml
vendored
@ -43,7 +43,7 @@ on:
|
||||
required: true
|
||||
kubernetesVersion:
|
||||
description: "Kubernetes version to create the cluster from."
|
||||
default: "1.25.6"
|
||||
default: "1.25"
|
||||
required: true
|
||||
keepMeasurements:
|
||||
description: "Keep measurements embedded in the CLI."
|
||||
|
26
.github/workflows/e2e-test-weekly.yml
vendored
26
.github/workflows/e2e-test-weekly.yml
vendored
@ -48,38 +48,38 @@ jobs:
|
||||
test:
|
||||
["sonobuoy full", "autoscaling", "k-bench", "lb", "verify", "recover", "iamcreate"]
|
||||
provider: ["gcp", "azure", "aws"]
|
||||
version: ["v1.24.9", "v1.25.6", "v1.26.1"]
|
||||
version: ["v1.24", "v1.25", "v1.26"]
|
||||
exclude:
|
||||
# IAM create test runs only on latest version.
|
||||
- test: "iamcreate"
|
||||
version: "v1.24.9"
|
||||
version: "v1.24"
|
||||
- test: "iamcreate"
|
||||
version: "v1.25.6"
|
||||
version: "v1.25"
|
||||
# Verify test runs only on latest version.
|
||||
- test: "verify"
|
||||
version: "v1.24.9"
|
||||
version: "v1.24"
|
||||
- test: "verify"
|
||||
version: "v1.25.6"
|
||||
version: "v1.25"
|
||||
# Recover test runs only on latest version.
|
||||
- test: "recover"
|
||||
version: "v1.24.9"
|
||||
version: "v1.24"
|
||||
- test: "recover"
|
||||
version: "v1.25.6"
|
||||
version: "v1.25"
|
||||
# Autoscaling test runs only on latest version.
|
||||
- test: "autoscaling"
|
||||
version: "v1.24.9"
|
||||
version: "v1.24"
|
||||
- test: "autoscaling"
|
||||
version: "v1.25.6"
|
||||
version: "v1.25"
|
||||
# K-bench test runs only on latest version.
|
||||
- test: "k-bench"
|
||||
version: "v1.24.9"
|
||||
version: "v1.24"
|
||||
- test: "k-bench"
|
||||
version: "v1.25.6"
|
||||
version: "v1.25"
|
||||
# lb test runs only on latest version.
|
||||
- test: "lb"
|
||||
version: "v1.24.9"
|
||||
version: "v1.24"
|
||||
- test: "lb"
|
||||
version: "v1.25.6"
|
||||
version: "v1.25"
|
||||
# Currently not supported on AWS.
|
||||
- test: "autoscaling"
|
||||
provider: "aws"
|
||||
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -308,7 +308,7 @@ jobs:
|
||||
cloudProvider: ${{ matrix.csp }}
|
||||
runner: ${{ matrix.runner }}
|
||||
test: "sonobuoy full"
|
||||
kubernetesVersion: "v1.25.6"
|
||||
kubernetesVersion: "v1.25"
|
||||
keepMeasurements: true
|
||||
osImage: ${{ inputs.version }}
|
||||
machineType: "default"
|
||||
|
Loading…
Reference in New Issue
Block a user