Skip to content

Instantly share code, notes, and snippets.

@bewing
Created August 31, 2022 16:22
Show Gist options
  • Save bewing/62f50954a6a8cb9e6ca1e3c6a100fcb7 to your computer and use it in GitHub Desktop.
Save bewing/62f50954a6a8cb9e6ca1e3c6a100fcb7 to your computer and use it in GitHub Desktop.
$ curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash -xs -- 3.8.7 ~/bin
+ set -e
+ unset CDPATH
+ where=/home/bewing
+ release_url=https://api.github.com/repos/kubernetes-sigs/kustomize/releases
+ '[' -n 3.8.7 ']'
+ [[ 3.8.7 =~ ^[0-9]+(\.[0-9]+){2}$ ]]
+ version=v3.8.7
+ release_url=https://api.github.com/repos/kubernetes-sigs/kustomize/releases/tags/kustomize%2Fv3.8.7
+ '[' -n /home/bewing/bin ']'
+ where=/home/bewing/bin
+ test -d /home/bewing/bin
++ readlink_f /home/bewing/bin
++ TARGET_FILE=/home/bewing/bin
+++ dirname /home/bewing/bin
++ cd /home/bewing
+++ basename /home/bewing/bin
++ TARGET_FILE=bin
++ '[' -L bin ']'
+++ pwd -P
++ PHYS_DIR=/home/bewing
++ RESULT=/home/bewing/bin
++ echo /home/bewing/bin
+ where=/home/bewing/bin/
+ '[' -f /home/bewing/bin/kustomize ']'
+ '[' -d /home/bewing/bin/kustomize ']'
++ mktemp -d
+ tmpDir=/tmp/tmp.KfhdkUvdGU
+ [[ ! -n /tmp/tmp.KfhdkUvdGU ]]
+ [[ ! -d /tmp/tmp.KfhdkUvdGU ]]
+ trap cleanup EXIT ERR
+ pushd /tmp/tmp.KfhdkUvdGU
+ opsys=windows
+ [[ linux-gnu == linux* ]]
+ opsys=linux
+ case $(uname -m) in
++ uname -m
+ arch=amd64
++ curl -s https://api.github.com/repos/kubernetes-sigs/kustomize/releases/tags/kustomize%2Fv3.8.7
+ releases='{"url":"https://api.github.com/repos/kubernetes-sigs/kustomize/releases/33829673","assets_url":"https://api.github.com/repos/kubernetes-sigs/kustomize/releases/33829673/assets","upload_url":"https://uploads.github.com/repos/kubernetes-sigs/kustomize/releases/33829673/assets{?name,label}","html_url":"https://github.com/kubernetes-sigs/kustomize/releases/tag/kustomize/v3.8.7","id":33829673,"author":{"login":"monopole","id":2928188,"node_id":"MDQ6VXNlcjI5MjgxODg=","avatar_url":"https://avatars.githubusercontent.com/u/2928188?v=4","gravatar_id":"","url":"https://api.github.com/users/monopole","html_url":"https://github.com/monopole","followers_url":"https://api.github.com/users/monopole/followers","following_url":"https://api.github.com/users/monopole/following{/other_user}","gists_url":"https://api.github.com/users/monopole/gists{/gist_id}","starred_url":"https://api.github.com/users/monopole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monopole/subscriptions","organizations_url":"https://api.github.com/users/monopole/orgs","repos_url":"https://api.github.com/users/monopole/repos","events_url":"https://api.github.com/users/monopole/events{/privacy}","received_events_url":"https://api.github.com/users/monopole/received_events","type":"User","site_admin":false},"node_id":"MDc6UmVsZWFzZTMzODI5Njcz","tag_name":"kustomize/v3.8.7","target_commitish":"master","name":"kustomize/v3.8.7","draft":false,"prerelease":false,"created_at":"2020-11-11T23:13:34Z","published_at":"2020-11-11T23:27:27Z","assets":[{"url":"https://api.github.com/repos/kubernetes-sigs/kustomize/releases/assets/28212002","id":28212002,"node_id":"MDEyOlJlbGVhc2VBc3NldDI4MjEyMDAy","name":"checksums.txt","label":"","uploader":{"login":"monopole","id":2928188,"node_id":"MDQ6VXNlcjI5MjgxODg=","avatar_url":"https://avatars.githubusercontent.com/u/2928188?v=4","gravatar_id":"","url":"https://api.github.com/users/monopole","html_url":"https://github.com/monopole","followers_url":"https://api.github.com/users/monopole/followers","following_url":"https://api.github.com/users/monopole/following{/other_user}","gists_url":"https://api.github.com/users/monopole/gists{/gist_id}","starred_url":"https://api.github.com/users/monopole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monopole/subscriptions","organizations_url":"https://api.github.com/users/monopole/orgs","repos_url":"https://api.github.com/users/monopole/repos","events_url":"https://api.github.com/users/monopole/events{/privacy}","received_events_url":"https://api.github.com/users/monopole/received_events","type":"User","site_admin":false},"content_type":"application/octet-stream","state":"uploaded","size":511,"download_count":1002,"created_at":"2020-11-11T23:22:36Z","updated_at":"2020-11-11T23:22:36Z","browser_download_url":"https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/v3.8.7/checksums.txt"},{"url":"https://api.github.com/repos/kubernetes-sigs/kustomize/releases/assets/28212005","id":28212005,"node_id":"MDEyOlJlbGVhc2VBc3NldDI4MjEyMDA1","name":"kustomize_v3.8.7_darwin_amd64.tar.gz","label":"","uploader":{"login":"monopole","id":2928188,"node_id":"MDQ6VXNlcjI5MjgxODg=","avatar_url":"https://avatars.githubusercontent.com/u/2928188?v=4","gravatar_id":"","url":"https://api.github.com/users/monopole","html_url":"https://github.com/monopole","followers_url":"https://api.github.com/users/monopole/followers","following_url":"https://api.github.com/users/monopole/following{/other_user}","gists_url":"https://api.github.com/users/monopole/gists{/gist_id}","starred_url":"https://api.github.com/users/monopole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monopole/subscriptions","organizations_url":"https://api.github.com/users/monopole/orgs","repos_url":"https://api.github.com/users/monopole/repos","events_url":"https://api.github.com/users/monopole/events{/privacy}","received_events_url":"https://api.github.com/users/monopole/received_events","type":"User","site_admin":false},"content_type":"application/octet-stream","state":"uploaded","size":20351024,"download_count":13881,"created_at":"2020-11-11T23:22:36Z","updated_at":"2020-11-11T23:22:37Z","browser_download_url":"https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/v3.8.7/kustomize_v3.8.7_darwin_amd64.tar.gz"},{"url":"https://api.github.com/repos/kubernetes-sigs/kustomize/releases/assets/28212003","id":28212003,"node_id":"MDEyOlJlbGVhc2VBc3NldDI4MjEyMDAz","name":"kustomize_v3.8.7_linux_amd64.tar.gz","label":"","uploader":{"login":"monopole","id":2928188,"node_id":"MDQ6VXNlcjI5MjgxODg=","avatar_url":"https://avatars.githubusercontent.com/u/2928188?v=4","gravatar_id":"","url":"https://api.github.com/users/monopole","html_url":"https://github.com/monopole","followers_url":"https://api.github.com/users/monopole/followers","following_url":"https://api.github.com/users/monopole/following{/other_user}","gists_url":"https://api.github.com/users/monopole/gists{/gist_id}","starred_url":"https://api.github.com/users/monopole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monopole/subscriptions","organizations_url":"https://api.github.com/users/monopole/orgs","repos_url":"https://api.github.com/users/monopole/repos","events_url":"https://api.github.com/users/monopole/events{/privacy}","received_events_url":"https://api.github.com/users/monopole/received_events","type":"User","site_admin":false},"content_type":"application/octet-stream","state":"uploaded","size":11201435,"download_count":482622,"created_at":"2020-11-11T23:22:36Z","updated_at":"2020-11-11T23:22:36Z","browser_download_url":"https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/v3.8.7/kustomize_v3.8.7_linux_amd64.tar.gz"},{"url":"https://api.github.com/repos/kubernetes-sigs/kustomize/releases/assets/28212006","id":28212006,"node_id":"MDEyOlJlbGVhc2VBc3NldDI4MjEyMDA2","name":"kustomize_v3.8.7_linux_arm.tar.gz","label":"","uploader":{"login":"monopole","id":2928188,"node_id":"MDQ6VXNlcjI5MjgxODg=","avatar_url":"https://avatars.githubusercontent.com/u/2928188?v=4","gravatar_id":"","url":"https://api.github.com/users/monopole","html_url":"https://github.com/monopole","followers_url":"https://api.github.com/users/monopole/followers","following_url":"https://api.github.com/users/monopole/following{/other_user}","gists_url":"https://api.github.com/users/monopole/gists{/gist_id}","starred_url":"https://api.github.com/users/monopole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monopole/subscriptions","organizations_url":"https://api.github.com/users/monopole/orgs","repos_url":"https://api.github.com/users/monopole/repos","events_url":"https://api.github.com/users/monopole/events{/privacy}","received_events_url":"https://api.github.com/users/monopole/received_events","type":"User","site_admin":false},"content_type":"application/octet-stream","state":"uploaded","size":10489028,"download_count":1054,"created_at":"2020-11-11T23:22:36Z","updated_at":"2020-11-11T23:22:37Z","browser_download_url":"https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/v3.8.7/kustomize_v3.8.7_linux_arm.tar.gz"},{"url":"https://api.github.com/repos/kubernetes-sigs/kustomize/releases/assets/28212001","id":28212001,"node_id":"MDEyOlJlbGVhc2VBc3NldDI4MjEyMDAx","name":"kustomize_v3.8.7_linux_arm64.tar.gz","label":"","uploader":{"login":"monopole","id":2928188,"node_id":"MDQ6VXNlcjI5MjgxODg=","avatar_url":"https://avatars.githubusercontent.com/u/2928188?v=4","gravatar_id":"","url":"https://api.github.com/users/monopole","html_url":"https://github.com/monopole","followers_url":"https://api.github.com/users/monopole/followers","following_url":"https://api.github.com/users/monopole/following{/other_user}","gists_url":"https://api.github.com/users/monopole/gists{/gist_id}","starred_url":"https://api.github.com/users/monopole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monopole/subscriptions","organizations_url":"https://api.github.com/users/monopole/orgs","repos_url":"https://api.github.com/users/monopole/repos","events_url":"https://api.github.com/users/monopole/events{/privacy}","received_events_url":"https://api.github.com/users/monopole/received_events","type":"User","site_admin":false},"content_type":"application/octet-stream","state":"uploaded","size":10197537,"download_count":1760,"created_at":"2020-11-11T23:22:36Z","updated_at":"2020-11-11T23:22:37Z","browser_download_url":"https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/v3.8.7/kustomize_v3.8.7_linux_arm64.tar.gz"},{"url":"https://api.github.com/repos/kubernetes-sigs/kustomize/releases/assets/28212004","id":28212004,"node_id":"MDEyOlJlbGVhc2VBc3NldDI4MjEyMDA0","name":"kustomize_v3.8.7_windows_amd64.tar.gz","label":"","uploader":{"login":"monopole","id":2928188,"node_id":"MDQ6VXNlcjI5MjgxODg=","avatar_url":"https://avatars.githubusercontent.com/u/2928188?v=4","gravatar_id":"","url":"https://api.github.com/users/monopole","html_url":"https://github.com/monopole","followers_url":"https://api.github.com/users/monopole/followers","following_url":"https://api.github.com/users/monopole/following{/other_user}","gists_url":"https://api.github.com/users/monopole/gists{/gist_id}","starred_url":"https://api.github.com/users/monopole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monopole/subscriptions","organizations_url":"https://api.github.com/users/monopole/orgs","repos_url":"https://api.github.com/users/monopole/repos","events_url":"https://api.github.com/users/monopole/events{/privacy}","received_events_url":"https://api.github.com/users/monopole/received_events","type":"User","site_admin":false},"content_type":"application/octet-stream","state":"uploaded","size":11178061,"download_count":1802,"created_at":"2020-11-11T23:22:36Z","updated_at":"2020-11-11T23:22:36Z","browser_download_url":"https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/v3.8.7/kustomize_v3.8.7_windows_amd64.tar.gz"}],"tarball_url":"https://api.github.com/repos/kubernetes-sigs/kustomize/tarball/kustomize/v3.8.7","zipball_url":"https://api.github.com/repos/kubernetes-sigs/kustomize/zipball/kustomize/v3.8.7","body":"\r\n\r\n## Changelog\r\n\r\nad092cc7 Merge pull request #3216 from monopole/pin_api_v0.6.5\r\n0a9fc6c8 Pin to api_v0.6.5\r\n\r\n\r\n"}'
+ [[ {"url":"https://api.github.com/repos/kubernetes-sigs/kustomize/releases/33829673","assets_url":"https://api.github.com/repos/kubernetes-sigs/kustomize/releases/33829673/assets","upload_url":"https://uploads.github.com/repos/kubernetes-sigs/kustomize/releases/33829673/assets{?name,label}","html_url":"https://github.com/kubernetes-sigs/kustomize/releases/tag/kustomize/v3.8.7","id":33829673,"author":{"login":"monopole","id":2928188,"node_id":"MDQ6VXNlcjI5MjgxODg=","avatar_url":"https://avatars.githubusercontent.com/u/2928188?v=4","gravatar_id":"","url":"https://api.github.com/users/monopole","html_url":"https://github.com/monopole","followers_url":"https://api.github.com/users/monopole/followers","following_url":"https://api.github.com/users/monopole/following{/other_user}","gists_url":"https://api.github.com/users/monopole/gists{/gist_id}","starred_url":"https://api.github.com/users/monopole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monopole/subscriptions","organizations_url":"https://api.github.com/users/monopole/orgs","repos_url":"https://api.github.com/users/monopole/repos","events_url":"https://api.github.com/users/monopole/events{/privacy}","received_events_url":"https://api.github.com/users/monopole/received_events","type":"User","site_admin":false},"node_id":"MDc6UmVsZWFzZTMzODI5Njcz","tag_name":"kustomize/v3.8.7","target_commitish":"master","name":"kustomize/v3.8.7","draft":false,"prerelease":false,"created_at":"2020-11-11T23:13:34Z","published_at":"2020-11-11T23:27:27Z","assets":[{"url":"https://api.github.com/repos/kubernetes-sigs/kustomize/releases/assets/28212002","id":28212002,"node_id":"MDEyOlJlbGVhc2VBc3NldDI4MjEyMDAy","name":"checksums.txt","label":"","uploader":{"login":"monopole","id":2928188,"node_id":"MDQ6VXNlcjI5MjgxODg=","avatar_url":"https://avatars.githubusercontent.com/u/2928188?v=4","gravatar_id":"","url":"https://api.github.com/users/monopole","html_url":"https://github.com/monopole","followers_url":"https://api.github.com/users/monopole/followers","following_url":"https://api.github.com/users/monopole/following{/other_user}","gists_url":"https://api.github.com/users/monopole/gists{/gist_id}","starred_url":"https://api.github.com/users/monopole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monopole/subscriptions","organizations_url":"https://api.github.com/users/monopole/orgs","repos_url":"https://api.github.com/users/monopole/repos","events_url":"https://api.github.com/users/monopole/events{/privacy}","received_events_url":"https://api.github.com/users/monopole/received_events","type":"User","site_admin":false},"content_type":"application/octet-stream","state":"uploaded","size":511,"download_count":1002,"created_at":"2020-11-11T23:22:36Z","updated_at":"2020-11-11T23:22:36Z","browser_download_url":"https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/v3.8.7/checksums.txt"},{"url":"https://api.github.com/repos/kubernetes-sigs/kustomize/releases/assets/28212005","id":28212005,"node_id":"MDEyOlJlbGVhc2VBc3NldDI4MjEyMDA1","name":"kustomize_v3.8.7_darwin_amd64.tar.gz","label":"","uploader":{"login":"monopole","id":2928188,"node_id":"MDQ6VXNlcjI5MjgxODg=","avatar_url":"https://avatars.githubusercontent.com/u/2928188?v=4","gravatar_id":"","url":"https://api.github.com/users/monopole","html_url":"https://github.com/monopole","followers_url":"https://api.github.com/users/monopole/followers","following_url":"https://api.github.com/users/monopole/following{/other_user}","gists_url":"https://api.github.com/users/monopole/gists{/gist_id}","starred_url":"https://api.github.com/users/monopole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monopole/subscriptions","organizations_url":"https://api.github.com/users/monopole/orgs","repos_url":"https://api.github.com/users/monopole/repos","events_url":"https://api.github.com/users/monopole/events{/privacy}","received_events_url":"https://api.github.com/users/monopole/received_events","type":"User","site_admin":false},"content_type":"application/octet-stream","state":"uploaded","size":20351024,"download_count":13881,"created_at":"2020-11-11T23:22:36Z","updated_at":"2020-11-11T23:22:37Z","browser_download_url":"https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/v3.8.7/kustomize_v3.8.7_darwin_amd64.tar.gz"},{"url":"https://api.github.com/repos/kubernetes-sigs/kustomize/releases/assets/28212003","id":28212003,"node_id":"MDEyOlJlbGVhc2VBc3NldDI4MjEyMDAz","name":"kustomize_v3.8.7_linux_amd64.tar.gz","label":"","uploader":{"login":"monopole","id":2928188,"node_id":"MDQ6VXNlcjI5MjgxODg=","avatar_url":"https://avatars.githubusercontent.com/u/2928188?v=4","gravatar_id":"","url":"https://api.github.com/users/monopole","html_url":"https://github.com/monopole","followers_url":"https://api.github.com/users/monopole/followers","following_url":"https://api.github.com/users/monopole/following{/other_user}","gists_url":"https://api.github.com/users/monopole/gists{/gist_id}","starred_url":"https://api.github.com/users/monopole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monopole/subscriptions","organizations_url":"https://api.github.com/users/monopole/orgs","repos_url":"https://api.github.com/users/monopole/repos","events_url":"https://api.github.com/users/monopole/events{/privacy}","received_events_url":"https://api.github.com/users/monopole/received_events","type":"User","site_admin":false},"content_type":"application/octet-stream","state":"uploaded","size":11201435,"download_count":482622,"created_at":"2020-11-11T23:22:36Z","updated_at":"2020-11-11T23:22:36Z","browser_download_url":"https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/v3.8.7/kustomize_v3.8.7_linux_amd64.tar.gz"},{"url":"https://api.github.com/repos/kubernetes-sigs/kustomize/releases/assets/28212006","id":28212006,"node_id":"MDEyOlJlbGVhc2VBc3NldDI4MjEyMDA2","name":"kustomize_v3.8.7_linux_arm.tar.gz","label":"","uploader":{"login":"monopole","id":2928188,"node_id":"MDQ6VXNlcjI5MjgxODg=","avatar_url":"https://avatars.githubusercontent.com/u/2928188?v=4","gravatar_id":"","url":"https://api.github.com/users/monopole","html_url":"https://github.com/monopole","followers_url":"https://api.github.com/users/monopole/followers","following_url":"https://api.github.com/users/monopole/following{/other_user}","gists_url":"https://api.github.com/users/monopole/gists{/gist_id}","starred_url":"https://api.github.com/users/monopole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monopole/subscriptions","organizations_url":"https://api.github.com/users/monopole/orgs","repos_url":"https://api.github.com/users/monopole/repos","events_url":"https://api.github.com/users/monopole/events{/privacy}","received_events_url":"https://api.github.com/users/monopole/received_events","type":"User","site_admin":false},"content_type":"application/octet-stream","state":"uploaded","size":10489028,"download_count":1054,"created_at":"2020-11-11T23:22:36Z","updated_at":"2020-11-11T23:22:37Z","browser_download_url":"https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/v3.8.7/kustomize_v3.8.7_linux_arm.tar.gz"},{"url":"https://api.github.com/repos/kubernetes-sigs/kustomize/releases/assets/28212001","id":28212001,"node_id":"MDEyOlJlbGVhc2VBc3NldDI4MjEyMDAx","name":"kustomize_v3.8.7_linux_arm64.tar.gz","label":"","uploader":{"login":"monopole","id":2928188,"node_id":"MDQ6VXNlcjI5MjgxODg=","avatar_url":"https://avatars.githubusercontent.com/u/2928188?v=4","gravatar_id":"","url":"https://api.github.com/users/monopole","html_url":"https://github.com/monopole","followers_url":"https://api.github.com/users/monopole/followers","following_url":"https://api.github.com/users/monopole/following{/other_user}","gists_url":"https://api.github.com/users/monopole/gists{/gist_id}","starred_url":"https://api.github.com/users/monopole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monopole/subscriptions","organizations_url":"https://api.github.com/users/monopole/orgs","repos_url":"https://api.github.com/users/monopole/repos","events_url":"https://api.github.com/users/monopole/events{/privacy}","received_events_url":"https://api.github.com/users/monopole/received_events","type":"User","site_admin":false},"content_type":"application/octet-stream","state":"uploaded","size":10197537,"download_count":1760,"created_at":"2020-11-11T23:22:36Z","updated_at":"2020-11-11T23:22:37Z","browser_download_url":"https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/v3.8.7/kustomize_v3.8.7_linux_arm64.tar.gz"},{"url":"https://api.github.com/repos/kubernetes-sigs/kustomize/releases/assets/28212004","id":28212004,"node_id":"MDEyOlJlbGVhc2VBc3NldDI4MjEyMDA0","name":"kustomize_v3.8.7_windows_amd64.tar.gz","label":"","uploader":{"login":"monopole","id":2928188,"node_id":"MDQ6VXNlcjI5MjgxODg=","avatar_url":"https://avatars.githubusercontent.com/u/2928188?v=4","gravatar_id":"","url":"https://api.github.com/users/monopole","html_url":"https://github.com/monopole","followers_url":"https://api.github.com/users/monopole/followers","following_url":"https://api.github.com/users/monopole/following{/other_user}","gists_url":"https://api.github.com/users/monopole/gists{/gist_id}","starred_url":"https://api.github.com/users/monopole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monopole/subscriptions","organizations_url":"https://api.github.com/users/monopole/orgs","repos_url":"https://api.github.com/users/monopole/repos","events_url":"https://api.github.com/users/monopole/events{/privacy}","received_events_url":"https://api.github.com/users/monopole/received_events","type":"User","site_admin":false},"content_type":"application/octet-stream","state":"uploaded","size":11178061,"download_count":1802,"created_at":"2020-11-11T23:22:36Z","updated_at":"2020-11-11T23:22:36Z","browser_download_url":"https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/v3.8.7/kustomize_v3.8.7_windows_amd64.tar.gz"}],"tarball_url":"https://api.github.com/repos/kubernetes-sigs/kustomize/tarball/kustomize/v3.8.7","zipball_url":"https://api.github.com/repos/kubernetes-sigs/kustomize/zipball/kustomize/v3.8.7","body":"\r\n\r\n## Changelog\r\n\r\nad092cc7 Merge pull request #3216 from monopole/pin_api_v0.6.5\r\n0a9fc6c8 Pin to api_v0.6.5\r\n\r\n\r\n"} == *\A\P\I\ \r\a\t\e\ \l\i\m\i\t\ \e\x\c\e\e\d\e\d* ]]
++ echo '{"url":"https://api.github.com/repos/kubernetes-sigs/kustomize/releases/33829673","assets_url":"https://api.github.com/repos/kubernetes-sigs/kustomize/releases/33829673/assets","upload_url":"https://uploads.github.com/repos/kubernetes-sigs/kustomize/releases/33829673/assets{?name,label}","html_url":"https://github.com/kubernetes-sigs/kustomize/releases/tag/kustomize/v3.8.7","id":33829673,"author":{"login":"monopole","id":2928188,"node_id":"MDQ6VXNlcjI5MjgxODg=","avatar_url":"https://avatars.githubusercontent.com/u/2928188?v=4","gravatar_id":"","url":"https://api.github.com/users/monopole","html_url":"https://github.com/monopole","followers_url":"https://api.github.com/users/monopole/followers","following_url":"https://api.github.com/users/monopole/following{/other_user}","gists_url":"https://api.github.com/users/monopole/gists{/gist_id}","starred_url":"https://api.github.com/users/monopole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monopole/subscriptions","organizations_url":"https://api.github.com/users/monopole/orgs","repos_url":"https://api.github.com/users/monopole/repos","events_url":"https://api.github.com/users/monopole/events{/privacy}","received_events_url":"https://api.github.com/users/monopole/received_events","type":"User","site_admin":false},"node_id":"MDc6UmVsZWFzZTMzODI5Njcz","tag_name":"kustomize/v3.8.7","target_commitish":"master","name":"kustomize/v3.8.7","draft":false,"prerelease":false,"created_at":"2020-11-11T23:13:34Z","published_at":"2020-11-11T23:27:27Z","assets":[{"url":"https://api.github.com/repos/kubernetes-sigs/kustomize/releases/assets/28212002","id":28212002,"node_id":"MDEyOlJlbGVhc2VBc3NldDI4MjEyMDAy","name":"checksums.txt","label":"","uploader":{"login":"monopole","id":2928188,"node_id":"MDQ6VXNlcjI5MjgxODg=","avatar_url":"https://avatars.githubusercontent.com/u/2928188?v=4","gravatar_id":"","url":"https://api.github.com/users/monopole","html_url":"https://github.com/monopole","followers_url":"https://api.github.com/users/monopole/followers","following_url":"https://api.github.com/users/monopole/following{/other_user}","gists_url":"https://api.github.com/users/monopole/gists{/gist_id}","starred_url":"https://api.github.com/users/monopole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monopole/subscriptions","organizations_url":"https://api.github.com/users/monopole/orgs","repos_url":"https://api.github.com/users/monopole/repos","events_url":"https://api.github.com/users/monopole/events{/privacy}","received_events_url":"https://api.github.com/users/monopole/received_events","type":"User","site_admin":false},"content_type":"application/octet-stream","state":"uploaded","size":511,"download_count":1002,"created_at":"2020-11-11T23:22:36Z","updated_at":"2020-11-11T23:22:36Z","browser_download_url":"https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/v3.8.7/checksums.txt"},{"url":"https://api.github.com/repos/kubernetes-sigs/kustomize/releases/assets/28212005","id":28212005,"node_id":"MDEyOlJlbGVhc2VBc3NldDI4MjEyMDA1","name":"kustomize_v3.8.7_darwin_amd64.tar.gz","label":"","uploader":{"login":"monopole","id":2928188,"node_id":"MDQ6VXNlcjI5MjgxODg=","avatar_url":"https://avatars.githubusercontent.com/u/2928188?v=4","gravatar_id":"","url":"https://api.github.com/users/monopole","html_url":"https://github.com/monopole","followers_url":"https://api.github.com/users/monopole/followers","following_url":"https://api.github.com/users/monopole/following{/other_user}","gists_url":"https://api.github.com/users/monopole/gists{/gist_id}","starred_url":"https://api.github.com/users/monopole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monopole/subscriptions","organizations_url":"https://api.github.com/users/monopole/orgs","repos_url":"https://api.github.com/users/monopole/repos","events_url":"https://api.github.com/users/monopole/events{/privacy}","received_events_url":"https://api.github.com/users/monopole/received_events","type":"User","site_admin":false},"content_type":"application/octet-stream","state":"uploaded","size":20351024,"download_count":13881,"created_at":"2020-11-11T23:22:36Z","updated_at":"2020-11-11T23:22:37Z","browser_download_url":"https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/v3.8.7/kustomize_v3.8.7_darwin_amd64.tar.gz"},{"url":"https://api.github.com/repos/kubernetes-sigs/kustomize/releases/assets/28212003","id":28212003,"node_id":"MDEyOlJlbGVhc2VBc3NldDI4MjEyMDAz","name":"kustomize_v3.8.7_linux_amd64.tar.gz","label":"","uploader":{"login":"monopole","id":2928188,"node_id":"MDQ6VXNlcjI5MjgxODg=","avatar_url":"https://avatars.githubusercontent.com/u/2928188?v=4","gravatar_id":"","url":"https://api.github.com/users/monopole","html_url":"https://github.com/monopole","followers_url":"https://api.github.com/users/monopole/followers","following_url":"https://api.github.com/users/monopole/following{/other_user}","gists_url":"https://api.github.com/users/monopole/gists{/gist_id}","starred_url":"https://api.github.com/users/monopole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monopole/subscriptions","organizations_url":"https://api.github.com/users/monopole/orgs","repos_url":"https://api.github.com/users/monopole/repos","events_url":"https://api.github.com/users/monopole/events{/privacy}","received_events_url":"https://api.github.com/users/monopole/received_events","type":"User","site_admin":false},"content_type":"application/octet-stream","state":"uploaded","size":11201435,"download_count":482622,"created_at":"2020-11-11T23:22:36Z","updated_at":"2020-11-11T23:22:36Z","browser_download_url":"https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/v3.8.7/kustomize_v3.8.7_linux_amd64.tar.gz"},{"url":"https://api.github.com/repos/kubernetes-sigs/kustomize/releases/assets/28212006","id":28212006,"node_id":"MDEyOlJlbGVhc2VBc3NldDI4MjEyMDA2","name":"kustomize_v3.8.7_linux_arm.tar.gz","label":"","uploader":{"login":"monopole","id":2928188,"node_id":"MDQ6VXNlcjI5MjgxODg=","avatar_url":"https://avatars.githubusercontent.com/u/2928188?v=4","gravatar_id":"","url":"https://api.github.com/users/monopole","html_url":"https://github.com/monopole","followers_url":"https://api.github.com/users/monopole/followers","following_url":"https://api.github.com/users/monopole/following{/other_user}","gists_url":"https://api.github.com/users/monopole/gists{/gist_id}","starred_url":"https://api.github.com/users/monopole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monopole/subscriptions","organizations_url":"https://api.github.com/users/monopole/orgs","repos_url":"https://api.github.com/users/monopole/repos","events_url":"https://api.github.com/users/monopole/events{/privacy}","received_events_url":"https://api.github.com/users/monopole/received_events","type":"User","site_admin":false},"content_type":"application/octet-stream","state":"uploaded","size":10489028,"download_count":1054,"created_at":"2020-11-11T23:22:36Z","updated_at":"2020-11-11T23:22:37Z","browser_download_url":"https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/v3.8.7/kustomize_v3.8.7_linux_arm.tar.gz"},{"url":"https://api.github.com/repos/kubernetes-sigs/kustomize/releases/assets/28212001","id":28212001,"node_id":"MDEyOlJlbGVhc2VBc3NldDI4MjEyMDAx","name":"kustomize_v3.8.7_linux_arm64.tar.gz","label":"","uploader":{"login":"monopole","id":2928188,"node_id":"MDQ6VXNlcjI5MjgxODg=","avatar_url":"https://avatars.githubusercontent.com/u/2928188?v=4","gravatar_id":"","url":"https://api.github.com/users/monopole","html_url":"https://github.com/monopole","followers_url":"https://api.github.com/users/monopole/followers","following_url":"https://api.github.com/users/monopole/following{/other_user}","gists_url":"https://api.github.com/users/monopole/gists{/gist_id}","starred_url":"https://api.github.com/users/monopole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monopole/subscriptions","organizations_url":"https://api.github.com/users/monopole/orgs","repos_url":"https://api.github.com/users/monopole/repos","events_url":"https://api.github.com/users/monopole/events{/privacy}","received_events_url":"https://api.github.com/users/monopole/received_events","type":"User","site_admin":false},"content_type":"application/octet-stream","state":"uploaded","size":10197537,"download_count":1760,"created_at":"2020-11-11T23:22:36Z","updated_at":"2020-11-11T23:22:37Z","browser_download_url":"https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/v3.8.7/kustomize_v3.8.7_linux_arm64.tar.gz"},{"url":"https://api.github.com/repos/kubernetes-sigs/kustomize/releases/assets/28212004","id":28212004,"node_id":"MDEyOlJlbGVhc2VBc3NldDI4MjEyMDA0","name":"kustomize_v3.8.7_windows_amd64.tar.gz","label":"","uploader":{"login":"monopole","id":2928188,"node_id":"MDQ6VXNlcjI5MjgxODg=","avatar_url":"https://avatars.githubusercontent.com/u/2928188?v=4","gravatar_id":"","url":"https://api.github.com/users/monopole","html_url":"https://github.com/monopole","followers_url":"https://api.github.com/users/monopole/followers","following_url":"https://api.github.com/users/monopole/following{/other_user}","gists_url":"https://api.github.com/users/monopole/gists{/gist_id}","starred_url":"https://api.github.com/users/monopole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monopole/subscriptions","organizations_url":"https://api.github.com/users/monopole/orgs","repos_url":"https://api.github.com/users/monopole/repos","events_url":"https://api.github.com/users/monopole/events{/privacy}","received_events_url":"https://api.github.com/users/monopole/received_events","type":"User","site_admin":false},"content_type":"application/octet-stream","state":"uploaded","size":11178061,"download_count":1802,"created_at":"2020-11-11T23:22:36Z","updated_at":"2020-11-11T23:22:36Z","browser_download_url":"https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/v3.8.7/kustomize_v3.8.7_windows_amd64.tar.gz"}],"tarball_url":"https://api.github.com/repos/kubernetes-sigs/kustomize/tarball/kustomize/v3.8.7","zipball_url":"https://api.github.com/repos/kubernetes-sigs/kustomize/zipball/kustomize/v3.8.7","body":"\r\n\r\n## Changelog\r\n\r\nad092cc7 Merge pull request #3216 from monopole/pin_api_v0.6.5\r\n0a9fc6c8 Pin to api_v0.6.5\r\n\r\n\r\n"}'
++ cut -d '"' -f 4
++ grep 'browser_download.*linux_amd64'
++ sort -V
++ tail -n 1
+ RELEASE_URL=https://api.github.com/repos/kubernetes-sigs/kustomize/releases/33829673
+ '[' '!' -n https://api.github.com/repos/kubernetes-sigs/kustomize/releases/33829673 ']'
+ curl -sLO https://api.github.com/repos/kubernetes-sigs/kustomize/releases/33829673
+ tar xzf './kustomize_v*_linux_amd64.tar.gz'
tar (child): ./kustomize_v*_linux_amd64.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
++ cleanup
++ rm -rf /tmp/tmp.KfhdkUvdGU
+ cleanup
+ rm -rf /tmp/tmp.KfhdkUvdGU
@bewing
Copy link
Author

bewing commented Aug 31, 2022

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.4 LTS
Release:        20.04
Codename:       focal

@bewing
Copy link
Author

bewing commented Aug 31, 2022

$ curl --version
curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3
Release-Date: 2020-01-08
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment