From ef6c521074f2f07a2d697e8e5226869c77f0f712 Mon Sep 17 00:00:00 2001 From: Chris Meller Date: Tue, 26 Oct 2021 20:39:28 +0300 Subject: [PATCH] openshift-okd-client: Add version 4.8.0-0.okd-2021-10-24-061736 (#2817) * Add a manifest for the Openshift OKD client CLI. * Add a description for OKD. * Update OKD checkver to use the Github API. * Include the hash during autoupdate for OKD. * Wrap OKD with the architecture structure. * Update OKD license. --- bucket/openshift-okd-client.json | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 bucket/openshift-okd-client.json diff --git a/bucket/openshift-okd-client.json b/bucket/openshift-okd-client.json new file mode 100644 index 0000000000..7582ee7015 --- /dev/null +++ b/bucket/openshift-okd-client.json @@ -0,0 +1,29 @@ +{ + "homepage": "https://okd.io", + "license": "Apache-2.0", + "description": "OKD is the community distribution of Kubernetes optimized for continuous application development and multi-tenant deployment. OKD adds developer and operations-centric tools on top of Kubernetes to enable rapid application development, easy deployment and scaling, and long-term lifecycle maintenance for small and large teams.", + "version": "4.8.0-0.okd-2021-10-24-061736", + "architecture": { + "64bit": { + "url": "https://github.com/openshift/okd/releases/download/4.8.0-0.okd-2021-10-24-061736/openshift-client-windows-4.8.0-0.okd-2021-10-24-061736.zip", + "hash": "8dacf8f63648cf075b10f5675b60c825f43847aa55bb2e6b0f89189ea057fca7" + } + }, + "bin": "oc.exe", + "checkver": { + "url": "https://api.github.com/repos/openshift/okd/tags", + "jsonpath": "$[0].name" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://github.com/openshift/okd/releases/download/$version/openshift-client-windows-$version.zip", + "hash": { + "mode": "extract", + "url": "https://github.com/openshift/okd/releases/download/$version/sha256sum.txt", + "find": "([a-fA-F0-9]{64})\\s+\\./openshift-client-windows-$version.zip" + } + } + } + } +}