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

Updates GH Inputs to reflect current networks #1602

Merged
merged 4 commits into from
Oct 16, 2023
Merged

Conversation

otherview
Copy link
Contributor

Why this change is needed

Please provide a description and a link to the underlying ticket

What changes were made as part of this PR

Please provide a high level list of the changes made

PR checks pre-merging

Please indicate below by ticking the checkbox that you have read and performed the required
PR checks

  • PR checks reviewed and performed

@coderabbitai
Copy link

coderabbitai bot commented Oct 16, 2023

Walkthrough

The changes primarily involve renaming the 'testnet' option to 'uat-testnet' across multiple GitHub workflow files and updating the addresses in a test function. This suggests a shift from a development testnet to a user acceptance testing (UAT) testnet.

Changes

File(s) Summary
.github/workflows/manual-deploy-testnet-l1.yml, .github/workflows/manual-deploy-testnet-l2.yml, .github/workflows/manual-recover-network-funds.yml The 'testnet' option in the 'on' section has been replaced with 'uat-testnet', affecting the configuration of workflow triggers.
.github/workflows/manual-deploy-testnet-l1.yml, .github/workflows/manual-deploy-testnet-l2.yml The 'testnet' option in the 'testnet_type' input has been replaced with 'uat-testnet'. Environment variables and container names have been updated accordingly.
.github/workflows/manual-upgrade-testnet-l2.yml The 'testnet' option in the 'on' section and 'testnet_type' input has been replaced with 'uat-testnet'. The repository dispatch event type has been updated to 'uat_testnet_upgraded'.
integration/manualtests/connection_test.go The addresses used in the 'TestSubscribeToOG' test function have been updated to point to the UAT testnet.

Tips

Chat with CodeRabbit Bot (@coderabbitai)

  • Mention @coderabbitai in any review comment for bot assistance.
  • Note: Review comments are made on code diffs or files, not on the PR overview.

Pause Incremental Reviews

  • Insert @coderabbitai: ignore in the PR description to halt the bot's ongoing reviews. Remove the line to resume.
  • Additionally, enter @coderabbitai pause to halt the bot's ongoing reviews as any issue or review comment. To
    resume reviews, enter @coderabbitai resume as any issue or review comment.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Status

Actionable comments generated: 0

Commits Files that changed from the base of the PR and between a58288f and f63a285.
Files selected for processing (3)
  • .github/workflows/manual-deploy-testnet-l1.yml (1 hunks)
  • .github/workflows/manual-deploy-testnet-l2.yml (1 hunks)
  • .github/workflows/manual-recover-network-funds.yml (1 hunks)
Files skipped from review due to trivial changes (2)
  • .github/workflows/manual-deploy-testnet-l2.yml
  • .github/workflows/manual-recover-network-funds.yml
Additional comments (Suppressed): 1
.github/workflows/manual-deploy-testnet-l1.yml (1)
  • 25-28: The option 'testnet' has been replaced with 'uat-testnet'. Ensure that all references to this workflow in the codebase have been updated to use the new option 'uat-testnet' instead of 'testnet'. Also, verify that the 'uat-testnet' environment is properly set up and ready for deployment.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Status

Actionable comments generated: 0

Commits Files that changed from the base of the PR and between f63a285 and 71fbfa1.
Files selected for processing (4)
  • .github/workflows/manual-deploy-testnet-l1.yml (2 hunks)
  • .github/workflows/manual-deploy-testnet-l2.yml (2 hunks)
  • .github/workflows/manual-upgrade-testnet-l2.yml (2 hunks)
  • integration/manualtests/connection_test.go (1 hunks)
Files skipped from review due to trivial changes (1)
  • .github/workflows/manual-deploy-testnet-l2.yml
Additional comments (Suppressed): 7
.github/workflows/manual-deploy-testnet-l1.yml (3)
  • 25-28: The 'testnet' option has been replaced with 'uat-testnet'. Ensure that all instances where this workflow is triggered have been updated to use the new 'uat-testnet' option.

  • 43-51: The environment variables for the 'uat-testnet' have been set. Ensure that these values are correct and correspond to the resources in the UAT testnet environment.

  • 52-60: The environment variables for the 'dev-testnet' remain the same. However, the TEST_BRIDGE_ADDRESS is the same for both 'uat-testnet' and 'dev-testnet'. If these two environments are supposed to have different bridge addresses, this could be an issue.

.github/workflows/manual-upgrade-testnet-l2.yml (2)
  • 28-28: The 'testnet' option has been replaced with 'uat-testnet'. Ensure that all references to this input in the workflow have been updated accordingly.

  • 233-235: The event type for the repository dispatch has been updated from 'testnet_upgraded' to 'uat_testnet_upgraded'. Make sure that the 'obscuro-test' repository is set up to handle this new event type.

integration/manualtests/connection_test.go (2)
  • 20-22: The addresses for the Obscuro Gateway have been updated to point to the UAT testnet. Ensure that the UAT testnet is ready and available for these tests to run successfully.
-	ogHTTPAddress := "https://dev-testnet.obscu.ro:443"
-	ogWSAddress := "wss://dev-testnet.obscu.ro:81"
+	ogHTTPAddress := "https://uat-testnet.obscu.ro"
+	ogWSAddress := "wss://uat-testnet.obscu.ro:81"
  • 18-18: The skip directive for the test has been commented out. If this is intentional and you want this test to run during the test execution, no action is needed. Otherwise, if you want to skip this test during the test execution, uncomment the skip directive.
-	//t.Skip("skip manual tests")
+	t.Skip("skip manual tests")

Copy link
Collaborator

@BedrockSquirrel BedrockSquirrel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm - if it works first time I'll buy you a beer

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Status

Actionable comments generated: 0

Commits Files that changed from the base of the PR and between 71fbfa1 and 9bf8791.
Files selected for processing (1)
  • .github/workflows/manual-upgrade-testnet-l2.yml (2 hunks)
Files skipped from review due to trivial changes (1)
  • .github/workflows/manual-upgrade-testnet-l2.yml

@otherview otherview merged commit a18f862 into main Oct 16, 2023
1 of 2 checks passed
@otherview otherview deleted the pedro/update_gh_input branch October 16, 2023 14:43
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.

3 participants