@@ -17,20 +17,7 @@ name: Forward Compatibility
1717on :
1818 schedule :
1919 - cron : ' 0 2 * * 1' # Weekly on Monday at 2 AM UTC
20- workflow_dispatch :
21- inputs :
22- toolkit_image :
23- description : ' Override container-toolkit image'
24- required : false
25- type : string
26- device_plugin_image :
27- description : ' Override device-plugin image'
28- required : false
29- type : string
30- mig_manager_image :
31- description : ' Override mig-manager image'
32- required : false
33- type : string
20+ workflow_dispatch : # Manual trigger
3421
3522concurrency :
3623 group : ${{ github.workflow }}-${{ github.ref }}
@@ -59,32 +46,17 @@ jobs:
5946 env :
6047 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6148 run : |
62- # Use workflow_dispatch inputs if provided, otherwise fetch latest
63- if [[ -n "${{ inputs.toolkit_image }}" ]]; then
64- TOOLKIT="${{ inputs.toolkit_image }}"
65- echo "::notice::Using provided toolkit image: ${TOOLKIT}"
66- else
67- echo "::notice::Fetching latest container-toolkit image..."
68- TOOLKIT=$(.github/scripts/get-latest-images.sh toolkit)
69- fi
49+ # Fetch latest images from component repositories
50+ echo "::notice::Fetching latest container-toolkit image..."
51+ TOOLKIT=$(.github/scripts/get-latest-images.sh toolkit)
7052 echo "toolkit_image=${TOOLKIT}" >> $GITHUB_OUTPUT
7153
72- if [[ -n "${{ inputs.device_plugin_image }}" ]]; then
73- DEVICE_PLUGIN="${{ inputs.device_plugin_image }}"
74- echo "::notice::Using provided device-plugin image: ${DEVICE_PLUGIN}"
75- else
76- echo "::notice::Fetching latest device-plugin image..."
77- DEVICE_PLUGIN=$(.github/scripts/get-latest-images.sh device-plugin)
78- fi
54+ echo "::notice::Fetching latest device-plugin image..."
55+ DEVICE_PLUGIN=$(.github/scripts/get-latest-images.sh device-plugin)
7956 echo "device_plugin_image=${DEVICE_PLUGIN}" >> $GITHUB_OUTPUT
8057
81- if [[ -n "${{ inputs.mig_manager_image }}" ]]; then
82- MIG_MANAGER="${{ inputs.mig_manager_image }}"
83- echo "::notice::Using provided mig-manager image: ${MIG_MANAGER}"
84- else
85- echo "::notice::Fetching latest mig-manager image..."
86- MIG_MANAGER=$(.github/scripts/get-latest-images.sh mig-manager)
87- fi
58+ echo "::notice::Fetching latest mig-manager image..."
59+ MIG_MANAGER=$(.github/scripts/get-latest-images.sh mig-manager)
8860 echo "mig_manager_image=${MIG_MANAGER}" >> $GITHUB_OUTPUT
8961
9062 echo "::notice::=== Forward Compatibility Test Configuration ==="
0 commit comments