Skip to content

Fix the scanning for 1.9 #7

Fix the scanning for 1.9

Fix the scanning for 1.9 #7

Workflow file for this run

name: Test
on:
pull_request:
jobs:
test-job:
name: First step that will fail
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Checkout kubeflow-ci
uses: actions/checkout@v3
with:
repository: canonical/kubeflow-ci.git
sparse-checkout: scripts/images/
ref: main
path: kubeflow-ci
- name: Get images
id: images
run: |
set -Eeuo pipefail
BUNDLE="releases/1.900/stable"
BUNDLE_SPLIT=(${BUNDLE//\// })
RELEASE=${BUNDLE_SPLIT[1]}
RISK=${BUNDLE_SPLIT[2]}
IMAGES=$(./kubeflow-ci/scripts/images/get-all-images.sh ${BUNDLE}/bundle.yaml ${RELEASE}-${RISK})
echo "$IMAGES" > ./image_list.txt
echo "Image list:"
cat ./image_list.txt
echo "release_risk=${RELEASE}-${RISK}" >> $GITHUB_OUTPUT
- name: Shouldn't be here
run: echo "WHy are you here?"