From 8d7e7bf1222aea11e410a2c717871e9dfb398856 Mon Sep 17 00:00:00 2001 From: Xiaofeng Wang Date: Thu, 13 Jun 2024 08:38:28 +0800 Subject: [PATCH] ci: add TEMPDIR variable Signed-off-by: Xiaofeng Wang --- .github/workflows/bib-image.yml | 48 ++++++++++++++++++--- .github/workflows/os-replace.yml | 72 ++++++++++++++++++++++++++++---- 2 files changed, 105 insertions(+), 15 deletions(-) diff --git a/.github/workflows/bib-image.yml b/.github/workflows/bib-image.yml index 0552586..0437f36 100644 --- a/.github/workflows/bib-image.yml +++ b/.github/workflows/bib-image.yml @@ -72,6 +72,12 @@ jobs: ref: ${{ needs.pr-info.outputs.sha }} fetch-depth: 0 + - name: Generate TEMPDIR variable + id: gen_tempdir + run: | + TEMPDIR=$(mktemp -d -u) + echo "TEMPDIR=$TEMPDIR" >> $GITHUB_OUTPUT + - name: Run the tests uses: sclorg/testing-farm-as-github-action@v2 with: @@ -86,7 +92,7 @@ jobs: tmt_plan_regex: "/bib-image/" tf_scope: private secrets: "TIER1_IMAGE_URL=${{ secrets.RHEL95_TIER1_IMAGE_URL }};QUAY_USERNAME=${{ secrets.QUAY_USERNAME }};QUAY_PASSWORD=${{ secrets.QUAY_PASSWORD }};QUAY_SECRET=${{ secrets.QUAY_SECRET }};RHEL_REGISTRY_URL=${{ secrets.RHEL_REGISTRY_URL }};DOWNLOAD_NODE=${{ secrets.DOWNLOAD_NODE }};AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }};AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }};GOVC_URL=${{ secrets.GOVC_URL }};GOVC_USERNAME=${{ secrets.GOVC_USERNAME }};GOVC_PASSWORD=${{ secrets.GOVC_PASSWORD }};RHC_AK=${{ secrets.RHC_AK }};RHC_ORGID=${{ secrets.RHC_ORGID }};RHEL_REGISTRY_URL=${{ secrets.RHEL_REGISTRY_URL }}" - variables: "ARCH=${{ matrix.arch }};AWS_REGION=${{ secrets.AWS_REGION }};GOVC_INSECURE=1" + variables: "TEMPDIR=${{ steps.gen_tempdir.outputs.TEMPDIR }};ARCH=${{ matrix.arch }};AWS_REGION=${{ secrets.AWS_REGION }};GOVC_INSECURE=1" rhel94-bib-image: needs: pr-info @@ -106,6 +112,12 @@ jobs: ref: ${{ needs.pr-info.outputs.sha }} fetch-depth: 0 + - name: Generate TEMPDIR variable + id: gen_tempdir + run: | + TEMPDIR=$(mktemp -d -u) + echo "TEMPDIR=$TEMPDIR" >> $GITHUB_OUTPUT + - name: Run the tests uses: sclorg/testing-farm-as-github-action@v2 with: @@ -120,7 +132,7 @@ jobs: tmt_plan_regex: "/bib-image/" tf_scope: private secrets: "TIER1_IMAGE_URL=${{ secrets.RHEL94_TIER1_IMAGE_URL }};QUAY_USERNAME=${{ secrets.QUAY_USERNAME }};QUAY_PASSWORD=${{ secrets.QUAY_PASSWORD }};QUAY_SECRET=${{ secrets.QUAY_SECRET }};DOWNLOAD_NODE=${{ secrets.DOWNLOAD_NODE }};AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }};AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }};GOVC_URL=${{ secrets.GOVC_URL }};GOVC_USERNAME=${{ secrets.GOVC_USERNAME }};GOVC_PASSWORD=${{ secrets.GOVC_PASSWORD }};RHC_AK=${{ secrets.RHC_AK }};RHC_ORGID=${{ secrets.RHC_ORGID }};RHEL_REGISTRY_URL=${{ secrets.RHEL_REGISTRY_URL }}" - variables: "ARCH=${{ matrix.arch }};AWS_REGION=${{ secrets.AWS_REGION }};GOVC_INSECURE=1" + variables: "TEMPDIR=${{ steps.gen_tempdir.outputs.TEMPDIR }};ARCH=${{ matrix.arch }};AWS_REGION=${{ secrets.AWS_REGION }};GOVC_INSECURE=1" cs9-bib-image: needs: pr-info @@ -140,6 +152,12 @@ jobs: ref: ${{ needs.pr-info.outputs.sha }} fetch-depth: 0 + - name: Generate TEMPDIR variable + id: gen_tempdir + run: | + TEMPDIR=$(mktemp -d -u) + echo "TEMPDIR=$TEMPDIR" >> $GITHUB_OUTPUT + - name: Run the tests uses: sclorg/testing-farm-as-github-action@v2 with: @@ -154,7 +172,7 @@ jobs: tmt_plan_regex: "/bib-image/" tf_scope: private secrets: "TIER1_IMAGE_URL=${{ secrets.CS9_TIER1_IMAGE_URL }};QUAY_USERNAME=${{ secrets.QUAY_USERNAME }};QUAY_PASSWORD=${{ secrets.QUAY_PASSWORD }};QUAY_SECRET=${{ secrets.QUAY_SECRET }};AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }};AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }};CERT_URL=${{ secrets.CERT_URL }};GOVC_URL=${{ secrets.GOVC_URL }};GOVC_USERNAME=${{ secrets.GOVC_USERNAME }};GOVC_PASSWORD=${{ secrets.GOVC_PASSWORD }}" - variables: "ARCH=${{ matrix.arch }};AWS_REGION=${{ secrets.AWS_REGION }};GOVC_INSECURE=1" + variables: "TEMPDIR=${{ steps.gen_tempdir.outputs.TEMPDIR }};ARCH=${{ matrix.arch }};AWS_REGION=${{ secrets.AWS_REGION }};GOVC_INSECURE=1" cs9-dev-bib-image: needs: pr-info @@ -175,6 +193,12 @@ jobs: ref: ${{ needs.pr-info.outputs.sha }} fetch-depth: 0 + - name: Generate TEMPDIR variable + id: gen_tempdir + run: | + TEMPDIR=$(mktemp -d -u) + echo "TEMPDIR=$TEMPDIR" >> $GITHUB_OUTPUT + - name: Run the tests uses: sclorg/testing-farm-as-github-action@v2 with: @@ -189,7 +213,7 @@ jobs: tmt_plan_regex: "/bib-image/" tf_scope: private secrets: "TIER1_IMAGE_URL=${{ secrets.CS9_DEV_TIER1_IMAGE_URL }};QUAY_USERNAME=${{ secrets.QUAY_USERNAME }};QUAY_PASSWORD=${{ secrets.QUAY_PASSWORD }};QUAY_SECRET=${{ secrets.QUAY_SECRET }};AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }};AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }};CERT_URL=${{ secrets.CERT_URL }};GOVC_URL=${{ secrets.GOVC_URL }};GOVC_USERNAME=${{ secrets.GOVC_USERNAME }};GOVC_PASSWORD=${{ secrets.GOVC_PASSWORD }}" - variables: "ARCH=${{ matrix.arch }};AWS_REGION=${{ secrets.AWS_REGION }};GOVC_INSECURE=1" + variables: "TEMPDIR=${{ steps.gen_tempdir.outputs.TEMPDIR }};ARCH=${{ matrix.arch }};AWS_REGION=${{ secrets.AWS_REGION }};GOVC_INSECURE=1" fedora-40-bib-image: needs: pr-info @@ -209,6 +233,12 @@ jobs: ref: ${{ needs.pr-info.outputs.sha }} fetch-depth: 0 + - name: Generate TEMPDIR variable + id: gen_tempdir + run: | + TEMPDIR=$(mktemp -d -u) + echo "TEMPDIR=$TEMPDIR" >> $GITHUB_OUTPUT + - name: Run the tests uses: sclorg/testing-farm-as-github-action@v2 with: @@ -223,7 +253,7 @@ jobs: tmt_plan_regex: "/bib-image/" tf_scope: private secrets: "QUAY_USERNAME=${{ secrets.QUAY_USERNAME }};QUAY_PASSWORD=${{ secrets.QUAY_PASSWORD }};QUAY_SECRET=${{ secrets.QUAY_SECRET }};AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }};AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }};GOVC_URL=${{ secrets.GOVC_URL }};GOVC_USERNAME=${{ secrets.GOVC_USERNAME }};GOVC_PASSWORD=${{ secrets.GOVC_PASSWORD }}" - variables: "ARCH=${{ matrix.arch }};AWS_REGION=${{ secrets.AWS_REGION }};GOVC_INSECURE=1;TIER1_IMAGE_URL=${{ vars.FEDORA_40_TIER1_IMAGE_URL }}" + variables: "TEMPDIR=${{ steps.gen_tempdir.outputs.TEMPDIR }};ARCH=${{ matrix.arch }};AWS_REGION=${{ secrets.AWS_REGION }};GOVC_INSECURE=1;TIER1_IMAGE_URL=${{ vars.FEDORA_40_TIER1_IMAGE_URL }}" fedora-41-bib-image: needs: pr-info @@ -243,6 +273,12 @@ jobs: ref: ${{ needs.pr-info.outputs.sha }} fetch-depth: 0 + - name: Generate TEMPDIR variable + id: gen_tempdir + run: | + TEMPDIR=$(mktemp -d -u) + echo "TEMPDIR=$TEMPDIR" >> $GITHUB_OUTPUT + - name: Run the tests uses: sclorg/testing-farm-as-github-action@v2 with: @@ -257,4 +293,4 @@ jobs: tmt_plan_regex: "/bib-image/" tf_scope: private secrets: "QUAY_USERNAME=${{ secrets.QUAY_USERNAME }};QUAY_PASSWORD=${{ secrets.QUAY_PASSWORD }};QUAY_SECRET=${{ secrets.QUAY_SECRET }};AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }};AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }};GOVC_URL=${{ secrets.GOVC_URL }};GOVC_USERNAME=${{ secrets.GOVC_USERNAME }};GOVC_PASSWORD=${{ secrets.GOVC_PASSWORD }}" - variables: "ARCH=${{ matrix.arch }};AWS_REGION=${{ secrets.AWS_REGION }};GOVC_INSECURE=1;TIER1_IMAGE_URL=${{ vars.FEDORA_41_TIER1_IMAGE_URL }}" + variables: "TEMPDIR=${{ steps.gen_tempdir.outputs.TEMPDIR }};ARCH=${{ matrix.arch }};AWS_REGION=${{ secrets.AWS_REGION }};GOVC_INSECURE=1;TIER1_IMAGE_URL=${{ vars.FEDORA_41_TIER1_IMAGE_URL }}" diff --git a/.github/workflows/os-replace.yml b/.github/workflows/os-replace.yml index 1407f67..dcfbb43 100644 --- a/.github/workflows/os-replace.yml +++ b/.github/workflows/os-replace.yml @@ -73,6 +73,12 @@ jobs: ref: ${{ needs.pr-info.outputs.sha }} fetch-depth: 0 + - name: Generate TEMPDIR variable + id: gen_tempdir + run: | + TEMPDIR=$(mktemp -d -u) + echo "TEMPDIR=$TEMPDIR" >> $GITHUB_OUTPUT + - name: Run the tests uses: sclorg/testing-farm-as-github-action@v2 with: @@ -87,7 +93,7 @@ jobs: tmt_plan_regex: "/os-replace/" tf_scope: private secrets: "TIER1_IMAGE_URL=${{ secrets.RHEL95_TIER1_IMAGE_URL }};OS_USERNAME=${{ secrets.OS_USERNAME }};OS_PASSWORD=${{ secrets.OS_PASSWORD }};OS_AUTH_URL=${{ secrets.OS_AUTH_URL }};QUAY_USERNAME=${{ secrets.QUAY_USERNAME }};QUAY_PASSWORD=${{ secrets.QUAY_PASSWORD }};QUAY_SECRET=${{ secrets.QUAY_SECRET }};DOWNLOAD_NODE=${{ secrets.DOWNLOAD_NODE }};GCP_SERVICE_ACCOUNT_FILE_B64=${{ secrets.GCP_SERVICE_ACCOUNT_FILE_B64 }};AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }};AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }};CERT_URL=${{ secrets.CERT_URL }};RHC_AK=${{ secrets.RHC_AK }};RHC_ORGID=${{ secrets.RHC_ORGID }};BEAKER_KEYTAB_B64=${{ secrets.BEAKER_KEYTAB_B64 }};BEAKER_CLIENT_B64=${{ secrets.BEAKER_CLIENT_B64 }};KRB5_CONF_B64=${{ secrets.KRB5_CONF_B64 }};AZURE_SECRET=${{ secrets.AZURE_SECRET }}" - variables: "ARCH=${{ matrix.arch }};OS_PROJECT_NAME=${{ secrets.OS_PROJECT_NAME }};OS_USER_DOMAIN_NAME=${{ secrets.OS_USER_DOMAIN_NAME }};OS_PROJECT_DOMAIN_NAME=${{ secrets.OS_PROJECT_DOMAIN_NAME }};GCP_PROJECT=${{ secrets.GCP_PROJECT }};AWS_REGION=${{ secrets.AWS_REGION }};AZURE_SUBSCRIPTION_ID=${{ secrets.AZURE_SUBSCRIPTION_ID }};AZURE_CLIENT_ID=${{ secrets.AZURE_CLIENT_ID }};AZURE_TENANT=${{ secrets.AZURE_TENANT }}" + variables: "TEMPDIR=${{ steps.gen_tempdir.outputs.TEMPDIR }};ARCH=${{ matrix.arch }};OS_PROJECT_NAME=${{ secrets.OS_PROJECT_NAME }};OS_USER_DOMAIN_NAME=${{ secrets.OS_USER_DOMAIN_NAME }};OS_PROJECT_DOMAIN_NAME=${{ secrets.OS_PROJECT_DOMAIN_NAME }};GCP_PROJECT=${{ secrets.GCP_PROJECT }};AWS_REGION=${{ secrets.AWS_REGION }};AZURE_SUBSCRIPTION_ID=${{ secrets.AZURE_SUBSCRIPTION_ID }};AZURE_CLIENT_ID=${{ secrets.AZURE_CLIENT_ID }};AZURE_TENANT=${{ secrets.AZURE_TENANT }}" rhel94-replace: needs: pr-info @@ -107,6 +113,12 @@ jobs: ref: ${{ needs.pr-info.outputs.sha }} fetch-depth: 0 + - name: Generate TEMPDIR variable + id: gen_tempdir + run: | + TEMPDIR=$(mktemp -d -u) + echo "TEMPDIR=$TEMPDIR" >> $GITHUB_OUTPUT + - name: Run the tests uses: sclorg/testing-farm-as-github-action@v2 with: @@ -121,7 +133,7 @@ jobs: tmt_plan_regex: "/os-replace/" tf_scope: private secrets: "TIER1_IMAGE_URL=${{ secrets.RHEL94_TIER1_IMAGE_URL }};OS_USERNAME=${{ secrets.OS_USERNAME }};OS_PASSWORD=${{ secrets.OS_PASSWORD }};OS_AUTH_URL=${{ secrets.OS_AUTH_URL }};QUAY_USERNAME=${{ secrets.QUAY_USERNAME }};QUAY_PASSWORD=${{ secrets.QUAY_PASSWORD }};QUAY_SECRET=${{ secrets.QUAY_SECRET }};DOWNLOAD_NODE=${{ secrets.DOWNLOAD_NODE }};GCP_SERVICE_ACCOUNT_FILE_B64=${{ secrets.GCP_SERVICE_ACCOUNT_FILE_B64 }};AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }};AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }};CERT_URL=${{ secrets.CERT_URL }};RHC_AK=${{ secrets.RHC_AK }};RHC_ORGID=${{ secrets.RHC_ORGID }};BEAKER_KEYTAB_B64=${{ secrets.BEAKER_KEYTAB_B64 }};BEAKER_CLIENT_B64=${{ secrets.BEAKER_CLIENT_B64 }};KRB5_CONF_B64=${{ secrets.KRB5_CONF_B64 }};AZURE_SECRET=${{ secrets.AZURE_SECRET }}" - variables: "ARCH=${{ matrix.arch }};OS_PROJECT_NAME=${{ secrets.OS_PROJECT_NAME }};OS_USER_DOMAIN_NAME=${{ secrets.OS_USER_DOMAIN_NAME }};OS_PROJECT_DOMAIN_NAME=${{ secrets.OS_PROJECT_DOMAIN_NAME }};GCP_PROJECT=${{ secrets.GCP_PROJECT }};AWS_REGION=${{ secrets.AWS_REGION }};AZURE_SUBSCRIPTION_ID=${{ secrets.AZURE_SUBSCRIPTION_ID }};AZURE_CLIENT_ID=${{ secrets.AZURE_CLIENT_ID }};AZURE_TENANT=${{ secrets.AZURE_TENANT }}" + variables: "TEMPDIR=${{ steps.gen_tempdir.outputs.TEMPDIR }};ARCH=${{ matrix.arch }};OS_PROJECT_NAME=${{ secrets.OS_PROJECT_NAME }};OS_USER_DOMAIN_NAME=${{ secrets.OS_USER_DOMAIN_NAME }};OS_PROJECT_DOMAIN_NAME=${{ secrets.OS_PROJECT_DOMAIN_NAME }};GCP_PROJECT=${{ secrets.GCP_PROJECT }};AWS_REGION=${{ secrets.AWS_REGION }};AZURE_SUBSCRIPTION_ID=${{ secrets.AZURE_SUBSCRIPTION_ID }};AZURE_CLIENT_ID=${{ secrets.AZURE_CLIENT_ID }};AZURE_TENANT=${{ secrets.AZURE_TENANT }}" cs9-replace: needs: pr-info @@ -141,6 +153,12 @@ jobs: ref: ${{ needs.pr-info.outputs.sha }} fetch-depth: 0 + - name: Generate TEMPDIR variable + id: gen_tempdir + run: | + TEMPDIR=$(mktemp -d -u) + echo "TEMPDIR=$TEMPDIR" >> $GITHUB_OUTPUT + - name: Run the tests uses: sclorg/testing-farm-as-github-action@v2 with: @@ -155,7 +173,7 @@ jobs: tmt_plan_regex: "/os-replace/" tf_scope: private secrets: "TIER1_IMAGE_URL=${{ secrets.CS9_TIER1_IMAGE_URL }};OS_USERNAME=${{ secrets.OS_USERNAME }};OS_PASSWORD=${{ secrets.OS_PASSWORD }};OS_AUTH_URL=${{ secrets.OS_AUTH_URL }};QUAY_USERNAME=${{ secrets.QUAY_USERNAME }};QUAY_PASSWORD=${{ secrets.QUAY_PASSWORD }};QUAY_SECRET=${{ secrets.QUAY_SECRET }};GCP_SERVICE_ACCOUNT_FILE_B64=${{ secrets.GCP_SERVICE_ACCOUNT_FILE_B64 }};AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }};AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }};CERT_URL=${{ secrets.CERT_URL }};BEAKER_KEYTAB_B64=${{ secrets.BEAKER_KEYTAB_B64 }};BEAKER_CLIENT_B64=${{ secrets.BEAKER_CLIENT_B64 }};KRB5_CONF_B64=${{ secrets.KRB5_CONF_B64 }};AZURE_SECRET=${{ secrets.AZURE_SECRET }}" - variables: "ARCH=${{ matrix.arch }};OS_PROJECT_NAME=${{ secrets.OS_PROJECT_NAME }};OS_USER_DOMAIN_NAME=${{ secrets.OS_USER_DOMAIN_NAME }};OS_PROJECT_DOMAIN_NAME=${{ secrets.OS_PROJECT_DOMAIN_NAME }};GCP_PROJECT=${{ secrets.GCP_PROJECT }};AWS_REGION=${{ secrets.AWS_REGION }};AZURE_SUBSCRIPTION_ID=${{ secrets.AZURE_SUBSCRIPTION_ID }};AZURE_CLIENT_ID=${{ secrets.AZURE_CLIENT_ID }};AZURE_TENANT=${{ secrets.AZURE_TENANT }}" + variables: "TEMPDIR=${{ steps.gen_tempdir.outputs.TEMPDIR }};ARCH=${{ matrix.arch }};OS_PROJECT_NAME=${{ secrets.OS_PROJECT_NAME }};OS_USER_DOMAIN_NAME=${{ secrets.OS_USER_DOMAIN_NAME }};OS_PROJECT_DOMAIN_NAME=${{ secrets.OS_PROJECT_DOMAIN_NAME }};GCP_PROJECT=${{ secrets.GCP_PROJECT }};AWS_REGION=${{ secrets.AWS_REGION }};AZURE_SUBSCRIPTION_ID=${{ secrets.AZURE_SUBSCRIPTION_ID }};AZURE_CLIENT_ID=${{ secrets.AZURE_CLIENT_ID }};AZURE_TENANT=${{ secrets.AZURE_TENANT }}" cs9-dev-replace: needs: pr-info @@ -175,6 +193,12 @@ jobs: ref: ${{ needs.pr-info.outputs.sha }} fetch-depth: 0 + - name: Generate TEMPDIR variable + id: gen_tempdir + run: | + TEMPDIR=$(mktemp -d -u) + echo "TEMPDIR=$TEMPDIR" >> $GITHUB_OUTPUT + - name: Run the tests uses: sclorg/testing-farm-as-github-action@v2 with: @@ -189,7 +213,7 @@ jobs: tmt_plan_regex: "/os-replace/" tf_scope: private secrets: "TIER1_IMAGE_URL=${{ secrets.CS9_DEV_TIER1_IMAGE_URL }};OS_USERNAME=${{ secrets.OS_USERNAME }};OS_PASSWORD=${{ secrets.OS_PASSWORD }};OS_AUTH_URL=${{ secrets.OS_AUTH_URL }};QUAY_USERNAME=${{ secrets.QUAY_USERNAME }};QUAY_PASSWORD=${{ secrets.QUAY_PASSWORD }};QUAY_SECRET=${{ secrets.QUAY_SECRET }};GCP_SERVICE_ACCOUNT_FILE_B64=${{ secrets.GCP_SERVICE_ACCOUNT_FILE_B64 }};AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }};AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }};CERT_URL=${{ secrets.CERT_URL }};RHC_AK=${{ secrets.RHC_AK }};RHC_ORGID=${{ secrets.RHC_ORGID }};BEAKER_KEYTAB_B64=${{ secrets.BEAKER_KEYTAB_B64 }};BEAKER_CLIENT_B64=${{ secrets.BEAKER_CLIENT_B64 }};KRB5_CONF_B64=${{ secrets.KRB5_CONF_B64 }};AZURE_SECRET=${{ secrets.AZURE_SECRET }}" - variables: "ARCH=${{ matrix.arch }};OS_PROJECT_NAME=${{ secrets.OS_PROJECT_NAME }};OS_USER_DOMAIN_NAME=${{ secrets.OS_USER_DOMAIN_NAME }};OS_PROJECT_DOMAIN_NAME=${{ secrets.OS_PROJECT_DOMAIN_NAME }};GCP_PROJECT=${{ secrets.GCP_PROJECT }};AWS_REGION=${{ secrets.AWS_REGION }};AZURE_SUBSCRIPTION_ID=${{ secrets.AZURE_SUBSCRIPTION_ID }};AZURE_CLIENT_ID=${{ secrets.AZURE_CLIENT_ID }};AZURE_TENANT=${{ secrets.AZURE_TENANT }}" + variables: "TEMPDIR=${{ steps.gen_tempdir.outputs.TEMPDIR }};ARCH=${{ matrix.arch }};OS_PROJECT_NAME=${{ secrets.OS_PROJECT_NAME }};OS_USER_DOMAIN_NAME=${{ secrets.OS_USER_DOMAIN_NAME }};OS_PROJECT_DOMAIN_NAME=${{ secrets.OS_PROJECT_DOMAIN_NAME }};GCP_PROJECT=${{ secrets.GCP_PROJECT }};AWS_REGION=${{ secrets.AWS_REGION }};AZURE_SUBSCRIPTION_ID=${{ secrets.AZURE_SUBSCRIPTION_ID }};AZURE_CLIENT_ID=${{ secrets.AZURE_CLIENT_ID }};AZURE_TENANT=${{ secrets.AZURE_TENANT }}" cs9-layered: needs: pr-info @@ -208,6 +232,12 @@ jobs: ref: ${{ needs.pr-info.outputs.sha }} fetch-depth: 0 + - name: Generate TEMPDIR variable + id: gen_tempdir + run: | + TEMPDIR=$(mktemp -d -u) + echo "TEMPDIR=$TEMPDIR" >> $GITHUB_OUTPUT + - name: Run the tests uses: sclorg/testing-farm-as-github-action@v2 with: @@ -222,7 +252,7 @@ jobs: tmt_plan_regex: "/os-replace/aws" tf_scope: private secrets: "TIER1_IMAGE_URL=${{ secrets.CS9_TIER1_IMAGE_URL }};OS_USERNAME=${{ secrets.OS_USERNAME }};OS_PASSWORD=${{ secrets.OS_PASSWORD }};OS_AUTH_URL=${{ secrets.OS_AUTH_URL }};QUAY_USERNAME=${{ secrets.QUAY_USERNAME }};QUAY_PASSWORD=${{ secrets.QUAY_PASSWORD }};QUAY_SECRET=${{ secrets.QUAY_SECRET }};GCP_SERVICE_ACCOUNT_FILE_B64=${{ secrets.GCP_SERVICE_ACCOUNT_FILE_B64 }};AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }};AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }};CERT_URL=${{ secrets.CERT_URL }}" - variables: "ARCH=${{ matrix.arch }};OS_PROJECT_NAME=${{ secrets.OS_PROJECT_NAME }};OS_USER_DOMAIN_NAME=${{ secrets.OS_USER_DOMAIN_NAME }};OS_PROJECT_DOMAIN_NAME=${{ secrets.OS_PROJECT_DOMAIN_NAME }};GCP_PROJECT=${{ secrets.GCP_PROJECT }};AWS_REGION=${{ secrets.AWS_REGION }};LAYERED_IMAGE=nvidia" + variables: "TEMPDIR=${{ steps.gen_tempdir.outputs.TEMPDIR }};ARCH=${{ matrix.arch }};OS_PROJECT_NAME=${{ secrets.OS_PROJECT_NAME }};OS_USER_DOMAIN_NAME=${{ secrets.OS_USER_DOMAIN_NAME }};OS_PROJECT_DOMAIN_NAME=${{ secrets.OS_PROJECT_DOMAIN_NAME }};GCP_PROJECT=${{ secrets.GCP_PROJECT }};AWS_REGION=${{ secrets.AWS_REGION }};LAYERED_IMAGE=nvidia" rhel94-layered: needs: pr-info @@ -241,6 +271,12 @@ jobs: ref: ${{ needs.pr-info.outputs.sha }} fetch-depth: 0 + - name: Generate TEMPDIR variable + id: gen_tempdir + run: | + TEMPDIR=$(mktemp -d -u) + echo "TEMPDIR=$TEMPDIR" >> $GITHUB_OUTPUT + - name: Run the tests uses: sclorg/testing-farm-as-github-action@v2 with: @@ -255,7 +291,7 @@ jobs: tmt_plan_regex: "/os-replace/aws" tf_scope: private secrets: "TIER1_IMAGE_URL=${{ secrets.RHEL94_TIER1_IMAGE_URL }};OS_USERNAME=${{ secrets.OS_USERNAME }};OS_PASSWORD=${{ secrets.OS_PASSWORD }};OS_AUTH_URL=${{ secrets.OS_AUTH_URL }};QUAY_USERNAME=${{ secrets.QUAY_USERNAME }};QUAY_PASSWORD=${{ secrets.QUAY_PASSWORD }};QUAY_SECRET=${{ secrets.QUAY_SECRET }};DOWNLOAD_NODE=${{ secrets.DOWNLOAD_NODE }};GCP_SERVICE_ACCOUNT_FILE_B64=${{ secrets.GCP_SERVICE_ACCOUNT_FILE_B64 }};AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }};AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }};CERT_URL=${{ secrets.CERT_URL }};RHC_AK=${{ secrets.RHC_AK }};RHC_ORGID=${{ secrets.RHC_ORGID }}" - variables: "ARCH=${{ matrix.arch }};OS_PROJECT_NAME=${{ secrets.OS_PROJECT_NAME }};OS_USER_DOMAIN_NAME=${{ secrets.OS_USER_DOMAIN_NAME }};OS_PROJECT_DOMAIN_NAME=${{ secrets.OS_PROJECT_DOMAIN_NAME }};GCP_PROJECT=${{ secrets.GCP_PROJECT }};AWS_REGION=${{ secrets.AWS_REGION }};LAYERED_IMAGE=nvidia" + variables: "TEMPDIR=${{ steps.gen_tempdir.outputs.TEMPDIR }};ARCH=${{ matrix.arch }};OS_PROJECT_NAME=${{ secrets.OS_PROJECT_NAME }};OS_USER_DOMAIN_NAME=${{ secrets.OS_USER_DOMAIN_NAME }};OS_PROJECT_DOMAIN_NAME=${{ secrets.OS_PROJECT_DOMAIN_NAME }};GCP_PROJECT=${{ secrets.GCP_PROJECT }};AWS_REGION=${{ secrets.AWS_REGION }};LAYERED_IMAGE=nvidia" rhel95-layered: needs: pr-info @@ -274,6 +310,12 @@ jobs: ref: ${{ needs.pr-info.outputs.sha }} fetch-depth: 0 + - name: Generate TEMPDIR variable + id: gen_tempdir + run: | + TEMPDIR=$(mktemp -d -u) + echo "TEMPDIR=$TEMPDIR" >> $GITHUB_OUTPUT + - name: Run the tests uses: sclorg/testing-farm-as-github-action@v2 with: @@ -288,7 +330,7 @@ jobs: tmt_plan_regex: "/os-replace/aws" tf_scope: private secrets: "TIER1_IMAGE_URL=${{ secrets.RHEL95_TIER1_IMAGE_URL }};OS_USERNAME=${{ secrets.OS_USERNAME }};OS_PASSWORD=${{ secrets.OS_PASSWORD }};OS_AUTH_URL=${{ secrets.OS_AUTH_URL }};QUAY_USERNAME=${{ secrets.QUAY_USERNAME }};QUAY_PASSWORD=${{ secrets.QUAY_PASSWORD }};QUAY_SECRET=${{ secrets.QUAY_SECRET }};DOWNLOAD_NODE=${{ secrets.DOWNLOAD_NODE }};GCP_SERVICE_ACCOUNT_FILE_B64=${{ secrets.GCP_SERVICE_ACCOUNT_FILE_B64 }};AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }};AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }};CERT_URL=${{ secrets.CERT_URL }};RHC_AK=${{ secrets.RHC_AK }};RHC_ORGID=${{ secrets.RHC_ORGID }}" - variables: "ARCH=${{ matrix.arch }};OS_PROJECT_NAME=${{ secrets.OS_PROJECT_NAME }};OS_USER_DOMAIN_NAME=${{ secrets.OS_USER_DOMAIN_NAME }};OS_PROJECT_DOMAIN_NAME=${{ secrets.OS_PROJECT_DOMAIN_NAME }};GCP_PROJECT=${{ secrets.GCP_PROJECT }};AWS_REGION=${{ secrets.AWS_REGION }};LAYERED_IMAGE=nvidia" + variables: "TEMPDIR=${{ steps.gen_tempdir.outputs.TEMPDIR }};ARCH=${{ matrix.arch }};OS_PROJECT_NAME=${{ secrets.OS_PROJECT_NAME }};OS_USER_DOMAIN_NAME=${{ secrets.OS_USER_DOMAIN_NAME }};OS_PROJECT_DOMAIN_NAME=${{ secrets.OS_PROJECT_DOMAIN_NAME }};GCP_PROJECT=${{ secrets.GCP_PROJECT }};AWS_REGION=${{ secrets.AWS_REGION }};LAYERED_IMAGE=nvidia" fedora-40-replace: needs: pr-info @@ -308,6 +350,12 @@ jobs: ref: ${{ needs.pr-info.outputs.sha }} fetch-depth: 0 + - name: Generate TEMPDIR variable + id: gen_tempdir + run: | + TEMPDIR=$(mktemp -d -u) + echo "TEMPDIR=$TEMPDIR" >> $GITHUB_OUTPUT + - name: Run the tests uses: sclorg/testing-farm-as-github-action@v2 with: @@ -322,7 +370,7 @@ jobs: tmt_plan_regex: "/os-replace/" tf_scope: private secrets: "OS_USERNAME=${{ secrets.OS_USERNAME }};OS_PASSWORD=${{ secrets.OS_PASSWORD }};OS_AUTH_URL=${{ secrets.OS_AUTH_URL }};QUAY_USERNAME=${{ secrets.QUAY_USERNAME }};QUAY_PASSWORD=${{ secrets.QUAY_PASSWORD }};QUAY_SECRET=${{ secrets.QUAY_SECRET }};GCP_SERVICE_ACCOUNT_FILE_B64=${{ secrets.GCP_SERVICE_ACCOUNT_FILE_B64 }};AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }};AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }};CERT_URL=${{ secrets.CERT_URL }};BEAKER_KEYTAB_B64=${{ secrets.BEAKER_KEYTAB_B64 }};BEAKER_CLIENT_B64=${{ secrets.BEAKER_CLIENT_B64 }};KRB5_CONF_B64=${{ secrets.KRB5_CONF_B64 }};AZURE_SECRET=${{ secrets.AZURE_SECRET }}" - variables: "ARCH=${{ matrix.arch }};OS_PROJECT_NAME=${{ secrets.OS_PROJECT_NAME }};OS_USER_DOMAIN_NAME=${{ secrets.OS_USER_DOMAIN_NAME }};OS_PROJECT_DOMAIN_NAME=${{ secrets.OS_PROJECT_DOMAIN_NAME }};GCP_PROJECT=${{ secrets.GCP_PROJECT }};AWS_REGION=${{ secrets.AWS_REGION }};AZURE_SUBSCRIPTION_ID=${{ secrets.AZURE_SUBSCRIPTION_ID }};AZURE_CLIENT_ID=${{ secrets.AZURE_CLIENT_ID }};AZURE_TENANT=${{ secrets.AZURE_TENANT }};TIER1_IMAGE_URL=${{ vars.FEDORA_40_TIER1_IMAGE_URL }}" + variables: "TEMPDIR=${{ steps.gen_tempdir.outputs.TEMPDIR }};ARCH=${{ matrix.arch }};OS_PROJECT_NAME=${{ secrets.OS_PROJECT_NAME }};OS_USER_DOMAIN_NAME=${{ secrets.OS_USER_DOMAIN_NAME }};OS_PROJECT_DOMAIN_NAME=${{ secrets.OS_PROJECT_DOMAIN_NAME }};GCP_PROJECT=${{ secrets.GCP_PROJECT }};AWS_REGION=${{ secrets.AWS_REGION }};AZURE_SUBSCRIPTION_ID=${{ secrets.AZURE_SUBSCRIPTION_ID }};AZURE_CLIENT_ID=${{ secrets.AZURE_CLIENT_ID }};AZURE_TENANT=${{ secrets.AZURE_TENANT }};TIER1_IMAGE_URL=${{ vars.FEDORA_40_TIER1_IMAGE_URL }}" fedora-41-replace: needs: pr-info @@ -342,6 +390,12 @@ jobs: ref: ${{ needs.pr-info.outputs.sha }} fetch-depth: 0 + - name: Generate TEMPDIR variable + id: gen_tempdir + run: | + TEMPDIR=$(mktemp -d -u) + echo "TEMPDIR=$TEMPDIR" >> $GITHUB_OUTPUT + - name: Run the tests uses: sclorg/testing-farm-as-github-action@v2 with: @@ -356,4 +410,4 @@ jobs: tmt_plan_regex: "/os-replace/" tf_scope: private secrets: "OS_USERNAME=${{ secrets.OS_USERNAME }};OS_PASSWORD=${{ secrets.OS_PASSWORD }};OS_AUTH_URL=${{ secrets.OS_AUTH_URL }};QUAY_USERNAME=${{ secrets.QUAY_USERNAME }};QUAY_PASSWORD=${{ secrets.QUAY_PASSWORD }};QUAY_SECRET=${{ secrets.QUAY_SECRET }};GCP_SERVICE_ACCOUNT_FILE_B64=${{ secrets.GCP_SERVICE_ACCOUNT_FILE_B64 }};AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }};AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }};CERT_URL=${{ secrets.CERT_URL }};BEAKER_KEYTAB_B64=${{ secrets.BEAKER_KEYTAB_B64 }};BEAKER_CLIENT_B64=${{ secrets.BEAKER_CLIENT_B64 }};KRB5_CONF_B64=${{ secrets.KRB5_CONF_B64 }};AZURE_SECRET=${{ secrets.AZURE_SECRET }}" - variables: "ARCH=${{ matrix.arch }};OS_PROJECT_NAME=${{ secrets.OS_PROJECT_NAME }};OS_USER_DOMAIN_NAME=${{ secrets.OS_USER_DOMAIN_NAME }};OS_PROJECT_DOMAIN_NAME=${{ secrets.OS_PROJECT_DOMAIN_NAME }};GCP_PROJECT=${{ secrets.GCP_PROJECT }};AWS_REGION=${{ secrets.AWS_REGION }};AZURE_SUBSCRIPTION_ID=${{ secrets.AZURE_SUBSCRIPTION_ID }};AZURE_CLIENT_ID=${{ secrets.AZURE_CLIENT_ID }};AZURE_TENANT=${{ secrets.AZURE_TENANT }};TIER1_IMAGE_URL=${{ vars.FEDORA_41_TIER1_IMAGE_URL }}" + variables: "TEMPDIR=${{ steps.gen_tempdir.outputs.TEMPDIR }};ARCH=${{ matrix.arch }};OS_PROJECT_NAME=${{ secrets.OS_PROJECT_NAME }};OS_USER_DOMAIN_NAME=${{ secrets.OS_USER_DOMAIN_NAME }};OS_PROJECT_DOMAIN_NAME=${{ secrets.OS_PROJECT_DOMAIN_NAME }};GCP_PROJECT=${{ secrets.GCP_PROJECT }};AWS_REGION=${{ secrets.AWS_REGION }};AZURE_SUBSCRIPTION_ID=${{ secrets.AZURE_SUBSCRIPTION_ID }};AZURE_CLIENT_ID=${{ secrets.AZURE_CLIENT_ID }};AZURE_TENANT=${{ secrets.AZURE_TENANT }};TIER1_IMAGE_URL=${{ vars.FEDORA_41_TIER1_IMAGE_URL }}"