Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use MazeRunner environment variables where available #934

Merged
merged 4 commits into from
Dec 10, 2020

Conversation

twometresteve
Copy link
Contributor

Goal

Make use of the new environment variables introduced in MazeRunner 3.6.0, reducing noise in the pipeline file and making it more convenient to run MazeRunner scenarios locally.

Design

The environment variables needed to drive this are stored in our S3 secrets bucket, which I have updated.

Changeset

Pipeline, Gem and Docker files. Testing guide.

Testing

I tested the updated test instructions locally by setting the variables (and now in my .bashrc!). Remainder is covered by passing CI.

@nickdowell
Copy link
Contributor

Just to clarify; are these the new environment variables?

  • MAZE_DEVICE_FARM_USERNAME - your BrowserStack App Automate Username
  • MAZE_DEVICE_FARM_ACCESS_KEY - your BrowserStack App Automate Access Key
  • MAZE_BS_LOCAL - location of the BrowserStackLocal executable on your local file system

@twometresteve
Copy link
Contributor Author

Just to clarify; are these the new environment variables?

  • MAZE_DEVICE_FARM_USERNAME - your BrowserStack App Automate Username
  • MAZE_DEVICE_FARM_ACCESS_KEY - your BrowserStack App Automate Access Key
  • MAZE_BS_LOCAL - location of the BrowserStackLocal executable on your local file system

Yes, they're the ones relevant to Cocoa CI. There are others you'll find useful when running the tool locally (MAZE_APPLE_TEAM_ID and MAZE_UDID). See the top section of bundle exec maze-runner --help for full details.

@twometresteve twometresteve merged commit 0bfaf82 into next Dec 10, 2020
@twometresteve twometresteve deleted the tms/use-maze-variables branch December 10, 2020 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants