diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ea4c20e3..f1b340d4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -54,7 +54,7 @@ jobs: echo "private_key=${{ github.workspace }}/key.pem" >> $GITHUB_ENV echo "${{ secrets.AWS_SSH_KEY }}" > ${{ github.workspace }}/key.pem && chmod 400 ${{ github.workspace }}/key.pem echo "COMMIT_SHORT_SHA=${GITHUB_SHA:0:8}" >> $GITHUB_ENV - DRIVER_VERSIONS=("535.183.06" "550.90.07") + DRIVER_VERSIONS=$(grep '^DRIVER_VERSIONS ?=' versions.mk | awk -F' ?= ' '{print $2}') echo "DRIVER_VERSIONS=$DRIVER_VERSIONS" >> $GITHUB_ENV echo "PRIVATE_REGISTRY=ghcr.io" >> $GITHUB_ENV @@ -67,10 +67,10 @@ jobs: for DRIVER_VERSION in ${DRIVER_VERSIONS}; do echo "Running e2e for DRIVER_VERSION=$DRIVER_VERSION" status=0 - TEST_CASE_ARGS="${GPU_OPERATOR_OPTIONS} --set driver.version=${COMMIT_SHORT_SHA}-${DRIVER_VERSION}" + OPERATOR_OPTIONS="${GPU_OPERATOR_OPTIONS} --set driver.version=${COMMIT_SHORT_SHA}-${DRIVER_VERSION}" # add escape character for space - TEST_CASE_ARGS=$(printf '%q ' "$TEST_CASE_ARGS") - ./tests/ci-run-e2e.sh "${TEST_CASE}" "${TEST_CASE_ARGS}" || status=$? + OPERATOR_OPTIONS=$(printf '%q ' "$OPERATOR_OPTIONS") + ./tests/ci-run-e2e.sh "${TEST_CASE}" "${OPERATOR_OPTIONS}" || status=$? if [ $status -ne 0 ]; then echo "e2e validation failed for driver version $DRIVER_VERSION with status $status" rc=$status diff --git a/.github/workflows/image.yaml b/.github/workflows/image.yaml index 5bd1cb9e..c5d38d2e 100644 --- a/.github/workflows/image.yaml +++ b/.github/workflows/image.yaml @@ -16,17 +16,17 @@ name: image on: - pull_request: - types: - - opened - - synchronize - branches: - - main - - release-* + # pull_request: + # types: + # - opened + # - synchronize + # branches: + # - main + # - release-* push: branches: - - main - - release-* + # - main + # - release-* - no-test jobs: diff --git a/.github/workflows/precompiled.yaml b/.github/workflows/precompiled.yaml index 0614052b..91893627 100644 --- a/.github/workflows/precompiled.yaml +++ b/.github/workflows/precompiled.yaml @@ -255,7 +255,7 @@ jobs: for DRIVER_BRANCH in $driver_branch; do image="driver-images-${DRIVER_BRANCH}-${KERNEL_VERSION}-${DIST}" echo "Downloading $image" - gh run download --name $image + GH_DEBUG=1 gh run download --name $image --verbose # gh api --method GET "/repos/${{ github.repository }}/actions/artifacts" \ # -H "Accept: application/vnd.github.v3+json" | \ # jq ".artifacts[] | select(.name == \"$image\") | .archive_download_url" | \