-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use buildpack-packager to bundle Credhub CLI
Use the binary provided by libbuildpack rather than reinventing the buildpack-packaging wheel
- Loading branch information
1 parent
674b2de
commit d2889d4
Showing
6 changed files
with
30 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
2.7.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
language: credhub | ||
default_versions: [] | ||
dependency_deprecation_dates: [] | ||
dependencies: [] | ||
|
||
include_files: | ||
- README.md | ||
- VERSION | ||
- manifest.yml | ||
- bin/detect | ||
- bin/supply | ||
- bin/finalize | ||
- bin/release | ||
- bin/fetch_credhub_credentials.sh | ||
- credhub | ||
pre_package: scripts/download-credhub.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
|
||
version="$(cat CREDHUB_VERSION)" | ||
curl -sLo credhub.tgz "https://github.com/cloudfoundry-incubator/credhub-cli/releases/download/$version/credhub-linux-$version.tgz" | ||
tar -xvf credhub.tgz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/env bash | ||
|
||
go get -u github.com/cloudfoundry/libbuildpack/packager/buildpack-packager | ||
buildpack-packager build -stack cflinuxfs3 |