-
We use SBT from Gitlab-CI to implement CI/CD, so we need to be able to deploy (via cdk cli) from a gitlab runner job, i.e. from a container with the docker in docker service active (shared docker socket). Gitlab-CI docker in docker The problem comes when PythonFunctions that SBT implements, by default, uses the BundlingOptions with As far as we have been able to investigate, it could be fixed by changing from Has this problem been solved in the past or how could be solve it? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @pmdp , I haven't come across this exact problem, but based on my research, I think there a few ways we can try and fix this:
I'm leaning towards option 2 as that seems to be the more broadly applicable one. What are your thoughts? |
Beta Was this translation helpful? Give feedback.
Hi @suhussai, We seem to have fixed it, by correctly configuring the Gitlab-CI docker environment (config.toml) with the repository directory mounted as a volume in the container running the deploy cdk.
In principle it is not necessary to have to modify the default BundlingOptions operation of the lambda functions.
Thank you very much for your reply.