ci: fix unwanted license checks for some e2e test configs (#3001)

* ci: fix unwanted license checks for some e2e test configs

* fixup! ci: fix unwanted
This commit is contained in:
Thomas Tendyck 2024-03-22 20:45:45 +01:00 committed by GitHub
parent 89f311dac1
commit b97f2b905a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 6 deletions

View File

@ -90,7 +90,7 @@ inputs:
description: "Set the force-flag on apply to ignore version mismatches." description: "Set the force-flag on apply to ignore version mismatches."
required: false required: false
encryptionSecret: encryptionSecret:
description: 'The secret to use for decrypting the artifact.' description: "The secret to use for decrypting the artifact."
required: true required: true
outputs: outputs:
@ -169,8 +169,6 @@ runs:
echo "$(pwd)" >> $GITHUB_PATH echo "$(pwd)" >> $GITHUB_PATH
export PATH="$PATH:$(pwd)" export PATH="$PATH:$(pwd)"
constellation version constellation version
# Do not spam license server from pipeline
sudo sh -c 'echo "127.0.0.1 license.confidential.cloud" >> /etc/hosts'
- name: Build Terraform provider binary - name: Build Terraform provider binary
if: inputs.clusterCreation == 'terraform' && inputs.cliVersion == '' if: inputs.clusterCreation == 'terraform' && inputs.cliVersion == ''

View File

@ -312,6 +312,7 @@ jobs:
working-directory: ${{ github.workspace }}/cluster working-directory: ${{ github.workspace }}/cluster
shell: bash shell: bash
run: | run: |
sudo sh -c 'echo "127.0.0.1 license.confidential.cloud" >> /etc/hosts'
terraform init terraform init
if [[ "${{ inputs.attestationVariant }}" == "azure-sev-snp" ]]; then if [[ "${{ inputs.attestationVariant }}" == "azure-sev-snp" ]]; then
terraform apply -target module.azure_iam -auto-approve terraform apply -target module.azure_iam -auto-approve

View File

@ -409,6 +409,7 @@ jobs:
KUBERNETES_FLAG="--target-kubernetes=$KUBERNETES" KUBERNETES_FLAG="--target-kubernetes=$KUBERNETES"
fi fi
sudo sh -c 'echo "127.0.0.1 license.confidential.cloud" >> /etc/hosts'
bazel run //e2e/internal/upgrade:upgrade_test -- --want-worker "$WORKERNODES" --want-control "$CONTROLNODES" --target-image "$IMAGE" "$KUBERNETES_FLAG" "$MICROSERVICES_FLAG" bazel run //e2e/internal/upgrade:upgrade_test -- --want-worker "$WORKERNODES" --want-control "$CONTROLNODES" --target-image "$IMAGE" "$KUBERNETES_FLAG" "$MICROSERVICES_FLAG"
- name: Remove Terraform plugin cache - name: Remove Terraform plugin cache