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

Enables edge-testnet script to run on different environments. #58

Merged
merged 3 commits into from
May 13, 2024

Conversation

jenia81
Copy link
Contributor

@jenia81 jenia81 commented May 12, 2024

A pretty large refactoring in the script that enables running the script on different environments:

  • New arguments were introduced
    • --env - environment, can be integration/os2/production
    • --domain - domain name, should be used for sandboxes
    • --udp - test udp URLs. By default is off.
    • -s - skip certificate validation, when TLS is tested, check the connection without the keys and certificates. The default is off
  • If neither --env or --domain arguments were provided, the default will be production.
  • Refactoring of the code. Create functions for mutual code to avoid duplications

@jenia81 jenia81 force-pushed the script-refactor branch 2 times, most recently from 5e55cd4 to f89bffb Compare May 12, 2024 17:10
Copy link
Contributor

@JanneKiiskila JanneKiiskila left a comment

Choose a reason for hiding this comment

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

Default needs to be production.

@jenia81 jenia81 merged commit 3a81c4a into master May 13, 2024
7 checks passed
@jenia81 jenia81 deleted the script-refactor branch May 13, 2024 12:59
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