-
Notifications
You must be signed in to change notification settings - Fork 22
Replace build time environment with runtime environment #1099
Conversation
I accidentally required |
Codecov Report
@@ Coverage Diff @@
## develop #1099 +/- ##
===========================================
+ Coverage 72.32% 72.34% +0.02%
===========================================
Files 253 253
Lines 3801 3804 +3
Branches 675 675
===========================================
+ Hits 2749 2752 +3
Misses 904 904
Partials 148 148
Continue to review full report at Codecov.
|
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.
Please check comma-dangling and ensure that you're only making intended changes!
I accidentally used an |
This enforces the use of comma dangle.
7e4803f
to
7cd4726
Compare
I removed the custom I cleaned the commit history on the same go. |
By using a runtime environment, the app doesn't need to be rebuild on environment changes. This change also fixes an issue we had with the test environment. The test environment only sets the environment variables for runtime. This means that we don't have access to environment variables during build time, which we assumed to be the case previously.
7cd4726
to
a595e57
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.
Looks good and everything seems to be working, well done.
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.
Good!
By using a runtime environment, the app doesn't need to be rebuild on
environment changes.
This change also fixes an issue we had with the test environment. The
test environment only sets the environment variables for runtime. This
means that we don't have access to environment variables during build
time, which we assumed to be the case previously.
Ref: VAR-235