Skip to content

Added Environment #520

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

Merged
merged 9 commits into from
Oct 11, 2024
Merged

Added Environment #520

merged 9 commits into from
Oct 11, 2024

Conversation

isc-etamarch
Copy link
Collaborator

Ask for environment in configuration; Add changing environment in settings; Show environment in UI

fixes (#124 )

Ask for environment in configuration; Add changing environment in settings; Show environment in UI
@isc-etamarch isc-etamarch linked an issue Oct 4, 2024 that may be closed by this pull request
@codecov-commenter
Copy link

codecov-commenter commented Oct 4, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 25.00000% with 9 lines in your changes missing coverage. Please review.

Project coverage is 25.59%. Comparing base (92c80cb) to head (a9b2561).

Files with missing lines Patch % Lines
cls/SourceControl/Git/Settings.cls 22.22% 7 Missing ⚠️
cls/SourceControl/Git/Utils.cls 50.00% 1 Missing ⚠️
cls/SourceControl/Git/WebUIDriver.cls 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #520      +/-   ##
==========================================
- Coverage   25.60%   25.59%   -0.01%     
==========================================
  Files          18       18              
  Lines        2582     2594      +12     
==========================================
+ Hits          661      664       +3     
- Misses       1921     1930       +9     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Set environment lobal through method, default environment name to empty
Copy link
Collaborator

@isc-tleavitt isc-tleavitt left a comment

Choose a reason for hiding this comment

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

My review is up - a few changes recommended

Use $SYSTEM.Version.SystemMode to deal with environment name
Add 'Failover' as an option
Replace 'property' with 'EnvironmentName'
Wrap the environment setting in a try catch to avoid error if user does not have enough priveledges
@isc-tleavitt isc-tleavitt merged commit c086dcf into main Oct 11, 2024
2 checks passed
@isc-tleavitt isc-tleavitt deleted the fix-124 branch October 11, 2024 13:44
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.

Add equivalent to $$Env^%buildccr
4 participants