From 15a06941d53f7e280e1ce13b8689cbbbcc1fba3c Mon Sep 17 00:00:00 2001 From: Zachary Loeber Date: Fri, 29 Nov 2019 12:42:44 -0600 Subject: [PATCH] [jx] add tool (#287) * [jx] add tool * fix: install as tarball, not binary --- .github/auto-label.yml | 1 + README.md | 1 + docs/targets.md | 1 + vendor/jx/DESCRIPTION | 1 + vendor/jx/LICENSE | 1 + vendor/jx/Makefile | 26 ++++++++++++++++++++++++++ vendor/jx/RELEASE | 1 + vendor/jx/VERSION | 1 + 8 files changed, 33 insertions(+) create mode 100644 vendor/jx/DESCRIPTION create mode 100644 vendor/jx/LICENSE create mode 100644 vendor/jx/Makefile create mode 100644 vendor/jx/RELEASE create mode 100644 vendor/jx/VERSION diff --git a/.github/auto-label.yml b/.github/auto-label.yml index 4af17e354..4d2d204dd 100644 --- a/.github/auto-label.yml +++ b/.github/auto-label.yml @@ -49,6 +49,7 @@ vendor/helmfile: vendor/helmfile/** vendor/htmltest: vendor/htmltest/** vendor/hugo: vendor/hugo/** vendor/json2hcl: vendor/json2hcl/** +vendor/jx: vendor/jx/** vendor/k6: vendor/k6/** vendor/kfctl: vendor/kfctl/** vendor/kind: vendor/kind/** diff --git a/README.md b/README.md index ca87bd1a2..cc799e3cc 100644 --- a/README.md +++ b/README.md @@ -269,6 +269,7 @@ helmfile 0.93.2 Deploy Kubernetes Helm Charts htmltest 0.10.3 :white_check_mark: Test generated HTML for problems hugo 0.59.1 The world’s fastest framework for building websites. json2hcl 0.0.6 Convert JSON to HCL, and vice versa +jx 2.0.1 Jenkins-X k6 0.25.1 A modern load testing tool, using Go and JavaScript - https://k6.io kfctl 0.7.0 Machine Learning Toolkit for Kubernetes kind 0.6.0 A tool for running local Kubernetes clusters using Docker diff --git a/docs/targets.md b/docs/targets.md index c186f125c..d8f30e9e1 100644 --- a/docs/targets.md +++ b/docs/targets.md @@ -33,6 +33,7 @@ helmfile 0.93.2 Deploy Kubernetes Helm Charts htmltest 0.10.3 :white_check_mark: Test generated HTML for problems hugo 0.59.1 The world’s fastest framework for building websites. json2hcl 0.0.6 Convert JSON to HCL, and vice versa +jx 2.0.1 Jenkins-X k6 0.25.1 A modern load testing tool, using Go and JavaScript - https://k6.io kfctl 0.7.0 Machine Learning Toolkit for Kubernetes kind 0.6.0 A tool for running local Kubernetes clusters using Docker diff --git a/vendor/jx/DESCRIPTION b/vendor/jx/DESCRIPTION new file mode 100644 index 000000000..f8d05f4a4 --- /dev/null +++ b/vendor/jx/DESCRIPTION @@ -0,0 +1 @@ +Jenkins-X diff --git a/vendor/jx/LICENSE b/vendor/jx/LICENSE new file mode 100644 index 000000000..a22a2da24 --- /dev/null +++ b/vendor/jx/LICENSE @@ -0,0 +1 @@ +MIT diff --git a/vendor/jx/Makefile b/vendor/jx/Makefile new file mode 100644 index 000000000..1acb853ef --- /dev/null +++ b/vendor/jx/Makefile @@ -0,0 +1,26 @@ +## Typical Github binary release + +## Package details +export VENDOR = jenkins-x +export PACKAGE_NAME = jx +export PACKAGE_REPO_NAME = jx +export DOWNLOAD_URL = $(PACKAGE_REPO_URL)/releases/download/v$(PACKAGE_VERSION)/jx-$(OS)-$(ARCH).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/jx-$(OS).$(ARCH)/jx src diff --git a/vendor/jx/RELEASE b/vendor/jx/RELEASE new file mode 100644 index 000000000..c22708346 --- /dev/null +++ b/vendor/jx/RELEASE @@ -0,0 +1 @@ +0 \ No newline at end of file diff --git a/vendor/jx/VERSION b/vendor/jx/VERSION new file mode 100644 index 000000000..38f77a65b --- /dev/null +++ b/vendor/jx/VERSION @@ -0,0 +1 @@ +2.0.1