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

Set the plugin version on custom image build #315

Open
arm4b opened this issue Oct 10, 2022 · 0 comments
Open

Set the plugin version on custom image build #315

arm4b opened this issue Oct 10, 2022 · 0 comments

Comments

@arm4b
Copy link
Member

arm4b commented Oct 10, 2022

Per #307 the official BitOps images are now packaging and providing the latest tools by default.

However, user should be able to pin the tool version (ansible==1.2.3, terraform=3.4.5). This might be achievable when building their custom BitOps Docker image https://bitovi.github.io/bitops/plugins/#creating-your-own-bitops-image

The version parameter could be provided via config like:

bitops:
  plugins:
    terraform:
      source: https://github.com/bitops-plugins/terraform
      version: 1.2.3 # <-- new setting

and so 1.2.3 will be passed to the plugin install.sh to install the needed tool version:
https://github.com/bitops-plugins/terraform/blob/b189c2dd7cb38e7e883837f0f3204e5b7e8a6e6b/install.sh#L13-L14

Here tool version = plugin version, where version is just a parameter and not a repo git tag.
That would fit customized use cases and environments which is the main purpose of building the custom bitops image with the chosen plugins.

Started with the #307, it's just a matter of time when this will pop-up more.

Previous Discussions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Roadmap
To do
Development

No branches or pull requests

1 participant