Skip to content
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

(gdk): Make it possible to use substitutions of variables in all artifact types(not just s3) #288

Open
HasseJohansen opened this issue Jun 19, 2024 · 0 comments

Comments

@HasseJohansen
Copy link

Feature Description
It should be possible to use ex. COMPONENT_VERSION in a docker artifact like it is in the s3 artifact

This makes it possible to use images versioned together with the component

Use Case
Right now on one hand using :latest for docker image version are not working (according to this https://repost.aws/questions/QUQGCzc1QgR9C2asXgSwHsnw/how-to-ensure-that-the-most-recent-version-of-a-docker-container-image-is-being-used-when-deploying-a-greengrass-component)

on the other hand there is no proper way to set a dynamic version in a recipe.yml using gdk

So the only solution is to make some hacks in the ci/cd pipeline to modify recipe.yml with a version number of what would be the next component version and then build/publish. Instead of simply providing the version as COMPONENT_VERSION like on the s3 artifacts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant