diff --git a/.github/workflows/precompiled.yaml b/.github/workflows/precompiled.yaml index 6045bf9f..6269bf33 100644 --- a/.github/workflows/precompiled.yaml +++ b/.github/workflows/precompiled.yaml @@ -131,17 +131,6 @@ jobs: docker images echo "SHIVA 1111 $OUT_IMAGE" - # SHIVA - echo "$BASE_TARGET ${{ matrix.flavor }} ${{ matrix.driver_branch }} ${{ matrix.dist }}" - export REGCTL_VERSION=v0.7.1 - mkdir -p bin - curl -sSLo bin/regctl https://github.com/regclient/regclient/releases/download/${REGCTL_VERSION}/regctl-linux-amd64 - chmod a+x bin/regctl - export PATH=$(pwd)/bin:${PATH} - regctl -v debug image get-file ghcr.io/nvidia/driver:base-${BASE_TARGET}-${{ matrix.flavor }}-${{ matrix.driver_branch }} /var/kernel_version.txt ./kernel_version1.txt - cat ./kernel_version1.txt - # SHIVA - echo "SHIVA 2222222" @@ -230,7 +219,7 @@ jobs: DRIVER_BRANCHES=($(echo "$driver_branch_json" | jq -r '.[]')) # SHIVA - ./tests/scripts/findkernelversion.sh "$BASE_TARGET" nvidia 550 ${DIST} + docker images exit 1 # SHIVA diff --git a/base/generate-ci-config b/base/generate-ci-config index 56b8daa9..5f560df5 100755 --- a/base/generate-ci-config +++ b/base/generate-ci-config @@ -22,7 +22,7 @@ SUPPORTED_KERNELS=$(apt-cache search linux-objects-nvidia-${DRIVER_BRANCH}-serve DRIVER_VERSION=$(apt-cache show nvidia-utils-${DRIVER_BRANCH}-server |grep Version |awk '{print $2}' | cut -d'-' -f1 | head -n 1) # Latest supported kernel -# only consider suffix -nvidia +# only consider suffix -KERNEL_FLAVOR not KERNEL_FLAVOR-* (e.g. KERNEL_FLAVOR-lowlatency) SK=$(echo "$SUPPORTED_KERNELS" | awk -v f="$KERNEL_FLAVOR" '$0 ~ "-" f "$" {last=$0} END{print last}') # Write to file