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

feat: add git-xargs #126

Merged
merged 2 commits into from
Oct 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,5 @@ tflint 0.48.0
tfsec 1.28.4
# renovate: datasource=github-releases depName=defenseunicorns/zarf
zarf 0.30.0
# renovate: datasource=github-tags depName=gruntwork-io/git-xargs
git-xargs 0.1.10
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,10 @@ COPY .tool-versions /root/.tool-versions

# Zarf needs to be added separately since it doesn't have a "shortform" option in the asdf registry yet
RUN asdf plugin add zarf https://github.com/defenseunicorns/asdf-zarf.git
# git-xargs needs to be added separately since it doesn't have a "shortform" option in the asdf registry yet
RUN asdf plugin add git-xargs https://github.com/defenseunicorns/asdf-git-xargs.git
# Install all other ASDF plugins that are present in the .tool-versions file.
RUN cat /root/.tool-versions | cut -d' ' -f1 | grep "^[^\#]" | grep -v "zarf" | xargs -i asdf plugin add {}
RUN cat /root/.tool-versions | cut -d' ' -f1 | grep "^[^\#]" | grep -v "zarf" | grep -v "git-xargs" | xargs -i asdf plugin add {}

# Install all ASDF versions that are present in the .tool-versions file
RUN asdf install
Expand Down