Skip to content

Commit 2895628

Browse files
Verify host alias for stage.foo.redhat.com
1 parent 580726d commit 2895628

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.tekton/learning-resources-pull-request.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ spec:
4343
value: |
4444
#!/usr/bin/env bash
4545
set -ex
46-
npm i >/dev/null 2>&1
47-
KONFLUX_RUN=$KONFLUX_RUN npm run dev:beta &
48-
until curl -k 'https://stage.foo.redhat.com:1337' > /dev/null 2>&1; do
46+
getent hosts stage.foo.redhat.com
47+
# npm ci
48+
timeout 120s bash -c 'until curl -k 'https://stage.foo.redhat.com:1337' > /dev/null 2>&1; do
4949
echo "Waiting for dev server to be ready"
5050
sleep 5
51-
done
51+
done'
5252
echo "Dev server ready!"
53-
KONFLUX_RUN=$KONFLUX_RUN NO_COLOR=1 E2E_USER=$CHROME_ACCOUNT E2E_PASSWORD=$CHROME_PASSWORD npx cypress run --spec "cypress/e2e/**/*"
53+
# TODO: Install playwright and run e2e tests
5454
- name: e2e-user
5555
value: '{{ e2e_user }}'
5656
- name: e2e-password

0 commit comments

Comments
 (0)