Skip to content

Commit 673d386

Browse files
author
Radovan Fuchs
committed
use repo url, not main
1 parent b47a4fc commit 673d386

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,8 @@ spec:
285285
value: "$(params.namespace)"
286286
- name: SNAPSHOT
287287
value: $(params.SNAPSHOT)
288+
- name: E2E_GIT_REVISION
289+
value: $(params.e2e-git-revision)
288290
image: registry.access.redhat.com/ubi9/ubi-minimal
289291
script: |
290292
set -e
@@ -295,8 +297,8 @@ spec:
295297
curl -sL -o oc.tar.gz https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/latest-4.19/openshift-client-linux-amd64-rhel9.tar.gz
296298
tar -xzf oc.tar.gz && chmod +x kubectl oc && mv oc kubectl /usr/local/bin/
297299
echo "[e2e] 4/8 Parsing SNAPSHOT (length ${#SNAPSHOT} chars)..."
298-
REPO_URL=$(echo "$SNAPSHOT" | jq -r --arg n "lightspeed-stack" '.components[] | select(.name == $n) | .source.git.url // "https://github.com/lightspeed-core/lightspeed-stack.git"')
299-
REPO_REV=$(echo "$SNAPSHOT" | jq -r --arg n "lightspeed-stack" '.components[] | select(.name == $n) | .source.git.revision // "main"')
300+
REPO_URL=$(echo "$SNAPSHOT" | jq -r --arg n "lightspeed-stack" '.components[] | select(.name == $n) | .source.git.url // "https://github.com/radofuchs/lightspeed-stack.git"')
301+
REPO_REV=$(echo "$SNAPSHOT" | jq -r --arg n "lightspeed-stack" '.components[] | select(.name == $n) | .source.git.revision // "lcore-1221-konflux-e2e-tests"')
300302
echo "[e2e] 5/8 Clone $REPO_URL @ $REPO_REV"
301303
git clone -q "$REPO_URL" /workspace/lightspeed-stack
302304
cd /workspace/lightspeed-stack && git fetch origin "$REPO_REV" && git checkout -q "$REPO_REV"

0 commit comments

Comments
 (0)