-
Notifications
You must be signed in to change notification settings - Fork 51
test(e2e): introduces e2e test skeleton #774
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 37 commits
3aff1b7
d3b53d2
c7e76bd
d2adcf3
5e0e874
2752ce1
20e5869
5aceb3b
5299d05
2b3a4c6
7b6f752
1b07471
1121cd4
1266477
f270cfa
ba58345
405cad4
9587f18
dfade03
176da03
8210c45
e75b15e
6be1e7c
e7b015c
a4ca343
1927931
0623b62
8d62551
48d6b0b
b56022a
a878d75
492d47d
01e714a
6392bcd
6655269
cc45a46
1ba1e0c
03b15b5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -14,6 +14,10 @@ inputs: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| description: 'Additional arguments to pass to minikube start' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| required: false | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| default: '' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| addons: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| description: 'Choose optional addons to install. Valid options: metallb, ingress, gcp-auth, registry ...' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| required: false | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| default: '' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| runs: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| using: "composite" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
@@ -29,11 +33,34 @@ runs: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| minikube-version: '1.35.0' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| kubernetes-version: 'v1.30.7' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| driver: ${{ inputs.driver }} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| addons: ${{ inputs.addons }} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| wait: 'all' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| cpus: 'max' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| memory: 'max' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| start-args: --wait-timeout=6m0s --nodes=${{ inputs.nodes }} ${{ inputs.start-args }} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - name: Configure MetalLB for Minikube | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| if: ${{ contains(inputs.addons, 'metallb') }} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| shell: bash | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| run: | | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| IP=$(minikube ip) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| PREFIX=${IP%.*} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| START=${PREFIX}.200 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| END=${PREFIX}.235 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| kubectl apply -f - <<EOF | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| apiVersion: v1 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| kind: ConfigMap | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| metadata: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| namespace: metallb-system | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| name: config | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| data: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| config: | | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| address-pools: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - name: default | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| protocol: layer2 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| addresses: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - ${START}-${END} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| EOF | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Comment on lines
+41
to
+63
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Race condition: MetalLB CRs applied before namespace exists
Minimal fix – wait for the namespace: - IP=$(minikube ip)
+ # Wait until the metallb-system namespace appears (max 60s)
+ for i in {1..12}; do
+ kubectl get ns metallb-system && break || sleep 5
+ done
+
+ IP=$(minikube ip)📝 Committable suggestion
Suggested change
🧰 Tools🪛 YAMLlint (1.37.1)[error] 49-49: trailing spaces (trailing-spaces) 🤖 Prompt for AI Agents |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - name: Check Kubernetes pods | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| shell: bash | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| run: kubectl get pods -n kube-system | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's copy-paste from main |
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,176 @@ | ||||||||||||||||||||||||||
| name: LLMInferenceService E2E Tests | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| on: | ||||||||||||||||||||||||||
| pull_request: | ||||||||||||||||||||||||||
| branches: [master, release*, feature-llmd-* ] | ||||||||||||||||||||||||||
| paths: | ||||||||||||||||||||||||||
| - "**" | ||||||||||||||||||||||||||
| - "!.github/**" | ||||||||||||||||||||||||||
| - "!docs/**" | ||||||||||||||||||||||||||
| - "!**.md" | ||||||||||||||||||||||||||
| - ".github/workflows/e2e-test-llmisvc.yml" | ||||||||||||||||||||||||||
| workflow_dispatch: | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| env: | ||||||||||||||||||||||||||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||||||||||||||||||||||||||
| DOCKER_IMAGES_PATH: "/mnt/docker-images" | ||||||||||||||||||||||||||
| DOCKER_REPO: "kserve" | ||||||||||||||||||||||||||
| # artifact prefixes for bulk download | ||||||||||||||||||||||||||
| PREDICTOR_ARTIFACT_PREFIX: "pred" | ||||||||||||||||||||||||||
| EXPLAINER_ARTIFACT_PREFIX: "exp" | ||||||||||||||||||||||||||
| TRANSFORMER_ARTIFACT_PREFIX: "trans" | ||||||||||||||||||||||||||
| GRAPH_ARTIFACT_PREFIX: "graph" | ||||||||||||||||||||||||||
| BASE_ARTIFACT_PREFIX: "base" | ||||||||||||||||||||||||||
| # Controller images | ||||||||||||||||||||||||||
| CONTROLLER_IMG: "kserve-controller" | ||||||||||||||||||||||||||
| LOCALMODEL_CONTROLLER_IMG: "kserve-localmodel-controller" | ||||||||||||||||||||||||||
| LOCALMODEL_AGENT_IMG: "kserve-localmodelnode-agent" | ||||||||||||||||||||||||||
| STORAGE_INIT_IMG: "storage-initializer" | ||||||||||||||||||||||||||
| AGENT_IMG: "agent" | ||||||||||||||||||||||||||
| ROUTER_IMG: "router" | ||||||||||||||||||||||||||
| # Predictor runtime server images | ||||||||||||||||||||||||||
| SKLEARN_IMG: "sklearnserver" | ||||||||||||||||||||||||||
| XGB_IMG: "xgbserver" | ||||||||||||||||||||||||||
| LGB_IMG: "lgbserver" | ||||||||||||||||||||||||||
| PMML_IMG: "pmmlserver" | ||||||||||||||||||||||||||
| PADDLE_IMG: "paddleserver" | ||||||||||||||||||||||||||
| CUSTOM_MODEL_GRPC_IMG: "custom-model-grpc" | ||||||||||||||||||||||||||
| CUSTOM_MODEL_GRPC_IMG_TAG: "kserve/custom-model-grpc:${{ github.sha }}" | ||||||||||||||||||||||||||
| HUGGINGFACE_IMG: "huggingfaceserver" | ||||||||||||||||||||||||||
| # Explainer images | ||||||||||||||||||||||||||
| ART_IMG: "art-explainer" | ||||||||||||||||||||||||||
| # Transformer images | ||||||||||||||||||||||||||
| IMAGE_TRANSFORMER_IMG: "image-transformer" | ||||||||||||||||||||||||||
| IMAGE_TRANSFORMER_IMG_TAG: "kserve/image-transformer:${{ github.sha }}" | ||||||||||||||||||||||||||
| CUSTOM_TRANSFORMER_GRPC_IMG: "custom-image-transformer-grpc" | ||||||||||||||||||||||||||
| # Graph images | ||||||||||||||||||||||||||
| SUCCESS_200_ISVC_IMG: "success-200-isvc" | ||||||||||||||||||||||||||
| ERROR_404_ISVC_IMG: "error-404-isvc" | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| concurrency: | ||||||||||||||||||||||||||
| group: ${{ github.workflow }}-${{ github.ref }} | ||||||||||||||||||||||||||
| cancel-in-progress: true | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| jobs: | ||||||||||||||||||||||||||
| test-llmisvc: | ||||||||||||||||||||||||||
| if: false | ||||||||||||||||||||||||||
| runs-on: ubuntu-22.04 | ||||||||||||||||||||||||||
| needs: [ kserve-image-build ] | ||||||||||||||||||||||||||
| steps: | ||||||||||||||||||||||||||
| - name: Checkout source | ||||||||||||||||||||||||||
| uses: actions/checkout@v4 | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| - name: Free-up disk space | ||||||||||||||||||||||||||
| uses: ./.github/actions/free-up-disk-space | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| - name: Setup Go | ||||||||||||||||||||||||||
| uses: actions/setup-go@v5 | ||||||||||||||||||||||||||
| with: | ||||||||||||||||||||||||||
| go-version-file: go.mod | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| - name: Setup Python | ||||||||||||||||||||||||||
| uses: actions/setup-python@v5 | ||||||||||||||||||||||||||
| with: | ||||||||||||||||||||||||||
| python-version: "3.12" | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| - name: Setup Minikube | ||||||||||||||||||||||||||
| uses: ./.github/actions/minikube-setup | ||||||||||||||||||||||||||
| with: | ||||||||||||||||||||||||||
| addons: "metallb" | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| - name: KServe dependency setup | ||||||||||||||||||||||||||
| uses: ./.github/actions/kserve-dep-setup | ||||||||||||||||||||||||||
| with: | ||||||||||||||||||||||||||
| network-layer: 'istio-gatewayapi-ext' | ||||||||||||||||||||||||||
| enable-lws: 'true' | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| - name: Download base images | ||||||||||||||||||||||||||
| uses: ./.github/actions/base-download | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| - name: Install Poetry and version plugin | ||||||||||||||||||||||||||
| run: ./test/scripts/gh-actions/setup-poetry.sh | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| - name: Install KServe | ||||||||||||||||||||||||||
| run: | | ||||||||||||||||||||||||||
| ./test/scripts/gh-actions/setup-kserve.sh "raw" "istio-gatewayapi-ext" | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| - name: Run E2E tests | ||||||||||||||||||||||||||
| timeout-minutes: 30 | ||||||||||||||||||||||||||
| run: | | ||||||||||||||||||||||||||
| # Run only CPU tests for now using pytest markers (cluster_) | ||||||||||||||||||||||||||
| # Available GPU vendors: amd, nvidia, intel | ||||||||||||||||||||||||||
| ./test/scripts/gh-actions/run-e2e-tests.sh "llminferenceservice and cluster_cpu" 2 "istio-gatewayapi-ext" | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| - name: Check system status | ||||||||||||||||||||||||||
| if: always() | ||||||||||||||||||||||||||
| run: | | ||||||||||||||||||||||||||
| ./test/scripts/gh-actions/status-check.sh | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| kserve-image-build: | ||||||||||||||||||||||||||
| if: false | ||||||||||||||||||||||||||
| runs-on: ubuntu-latest | ||||||||||||||||||||||||||
| steps: | ||||||||||||||||||||||||||
| - name: Checkout source | ||||||||||||||||||||||||||
| uses: actions/checkout@v4 | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| - name: Free-up disk space | ||||||||||||||||||||||||||
| uses: ./.github/actions/free-up-disk-space | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| - name: Setup Docker Buildx | ||||||||||||||||||||||||||
| uses: docker/setup-buildx-action@v3 | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| - name: Build KServe images | ||||||||||||||||||||||||||
| run: | | ||||||||||||||||||||||||||
| sudo mkdir -p ${DOCKER_IMAGES_PATH} | ||||||||||||||||||||||||||
| sudo chown -R $USER ${DOCKER_IMAGES_PATH} | ||||||||||||||||||||||||||
| ./test/scripts/gh-actions/build-images.sh | ||||||||||||||||||||||||||
| docker image ls | ||||||||||||||||||||||||||
| sudo ls -lh ${DOCKER_IMAGES_PATH} | ||||||||||||||||||||||||||
|
Comment on lines
+123
to
+128
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix shell variable quoting issues. The shell script execution has unquoted variables that could cause word splitting issues. - sudo mkdir -p ${DOCKER_IMAGES_PATH}
- sudo chown -R $USER ${DOCKER_IMAGES_PATH}
+ sudo mkdir -p "${DOCKER_IMAGES_PATH}"
+ sudo chown -R "$USER" "${DOCKER_IMAGES_PATH}"
./test/scripts/gh-actions/build-images.sh
docker image ls
- sudo ls -lh ${DOCKER_IMAGES_PATH}
+ sudo ls -lh "${DOCKER_IMAGES_PATH}"📝 Committable suggestion
Suggested change
🧰 Tools🪛 actionlint (1.7.7)120-120: shellcheck reported issue in this script: SC2086:info:1:15: Double quote to prevent globbing and word splitting (shellcheck) 120-120: shellcheck reported issue in this script: SC2086:info:2:15: Double quote to prevent globbing and word splitting (shellcheck) 120-120: shellcheck reported issue in this script: SC2086:info:2:21: Double quote to prevent globbing and word splitting (shellcheck) 120-120: shellcheck reported issue in this script: SC2086:info:5:13: Double quote to prevent globbing and word splitting (shellcheck) 🤖 Prompt for AI Agents
bartoszmajsak marked this conversation as resolved.
|
||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| - name: Upload controller image | ||||||||||||||||||||||||||
| uses: actions/upload-artifact@v4 | ||||||||||||||||||||||||||
| with: | ||||||||||||||||||||||||||
| name: ${{ env.BASE_ARTIFACT_PREFIX }}-${{ env.CONTROLLER_IMG }}-${{ github.sha }} | ||||||||||||||||||||||||||
| path: ${{ env.DOCKER_IMAGES_PATH }}/${{ env.CONTROLLER_IMG }}-${{ github.sha }} | ||||||||||||||||||||||||||
| compression-level: 0 | ||||||||||||||||||||||||||
| if-no-files-found: error | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| - name: Upload localmodel controller image | ||||||||||||||||||||||||||
| uses: actions/upload-artifact@v4 | ||||||||||||||||||||||||||
| with: | ||||||||||||||||||||||||||
| name: ${{ env.BASE_ARTIFACT_PREFIX }}-${{ env.LOCALMODEL_CONTROLLER_IMG }}-${{ github.sha }} | ||||||||||||||||||||||||||
| path: ${{ env.DOCKER_IMAGES_PATH }}/${{ env.LOCALMODEL_CONTROLLER_IMG }}-${{ github.sha }} | ||||||||||||||||||||||||||
| compression-level: 0 | ||||||||||||||||||||||||||
| if-no-files-found: error | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| - name: Upload localmodel agent image | ||||||||||||||||||||||||||
| uses: actions/upload-artifact@v4 | ||||||||||||||||||||||||||
| with: | ||||||||||||||||||||||||||
| name: ${{ env.BASE_ARTIFACT_PREFIX }}-${{ env.LOCALMODEL_AGENT_IMG }}-${{ github.sha }} | ||||||||||||||||||||||||||
| path: ${{ env.DOCKER_IMAGES_PATH }}/${{ env.LOCALMODEL_AGENT_IMG }}-${{ github.sha }} | ||||||||||||||||||||||||||
| compression-level: 0 | ||||||||||||||||||||||||||
| if-no-files-found: error | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| - name: Upload agent image | ||||||||||||||||||||||||||
| uses: actions/upload-artifact@v4 | ||||||||||||||||||||||||||
| with: | ||||||||||||||||||||||||||
| name: ${{ env.BASE_ARTIFACT_PREFIX }}-${{ env.AGENT_IMG }}-${{ github.sha }} | ||||||||||||||||||||||||||
| path: ${{ env.DOCKER_IMAGES_PATH }}/${{ env.AGENT_IMG }}-${{ github.sha }} | ||||||||||||||||||||||||||
| compression-level: 0 | ||||||||||||||||||||||||||
| if-no-files-found: error | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| - name: Upload storage initializer image | ||||||||||||||||||||||||||
| uses: actions/upload-artifact@v4 | ||||||||||||||||||||||||||
| with: | ||||||||||||||||||||||||||
| name: ${{ env.BASE_ARTIFACT_PREFIX }}-${{ env.STORAGE_INIT_IMG }}-${{ github.sha }} | ||||||||||||||||||||||||||
| path: ${{ env.DOCKER_IMAGES_PATH }}/${{ env.STORAGE_INIT_IMG }}-${{ github.sha }} | ||||||||||||||||||||||||||
| compression-level: 0 | ||||||||||||||||||||||||||
| if-no-files-found: error | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| - name: Upload router image | ||||||||||||||||||||||||||
| uses: actions/upload-artifact@v4 | ||||||||||||||||||||||||||
| with: | ||||||||||||||||||||||||||
| name: ${{ env.BASE_ARTIFACT_PREFIX }}-${{ env.ROUTER_IMG }}-${{ github.sha }} | ||||||||||||||||||||||||||
| path: ${{ env.DOCKER_IMAGES_PATH }}/${{ env.ROUTER_IMG }}-${{ github.sha }} | ||||||||||||||||||||||||||
| compression-level: 0 | ||||||||||||||||||||||||||
| if-no-files-found: error | ||||||||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Verification agent
🧩 Analysis chain
Arg list length changed – confirm script signature
setup-deps.shis now invoked with four args. Ensure the shell script was updated accordingly; otherwise the fourth parameter will be silently ignored or shift positional parameters, breaking existing logic.🏁 Script executed:
Length of output: 828
Update
setup-deps.shto handle four parametersThe action is now invoking the script with four args, but the script’s header and parameter parsing only expect two. This will misalign
$1/$2and drop$3/$4.Please update:
$3(enable-keda) and$4(enable-lws)Example diff to apply at the top of
setup-deps.sh:And then consume the extra params in the script, e.g.:
🤖 Prompt for AI Agents