diff --git a/.github/actions/constellation_create/action.yml b/.github/actions/constellation_create/action.yml index 515eaaa47..485ac182f 100644 --- a/.github/actions/constellation_create/action.yml +++ b/.github/actions/constellation_create/action.yml @@ -2,7 +2,6 @@ name: Constellation create description: Create a new Constellation cluster using latest OS image. inputs: - # TODO(elchead): remove once 2.10 is released workerNodesCount: description: "Number of worker nodes to spawn." required: true @@ -93,8 +92,6 @@ runs: yq eval -i "(.nodeGroups[] | .instanceType) = \"${{ inputs.machineType }}\"" constellation-conf.yaml - name: Set node count - # TODO(katexochen): remove if statement once 2.10 is released. - if: inputs.cliVersion != 'v2.9.0' && inputs.cliVersion != 'v2.9.1' shell: bash run: | yq eval -i "(.nodeGroups[] | select(.role == \"control-plane\") | .initialCount) = ${{ inputs.controlNodesCount }}" constellation-conf.yaml @@ -115,13 +112,7 @@ runs: echo "Creating cluster using config:" cat constellation-conf.yaml sudo sh -c 'echo "127.0.0.1 license.confidential.cloud" >> /etc/hosts' || true - - output=$(constellation --help) - if [[ $output == *"tf-log"* ]]; then - TFFLAG="--tf-log=DEBUG" - fi - constellation create -y --force --debug ${TFFLAG:-} -c ${{ inputs.controlNodesCount }} -w ${{ inputs.workerNodesCount }} - # TODO(elchead): remove -c and -w once 2.10 is released, such that a fromVersion upgrade E2E no longer requires these flags + constellation create -y --force --debug --tf-log=DEBUG - name: Cdbg deploy if: inputs.isDebugImage == 'true' diff --git a/.github/actions/constellation_destroy/action.yml b/.github/actions/constellation_destroy/action.yml index 758fe32a0..253ce8162 100644 --- a/.github/actions/constellation_destroy/action.yml +++ b/.github/actions/constellation_destroy/action.yml @@ -41,8 +41,4 @@ runs: - name: Constellation terminate shell: bash run: | - output=$(constellation --help) - if [[ $output == *"tf-log"* ]]; then - TFFLAG="--tf-log=DEBUG" - fi - constellation terminate --yes ${TFFLAG:-} + constellation terminate --yes --tf-log=DEBUG diff --git a/.github/actions/constellation_iam_destroy/action.yml b/.github/actions/constellation_iam_destroy/action.yml index 594a6ecc6..a7de55539 100644 --- a/.github/actions/constellation_iam_destroy/action.yml +++ b/.github/actions/constellation_iam_destroy/action.yml @@ -39,8 +39,4 @@ runs: - name: Delete IAM configuration shell: bash run: | - output=$(constellation --help) - if [[ $output == *"tf-log"* ]]; then - TFFLAG="--tf-log=DEBUG" - fi - constellation iam destroy --yes ${TFFLAG:-} + constellation iam destroy --yes --tf-log=DEBUG diff --git a/.github/workflows/e2e-test-release.yml b/.github/workflows/e2e-test-release.yml index c4fb72bc5..49b9b1ada 100644 --- a/.github/workflows/e2e-test-release.yml +++ b/.github/workflows/e2e-test-release.yml @@ -233,7 +233,7 @@ jobs: fail-fast: false max-parallel: 1 matrix: - fromVersion: ["v2.9.1"] + fromVersion: ["v2.10.0"] cloudProvider: ["gcp", "azure", "aws"] name: Run upgrade tests secrets: inherit diff --git a/.github/workflows/e2e-test-weekly.yml b/.github/workflows/e2e-test-weekly.yml index 171c0d601..c9413d856 100644 --- a/.github/workflows/e2e-test-weekly.yml +++ b/.github/workflows/e2e-test-weekly.yml @@ -251,7 +251,7 @@ jobs: fail-fast: false max-parallel: 1 matrix: - fromVersion: ["v2.9.1"] + fromVersion: ["v2.10.0"] cloudProvider: ["gcp", "azure", "aws"] name: Run upgrade tests secrets: inherit diff --git a/cli/internal/cmd/iamupgradeapply.go b/cli/internal/cmd/iamupgradeapply.go index 2c3b1bd68..6cf26c53e 100644 --- a/cli/internal/cmd/iamupgradeapply.go +++ b/cli/internal/cmd/iamupgradeapply.go @@ -22,8 +22,6 @@ import ( func upgradeRequiresIAMMigration(provider cloudprovider.Provider) bool { switch provider { - case cloudprovider.AWS: - return true // needs to be set on every release. Can we automate this? default: return false } diff --git a/cli/internal/cmd/upgradeapply.go b/cli/internal/cmd/upgradeapply.go index 58a672f62..20cf0c7a4 100644 --- a/cli/internal/cmd/upgradeapply.go +++ b/cli/internal/cmd/upgradeapply.go @@ -151,17 +151,6 @@ func (u *upgradeApplyCmd) upgradeApply(cmd *cobra.Command) error { if err := u.fileHandler.ReadJSON(constants.ClusterIDsFilename, &idFile); err != nil { return fmt.Errorf("reading cluster ID file: %w", err) } - if idFile.MeasurementSalt == nil { - // TODO(elchead): remove after 2.10, since 2.9 does not yet save it in the idfile - measurementSalt, err := u.kubeUpgrader.GetMeasurementSalt(cmd.Context()) - if err != nil { - return fmt.Errorf("getting join-config: %w", err) - } - idFile.MeasurementSalt = measurementSalt - if err := u.fileHandler.WriteJSON(constants.ClusterIDsFilename, idFile, file.OptOverwrite); err != nil { - return fmt.Errorf("writing cluster ID file: %w", err) - } - } conf.UpdateMAAURL(idFile.AttestationURL) if err := u.confirmIfUpgradeAttestConfigHasDiff(cmd, conf.GetAttestationConfig(), flags); err != nil { diff --git a/version.txt b/version.txt index 0d74b4094..678913a13 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -v2.10.0-pre +v2.11.0-pre