Skip to content

Commit

Permalink
[rancher] Add Package (#288)
Browse files Browse the repository at this point in the history
  • Loading branch information
zloeber authored and osterman committed Nov 29, 2019
1 parent 15a0694 commit 4269c72
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/auto-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ vendor/misspell: vendor/misspell/**
vendor/packer: vendor/packer/**
vendor/pandoc: vendor/pandoc/**
vendor/rakkess: vendor/rakkess/**
vendor/rancher: vendor/rancher/**
vendor/rbac-lookup: vendor/rbac-lookup/**
vendor/retry: vendor/retry/**
vendor/scenery: vendor/scenery/**
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ misspell 0.3.4 Correct commonly misspelled English words i
packer 1.4.4 Packer is a tool for creating identical machine images for multiple platforms from a single source configuration.
pandoc 2.8 Universal markup converter
rakkess 0.4.2 Review Access - kubectl plugin to show an access matrix for all available resources
rancher 2.3.2 Rancher CLI
rbac-lookup 0.5.0 Find Kubernetes roles and cluster roles bound to any user, service account, or group name.
retry 3.3.0 ♻️ Functional mechanism based on channels to perform actions repetitively until successful.
scenery 0.1.5 A Terraform plan output prettifier
Expand Down
1 change: 1 addition & 0 deletions docs/targets.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ misspell 0.3.4 Correct commonly misspelled English words i
packer 1.4.4 Packer is a tool for creating identical machine images for multiple platforms from a single source configuration.
pandoc 2.8 Universal markup converter
rakkess 0.4.2 Review Access - kubectl plugin to show an access matrix for all available resources
rancher 2.3.2 Rancher CLI
rbac-lookup 0.5.0 Find Kubernetes roles and cluster roles bound to any user, service account, or group name.
retry 3.3.0 ♻️ Functional mechanism based on channels to perform actions repetitively until successful.
scenery 0.1.5 A Terraform plan output prettifier
Expand Down
1 change: 1 addition & 0 deletions vendor/rancher/DESCRIPTION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Rancher CLI
1 change: 1 addition & 0 deletions vendor/rancher/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
MIT
27 changes: 27 additions & 0 deletions vendor/rancher/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
## Typical Github binary release

## Package details
export VENDOR = rancher
export PACKAGE_NAME = rancher
# Folder which package is extracted into
export PACKAGE_REPO_NAME = cli
export DOWNLOAD_URL ?= $(PACKAGE_REPO_URL)/releases/download/v$(PACKAGE_VERSION)/rancher-$(OS)-$(ARCH)-v$(PACKAGE_VERSION).tar.gz

## APK build specific requirements
export APK_BUILD_TEMPLATE ?= APKBUILD.github-binary
## Uncomment only if you need additional libraries
#export APKBUILD_DEPENDS += libc6-compat musl

include ../../tasks/Makefile.package
include ../../tasks/Makefile.apk

install:
$(call download_tarball)

test:
$(PACKAGE_EXE) --version

## This may be required for apk building and varies from package to package
## Custom post-package processing (Note the double colon to append to current inherited package/prepare task)
package/prepare::
mv src/rancher-v$(PACKAGE_VERSION)/rancher src
1 change: 1 addition & 0 deletions vendor/rancher/RELEASE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0
1 change: 1 addition & 0 deletions vendor/rancher/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.3.2

0 comments on commit 4269c72

Please sign in to comment.