Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -216,21 +216,10 @@ spec:
export XDG_RUNTIME_DIR=$PATH:~/.cache/xdgr
echo "---------------------------------------------"
cd /home
git init lightspeed-operator
cd lightspeed-operator
git remote add origin https://github.com/openshift/lightspeed-operator.git
git fetch --depth=1 --filter=blob:none origin ${COMMIT_SHA}
TEST_SOURCE_COMMIT=$(
git show ${COMMIT_SHA}:related_images.json |
jq -r '.[] | select(.name=="lightspeed-console-plugin-pf5") | .revision'
)
cd /home
rm -rf lightspeed-console
git init lightspeed-console
git clone https://github.com/openshift/lightspeed-console.git
cd lightspeed-console
git remote add origin https://github.com/openshift/lightspeed-console.git
git fetch --depth=1 --filter=blob:none origin ${TEST_SOURCE_COMMIT}
git checkout ${TEST_SOURCE_COMMIT}
git fetch origin
git switch pattern-fly-5
echo "---------------------------------------------"
echo "npm version: $(npm -v)"
echo "---------------------------------------------"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,21 +216,9 @@ spec:
export XDG_RUNTIME_DIR=$PATH:~/.cache/xdgr
echo "---------------------------------------------"
cd /home
git init lightspeed-operator
cd lightspeed-operator
git remote add origin https://github.com/openshift/lightspeed-operator.git
git fetch --depth=1 --filter=blob:none origin ${COMMIT_SHA}
TEST_SOURCE_COMMIT=$(
git show ${COMMIT_SHA}:related_images.json |
jq -r '.[] | select(.name=="lightspeed-console-plugin") | .revision'
)
cd /home
rm -rf lightspeed-console
git init lightspeed-console
git clone https://github.com/openshift/lightspeed-console.git
cd lightspeed-console
git remote add origin https://github.com/openshift/lightspeed-console.git
git fetch --depth=1 --filter=blob:none origin ${TEST_SOURCE_COMMIT}
git checkout ${TEST_SOURCE_COMMIT}
git pull origin main
echo "---------------------------------------------"
echo "npm version: $(npm -v)"
echo "---------------------------------------------"
Expand Down