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

Implement Scoop install. #85

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@
/test/e2e/assets/simple-app/empty-dir
.idea
*.iml
/vendir.json
21 changes: 21 additions & 0 deletions SCOOP_GUIDELINES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# :bookmark_tabs:Scoop guidelines

[Scoop](https://scoop.sh/) is a command-line installer for Windows.

# :rocket:Get started

For now, to manually and locally install `vendir` :

```
git clone https://github.com/vmware-tanzu/carvel-vendir.git
cd carvel-vendir
export TARGET_VERSION=0.21.1
sed 's/$VENDIR_VERSION/'"$TARGET_VERSION"'/g' vendir.json.template > vendir.json
scoop install vendir
```

# :point_right:To do

To get this from a central repo, it is highly recommended to create a
dedicated [Scoop Bucket](https://github.com/lukesampson/scoop/wiki/Buckets).

10 changes: 10 additions & 0 deletions vendir.json.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"description": "Carvel vendir is a tool that makes it easy to vendor portions of git repos, github releases, helm charts, docker image contents, etc. declaratively",
"notes": "See https://carvel.dev/vendir/#examples for some examples",
"version": "$VENDIR_VERSION",
"homepage": "https://carvel.dev/vendir/",
"license": "https://github.com/vmware-tanzu/carvel-vendir/blob/develop/LICENSE",
"url": "https://github.com/vmware-tanzu/carvel-vendir/releases/download/v$VENDIR_VERSION/vendir-windows-amd64.exe#/vendir.exe",
"bin": "vendir.exe",
"post_install": "vendir version"
}