From 4269c727c428ccbc9ec13f18c9a356cd08bef6fb Mon Sep 17 00:00:00 2001 From: Zachary Loeber Date: Fri, 29 Nov 2019 15:06:18 -0600 Subject: [PATCH] [rancher] Add Package (#288) --- .github/auto-label.yml | 1 + README.md | 1 + docs/targets.md | 1 + vendor/rancher/DESCRIPTION | 1 + vendor/rancher/LICENSE | 1 + vendor/rancher/Makefile | 27 +++++++++++++++++++++++++++ vendor/rancher/RELEASE | 1 + vendor/rancher/VERSION | 1 + 8 files changed, 34 insertions(+) create mode 100644 vendor/rancher/DESCRIPTION create mode 100644 vendor/rancher/LICENSE create mode 100644 vendor/rancher/Makefile create mode 100644 vendor/rancher/RELEASE create mode 100644 vendor/rancher/VERSION diff --git a/.github/auto-label.yml b/.github/auto-label.yml index 4d2d204dd..0fe86f7c3 100644 --- a/.github/auto-label.yml +++ b/.github/auto-label.yml @@ -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/** diff --git a/README.md b/README.md index cc799e3cc..c2b134bc7 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/docs/targets.md b/docs/targets.md index d8f30e9e1..2d47b8a4b 100644 --- a/docs/targets.md +++ b/docs/targets.md @@ -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 diff --git a/vendor/rancher/DESCRIPTION b/vendor/rancher/DESCRIPTION new file mode 100644 index 000000000..df3dc9fb3 --- /dev/null +++ b/vendor/rancher/DESCRIPTION @@ -0,0 +1 @@ +Rancher CLI diff --git a/vendor/rancher/LICENSE b/vendor/rancher/LICENSE new file mode 100644 index 000000000..a22a2da24 --- /dev/null +++ b/vendor/rancher/LICENSE @@ -0,0 +1 @@ +MIT diff --git a/vendor/rancher/Makefile b/vendor/rancher/Makefile new file mode 100644 index 000000000..5c2786bd6 --- /dev/null +++ b/vendor/rancher/Makefile @@ -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 diff --git a/vendor/rancher/RELEASE b/vendor/rancher/RELEASE new file mode 100644 index 000000000..c22708346 --- /dev/null +++ b/vendor/rancher/RELEASE @@ -0,0 +1 @@ +0 \ No newline at end of file diff --git a/vendor/rancher/VERSION b/vendor/rancher/VERSION new file mode 100644 index 000000000..f90b1afc0 --- /dev/null +++ b/vendor/rancher/VERSION @@ -0,0 +1 @@ +2.3.2