Skip to content

Commit

Permalink
Updated nightwatch workflow to e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkCalvert committed Oct 13, 2023
1 parent 8a007f7 commit eb92c4d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: dpc-sdp/ripple/nightwatch
name: dpc-sdp/ripple/e2e
on:
workflow_dispatch:
inputs:
Expand Down
2 changes: 1 addition & 1 deletion .lagoon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ tasks:
fi
service: app
- run:
name: Trigger Nightwatch E2E Tests CI
name: Trigger E2E Tests CI
command: |-
. /app/scripts/trigger-e2e.sh
service: app
Expand Down
4 changes: 2 additions & 2 deletions scripts/trigger-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ fi

E2E_ESTUARY_URL="${E2E_ESTUARY_URL:-http://estuary.sdp-services:8080/v1/actions/trigger-e2e}"
E2E_ESTUARY_TOKEN_PATH="${E2E_ESTUARY_TOKEN_PATH:-/run/secrets/kubernetes.io/serviceaccount/token}"
# Trigger GitHub Action to run the nightwatch workflow via estuary
# Trigger GitHub Action to run the e2e workflow via estuary
curl --location --request POST "$E2E_ESTUARY_URL" \
--header "Authorization: Bearer $(cat $E2E_ESTUARY_TOKEN_PATH)" \
--header "Content-Type: application/json" \
--data-raw '{
"owner": "dpc-sdp",
"repo": "ripple",
"workflow": "nightwatch.yml",
"workflow": "e2e.yml",
"ref": "'"$BRANCH"'",
"be_url": "'"$BE_URL"'",
"fe_url": "'"$FE_URL"'",
Expand Down

0 comments on commit eb92c4d

Please sign in to comment.