Closed condar-metacell closed 3 months ago
@zsinnema this is useful for local development and debugging as mentioned in the Jira card, but I see your concern about this being abused as an attempt to set env variables on CI/CD and production systems. Let's be sure that the documentation states clearly that this feature shouldn't be used to set environment variables @condar-metacell
@filippomc @condar-metacell did you see my comment here: https://metacell.atlassian.net/browse/CH-142?focusedCommentId=15219?
Closes CH-142
Implemented solution
A
dockerfile
section has been added under theharess
section of an application which then has abuildArgs
map which is provided to the dockerfile by Skaffold when building.How to test this PR
Either run
pytest
to run the added unit test, or runharness-deployment -i samples
andskaffold dev
to see the value set in the values echoed out during build.Sanity checks:
Breaking changes (select one):
breaking-change
and the migration procedure is well described abovePossible deployment updates issues (select one):
alert:deployment
Test coverage (select one):
Documentation (select one):
Nice to have (if relevant):