Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ci): easily point smoke tests to preview-env with env vars (#1516)
## Summary Point sequencer_rpc, eth_rpc, and eth_ws URLs to a PR preview environment based on environment variables. Env vars can be any of the following: - PR (sets sequencer_rpc_url, eth_rpc, and eth_ws to point to PR) - PR_SEQUENCER_RPC (sets only sequencer_rpc_url) - PR_ETH_RPC (sets only eth_rpc_url) - PR_ETH_WS (sets only eth_ws_url) ## Background Allow developers to point to pull-request preview environments based on setting environment variables before running just commands. ## Changes - Update sequencer_rpc_url, eth_rpc_url, and eth_ws_url to check for an env var specifying a pull-request number prior to being set. ## Testing Manually by setting each environment variable to verify scripts properly point to the right value.
- Loading branch information