-
Notifications
You must be signed in to change notification settings - Fork 75
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
fix(ci): easily point smoke tests to preview-env with env vars #1516
Open
aajimal
wants to merge
1
commit into
main
Choose a base branch
from
preview-env-vars
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+9
−3
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aajimal
force-pushed
the
preview-env-vars
branch
from
September 18, 2024 20:13
e5f4742
to
91e6193
Compare
aajimal
force-pushed
the
preview-env-vars
branch
from
September 18, 2024 20:19
91e6193
to
35d635e
Compare
aajimal
force-pushed
the
preview-env-vars
branch
from
September 19, 2024 19:54
35d635e
to
98b46e8
Compare
aajimal
force-pushed
the
preview-env-vars
branch
2 times, most recently
from
September 24, 2024 21:15
d58e937
to
39f7bb2
Compare
aajimal
removed
sequencer
pertaining to the astria-sequencer crate
evm
pertains to EVM
docker-build
used to trigger docker builds on PRs
preview
labels
Sep 24, 2024
aajimal
force-pushed
the
preview-env-vars
branch
from
September 24, 2024 23:31
39f7bb2
to
54b7afd
Compare
aajimal
changed the title
fix(ci): point smoke tests to preview-env with env vars
fix(ci): easily point smoke tests to preview-env with env vars
Sep 25, 2024
aajimal
force-pushed
the
preview-env-vars
branch
from
September 25, 2024 15:37
54b7afd
to
acde4f5
Compare
WafflesVonMaple
approved these changes
Sep 25, 2024
aajimal
force-pushed
the
preview-env-vars
branch
from
September 26, 2024 06:54
acde4f5
to
975f7ab
Compare
Ethiqque
reviewed
Sep 26, 2024
Comment on lines
+206
to
+226
# Set env var: PR_SEQUENCER_RPC or PR to point to a remote preview environment | ||
pr_sequencer_rpc := env("PR_SEQUENCER_RPC", env("PR", "")) | ||
sequencer_rpc_url := if pr_sequencer_rpc == "" {"http://rpc.sequencer.localdev.me"} else {replace("http://rpc.sequencer.pr-#.dev.astria.org", "#", pr_sequencer_rpc)} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GRPC!!
quasystaty1
approved these changes
Sep 30, 2024
…ironment variables
aajimal
force-pushed
the
preview-env-vars
branch
from
October 2, 2024 23:37
975f7ab
to
69468d5
Compare
github-merge-queue
bot
removed this pull request from the merge queue due to no response for status checks
Oct 3, 2024
github-merge-queue
bot
removed this pull request from the merge queue due to no response for status checks
Oct 3, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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:
Background
Allow developers to point to pull-request preview environments based on setting environment variables before running just commands.
Changes
Testing
Manually by setting each environment variable to verify scripts properly point to the right value.