Skip to content

Commit

Permalink
update dashboard first
Browse files Browse the repository at this point in the history
  • Loading branch information
Any2suited66 committed Oct 15, 2024
1 parent afdf334 commit eab0894
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions packages/core-mobile/scripts/bitrise/detox/iosInternalE2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,13 @@
# make pipelines' return status equal the last command to exit with a non-zero status, or zero if all commands exit successfully
set -o pipefail

echo "Here is the public IP address of the machine running the tests"

curl -s http://ipecho.net/plain; echo

npm rebuild detox

./node_modules/.bin/detox test --configuration ios.internal.release.smoke.ci --retries 1 --max-workers 3; test_result=$?

npx ts-node ./e2e/attachLogsSendResultsToTestrail.ts && sleep 5
./scripts/datadog/updateIosDashboard.sh && sleep 5

./scripts/datadog/updateIosDashboard.sh & sleep 5
npx ts-node ./e2e/attachLogsSendResultsToTestrail.ts && sleep 5

if ((test_result != 0)); then
exit 1
Expand Down
2 changes: 1 addition & 1 deletion packages/core-mobile/scripts/datadog/updateIosDashboard.sh
Original file line number Diff line number Diff line change
Expand Up @@ -864,7 +864,7 @@ curl -X PUT \
"name": "query1",
"data_source": "rum",
"search": {
"query": "@type:action @session.type:user @action.type:application_start @application.name:\"Core Mobile\" -version:"'"$BUILD_NUMBER"'" service:org.avalabs.avaxwallet.internal"
"query": "@type:action @session.type:user @action.type:application_start @application.name:\"Core Mobile\" -version:"$BUILD_NUMBER" service:org.avalabs.avaxwallet.internal"
},
"indexes": [
"*"
Expand Down

0 comments on commit eab0894

Please sign in to comment.