Skip to content

Commit 6a76279

Browse files
committed
LCORE-3013: Integration tests are not started in Konflux for new PRs [release/0.5]
1 parent e2086c0 commit 6a76279

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

‎.tekton/integration-tests/pipeline/lightspeed-stack-integration-test.yaml‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
apiVersion: tekton.dev/v1beta1
33
kind: Pipeline
44
metadata:
5-
name: lightspeed-stack-integration-tests-pipeline
5+
name: lightspeed-stack-0-5-integration-tests-pipeline
66
spec:
77
description: |
88
This pipeline automates the process of running end-to-end tests for Lightspeed Stack
@@ -12,15 +12,15 @@ spec:
1212
params:
1313
- name: SNAPSHOT
1414
description: 'The JSON string representing the snapshot of the application under test (includes lightspeed-stack image).'
15-
default: '{"components": [{"name":"lightspeed-stack", "containerImage": "quay.io/example/lightspeed-stack:latest"}]}'
15+
default: '{"components": [{"name":"lightspeed-stack-0-5", "containerImage": "quay.io/example/lightspeed-stack-0-5:latest"}]}'
1616
type: string
1717
- name: llama-stack-image
1818
description: 'Llama Stack runs from source on UBI (init container clones repo and installs deps). Kept for logging/backwards compatibility.'
1919
default: 'run-from-source (UBI)'
2020
type: string
2121
- name: test-name
2222
description: 'The name of the test corresponding to a defined Konflux integration test.'
23-
default: 'lightspeed-stack-e2e-tests'
23+
default: 'lightspeed-stack-0-5-e2e-tests'
2424
- name: namespace
2525
description: 'Namespace to run tests in'
2626
default: 'lightspeed-stack'
@@ -117,8 +117,8 @@ spec:
117117
description: "commit sha to be used to store artifacts"
118118
script: |
119119
dnf -y install jq
120-
echo -n "$(jq -r --arg n "lightspeed-stack" '.components[] | select(.name == $n) | .containerImage // ""' <<< "$SNAPSHOT")" > $(step.results.lightspeed-stack-image.path)
121-
echo -n "$(jq -r --arg n "lightspeed-stack" '.components[] | select(.name == $n) | .source.git.revision // "latest"' <<< "$SNAPSHOT")" > $(step.results.commit.path)
120+
echo -n "$(jq -r --arg n "lightspeed-stack-0-5" '.components[] | select(.name == $n) | .containerImage // ""' <<< "$SNAPSHOT")" > $(step.results.lightspeed-stack-image.path)
121+
echo -n "$(jq -r --arg n "lightspeed-stack-0-5" '.components[] | select(.name == $n) | .source.git.revision // "latest"' <<< "$SNAPSHOT")" > $(step.results.commit.path)
122122
- name: echo-integration-params
123123
description: Echo all params passed to lightspeed-stack-integration-tests for verification before the test runs.
124124
runAfter:
@@ -276,8 +276,8 @@ spec:
276276
tar -xzf oc.tar.gz && chmod +x kubectl oc && mv oc kubectl /usr/local/bin/
277277
echo "[e2e] 4/8 SNAPSHOT (length ${#SNAPSHOT} chars; clone URL fixed — SNAPSHOT is main/upstream, not fork)..."
278278
# Fixed fork + branch: Konflux SNAPSHOT points at main repo/rev, not the PR/fork under test.
279-
REPO_URL=$(jq -r '.components[] | select(.name == "lightspeed-stack") | .source.git.url // "https://github.com/lightspeed-core/lightspeed-stack.git"' <<< "$SNAPSHOT")
280-
REPO_REV=$(jq -r '.components[] | select(.name == "lightspeed-stack") | .source.git.revision // "main"' <<< "$SNAPSHOT")
279+
REPO_URL=$(jq -r '.components[] | select(.name == "lightspeed-stack-0-5") | .source.git.url // "https://github.com/lightspeed-core/lightspeed-stack.git"' <<< "$SNAPSHOT")
280+
REPO_REV=$(jq -r '.components[] | select(.name == "lightspeed-stack-0-5") | .source.git.revision // "release/0.5"' <<< "$SNAPSHOT")
281281
echo "[e2e] 5/8 Clone $REPO_URL @ $REPO_REV"
282282
git clone -q "$REPO_URL" /workspace/lightspeed-stack
283283
cd /workspace/lightspeed-stack && git fetch origin "$REPO_REV" && git checkout -q "$REPO_REV"

0 commit comments

Comments
 (0)