Skip to content

Commit

Permalink
enhance e2e test and publish image
Browse files Browse the repository at this point in the history
Signed-off-by: shiva kumar <[email protected]>
  • Loading branch information
shivakunv committed Sep 18, 2024
1 parent 14e046c commit d0eeb09
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/precompiled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -225,10 +225,11 @@ jobs:
KERNEL_VERSION="${{ matrix.kernel_version }}"
echo "KERNEL_VERSION=$KERNEL_VERSION" >> $GITHUB_ENV
echo "DIST=ubuntu22.04" >> $GITHUB_ENV
driver_branch_json='${{ needs.set-driver-version-matrix.outputs.driver_branch }}'
driver_branch_json="${{ needs.set-driver-version-matrix.outputs.driver_branch }}"
echo "SHIVA ======== $driver_branch_json"
DRIVER_BRANCHES=($(echo "$driver_branch_json" | jq -r '.[]')) >> $GITHUB_ENV
echo "SHIVA ======== DRIVER_BRANCHES=$(echo "$driver_branch_json" | jq -r '.[]') "
DRIVER_BRANCHES=($(echo "$driver_branch_json" | jq -r '.[]'))
echo "DRIVER_BRANCHES=${DRIVER_BRANCHES[*]}" >> $GITHUB_ENV
echo "SHIVA ======== $DRIVER_BRANCHES[@] "
- name: Install GitHub CLI
run: |
Expand Down Expand Up @@ -268,7 +269,10 @@ jobs:
# for precompiled driver we are setting driver branch as driver version
echo "SHIVA1==${DRIVER_BRANCHES[@]}"
echo "SHIVA========${DRIVER_BRANCHES}"
for DRIVER_VERSION in $DRIVER_BRANCHES; do
DRIVER_BRANCHES=(${{ env.DRIVER_BRANCHES }})
echo "SHIVA1==${DRIVER_BRANCHES[@]}"
echo "SHIVA========${DRIVER_BRANCHES}"
for DRIVER_VERSION in "${DRIVER_BRANCHES[@]}"; do
echo "Running e2e for DRIVER_VERSION=$DRIVER_VERSION"
image="driver-images-${DRIVER_VERSION}-${KERNEL_VERSION}-${DIST}"
echo "Downloading $image in tests directory"
Expand Down

0 comments on commit d0eeb09

Please sign in to comment.