You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the problem you are trying to solve by the feature?
Our pipelines build the frontend assets (yves) at multiple stages
for acceptance tests (using "docker/sdk up")
for deployment in cluster (using "docker/sdk export images")
I need to extend the frontend build process (webpack) so that it executes certain code (upload source maps to sentry) only if it's at a specific stage in our gitlab pipeline. My first idea was to define some env vars in the gitlab-ci.yml and access it through process.env. Unfortunately this doesn't work because the frontend build process lives in the docker/sdk and I can't pass custom env vars to it.
What is the solution do you propose?
There are two possible solutions
allow passing through custom environment variables to the underlying call of the frontend build process
provide information about the executed command (e.g. as env var) so that I know within the build process whether it has been triggered by "docker/sdk up" or by "docker/sdk export images"
While I doubt the former solution is already implemented (at least I couldn't find anything that looks promising), I'm still hoping the latter approach is somewhere hidden. Anyway I'd appreciate any hint how my problem could be solved.
What changes in deploy.yml format do you propose?
no idea
What changes in command line interface do you propose?
no idea either – maybe support of passing through custom env vars when calling "docker/sdk export images"
What alternatives have you considered?
I've thought about modifying the sdk though this is no real solution regarding the maintenance effort to keep it up-to-date.
The text was updated successfully, but these errors were encountered:
What is the problem you are trying to solve by the feature?
Our pipelines build the frontend assets (yves) at multiple stages
I need to extend the frontend build process (webpack) so that it executes certain code (upload source maps to sentry) only if it's at a specific stage in our gitlab pipeline. My first idea was to define some env vars in the gitlab-ci.yml and access it through process.env. Unfortunately this doesn't work because the frontend build process lives in the docker/sdk and I can't pass custom env vars to it.
What is the solution do you propose?
There are two possible solutions
While I doubt the former solution is already implemented (at least I couldn't find anything that looks promising), I'm still hoping the latter approach is somewhere hidden. Anyway I'd appreciate any hint how my problem could be solved.
What changes in deploy.yml format do you propose?
no idea
What changes in command line interface do you propose?
no idea either – maybe support of passing through custom env vars when calling "docker/sdk export images"
What alternatives have you considered?
I've thought about modifying the sdk though this is no real solution regarding the maintenance effort to keep it up-to-date.
The text was updated successfully, but these errors were encountered: