Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

Commit

Permalink
Start using kubectl-cloudflow repo (#915)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaTP authored Dec 11, 2020
1 parent 810b5d3 commit 841d886
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ get-version:
# get latest tag
$(eval version=$(shell sh -c "git for-each-ref refs/tags --sort=-taggerdate --format='%(refname)' --count=1 | sed 's|refs/tags/v||'"))
# query bintray for the corresponding artifact version
$(eval bintray_version=$(shell sh -c "wget -qO - https://api.bintray.com/packages/lightbend/cloudflow-cli/kubectl-cloudflow2 | jq -r '.versions[] | select( . | startswith(\"cloudflow_v${version}\") )'"))
$(eval bintray_version=$(shell sh -c "wget -qO - https://api.bintray.com/packages/lightbend/cloudflow-cli/kubectl-cloudflow | jq -r '.versions[] | select( . | startswith(\"cloudflow_v${version}\") )'"))

set-antora-versions: get-version
yq write shared-content-source/docs/base-antora.yml version "${version}" > shared-content-source/docs/antora.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ First, make sure that you have the following installed:
Using one of the links below, download the Cloudflow CLI appropriate for your development platform.
Install it on your local system by unzipping the archive and moving the executable into your `PATH`.

* https://bintray.com/lightbend/cloudflow-cli/download_file?file_path=kubectl-cloudflow2-{kubectl-plugin-version}-linux-amd64.tar.gz[Linux]
* https://bintray.com/lightbend/cloudflow-cli/download_file?file_path=kubectl-cloudflow-{kubectl-plugin-version}-linux-amd64.tar.gz[Linux]

* https://bintray.com/lightbend/cloudflow-cli/download_file?file_path=kubectl-cloudflow2-{kubectl-plugin-version}-darwin-amd64.tar.gz[MacOS]
* https://bintray.com/lightbend/cloudflow-cli/download_file?file_path=kubectl-cloudflow-{kubectl-plugin-version}-darwin-amd64.tar.gz[MacOS]

* https://bintray.com/lightbend/cloudflow-cli/download_file?file_path=kubectl-cloudflow2-{kubectl-plugin-version}-windows-amd64.tar.gz[Windows]
* https://bintray.com/lightbend/cloudflow-cli/download_file?file_path=kubectl-cloudflow-{kubectl-plugin-version}-windows-amd64.tar.gz[Windows]

Please make sure you have the executable in your path with proper permission settings.
For Linux or MacOS, put the executables in `/usr/local/bin` with permission settings of `755`.
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ prepare-swiss-knife:
.PHONY: prepare-itest-osx
prepare-itest-osx:
@echo '****** Download and unpack kubectl-cloudflow plugin'
$(eval bintray_version=$(shell sh -c "wget -qO - https://api.bintray.com/packages/lightbend/cloudflow-cli/kubectl-cloudflow2 | jq -r '.versions[] | select( . | startswith(\"cloudflow_v${version}\") )'"))
(wget https://bintray.com/lightbend/cloudflow-cli/download_file?file_path=kubectl-cloudflow2-${bintray_version}-darwin-amd64.tar.gz -O kubectl_cloudflow.tar.gz && \
$(eval bintray_version=$(shell sh -c "wget -qO - https://api.bintray.com/packages/lightbend/cloudflow-cli/kubectl-cloudflow | jq -r '.versions[] | select( . | startswith(\"cloudflow_v${version}\") )'"))
(wget https://bintray.com/lightbend/cloudflow-cli/download_file?file_path=kubectl-cloudflow-${bintray_version}-darwin-amd64.tar.gz -O kubectl_cloudflow.tar.gz && \
tar -zxf kubectl_cloudflow.tar.gz --directory itest && \
xattr -d com.apple.quarantine itest/kubectl-cloudflow | true)

Expand Down

0 comments on commit 841d886

Please sign in to comment.