Skip to content

Commit a257681

Browse files
authored
Merge pull request #2423 from bugsnag/je/plat14102
[PLAT-14102] Update RN CLI CI Steps
2 parents 7752fdb + 4336da5 commit a257681

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.buildkite/basic/react-native-cli-pipeline.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ steps:
1010
depends_on: "publish-js"
1111
timeout_in_minutes: 15
1212
agents:
13-
queue: macos-14-isolated
13+
queue: "macos-14-isolated"
1414
env:
1515
JAVA_VERSION: "17"
1616
NODE_VERSION: "18"
@@ -23,7 +23,7 @@ steps:
2323
commands:
2424
- "cd test/react-native-cli"
2525
- "bundle install"
26-
- "bundle exec maze-runner --port=$((MAZE_RUNNER_PORT)) features/build-app-tests/build-android-app.feature"
26+
- "bundle exec maze-runner features/build-app-tests/build-android-app.feature"
2727
matrix:
2828
- "0.79"
2929
- "0.78"
@@ -52,7 +52,7 @@ steps:
5252
commands:
5353
- "cd test/react-native-cli"
5454
- "bundle install"
55-
- "bundle exec maze-runner --port=$((MAZE_RUNNER_PORT)) features/build-app-tests/build-ios-app.feature"
55+
- "bundle exec maze-runner features/build-app-tests/build-ios-app.feature"
5656
matrix:
5757
- "0.79"
5858
- "0.78"

scripts/init-rn-cli.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ set notifier_version [lindex $argv 0]
99
set rn_version [lindex $argv 1]
1010
set fixture_path [lindex $argv 2]
1111

12-
set MAZE_RUNNER_PORT $env(MAZE_RUNNER_PORT)
12+
set MAZE_PORT $env(MAZE_PORT)
1313

1414
# Process React Native version string
1515
set rn_version_cleaned [string map {".expo.ejected" "" "_" "."} [string range $rn_version 2 end]]
@@ -25,10 +25,10 @@ spawn ./node_modules/.bin/bugsnag-react-native-cli init
2525
# Handle CLI prompts
2626
expect "Do you want to continue anyway?" { send -- "Y\r" }
2727
expect "Are you using Bugsnag on-premise?" { send -- "Y\r" }
28-
expect "What is your Bugsnag notify endpoint?" { send -- "http://bs-local.com:$MAZE_RUNNER_PORT/notify\r" }
29-
expect "What is your Bugsnag sessions endpoint?" { send -- "http://bs-local.com:$MAZE_RUNNER_PORT/sessions\r" }
30-
expect "What is your Bugsnag upload endpoint?" { send -- "http://localhost:$MAZE_RUNNER_PORT\r" }
31-
expect "What is your Bugsnag build endpoint?" { send -- "http://localhost:$MAZE_RUNNER_PORT/builds\r" }
28+
expect "What is your Bugsnag notify endpoint?" { send -- "http://bs-local.com:$MAZE_PORT/notify\r" }
29+
expect "What is your Bugsnag sessions endpoint?" { send -- "http://bs-local.com:$MAZE_PORT/sessions\r" }
30+
expect "What is your Bugsnag upload endpoint?" { send -- "http://localhost:$MAZE_PORT\r" }
31+
expect "What is your Bugsnag build endpoint?" { send -- "http://localhost:$MAZE_PORT/builds\r" }
3232
expect "If you want the latest version of @bugsnag/react-native hit enter, otherwise type the version you want" { send -- "$notifier_version\r" }
3333
expect "What is your Bugsnag project API key?" { send -- "1234567890ABCDEF1234567890ABCDEF\r" }
3434
expect "Do you want to install the BugSnag CLI to allow you to upload JavaScript source maps?" { send -- "Y\r" }

0 commit comments

Comments
 (0)