-
Notifications
You must be signed in to change notification settings - Fork 0
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
[DDO-3900] Add service banner bucket field to environments #713
Conversation
What's Changed
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #713 +/- ##
==========================================
+ Coverage 66.76% 66.78% +0.01%
==========================================
Files 292 292
Lines 16488 16497 +9
==========================================
+ Hits 11008 11017 +9
Misses 4579 4579
Partials 901 901
|
dcd6dec
to
860cd9f
Compare
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.
LGTM. Nice work!
Quality Gate passedIssues Measures |
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.
Adds new text column to environments
not your problem, but still a nit: single letter e for Environment? I was confused for a bit thinking e == error.
@jyang-broad From what I can tell, usually |
What
Nicely outlined by Jack in DDO-3900.
TL;DR: Adds a service banner bucket field to environments to allow setting where their Terra UI banner bucket is so we can add more features to set/get/clear the bucket in Sherlock/Beehive later on, replacing the Jenkins banner set/clear jobs, which will allow us to deprecate/shut down Jenkins.
Details
All environments will have a
service_banner_bucket
field in the db, which can be benull
or a string representing the name of the GCS bucket where the Terra UI banner files live. If a dynamic environment (BEE) is created from a template, one of the following things will happen:You can change the banner bucket at any time, currently only with the APIs directly, but eventually Beehive will have a metadata field where you will be able to edit it.
Testing
More tests included in this PR cover the model and API functionality. I also manually did the following to test the new field and functionality: