|
1 | | - |
| 1 | +# Copyright 2023 The cert-manager Authors. |
| 2 | +# |
| 3 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | +# you may not use this file except in compliance with the License. |
| 5 | +# You may obtain a copy of the License at |
| 6 | +# |
| 7 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | +# |
| 9 | +# Unless required by applicable law or agreed to in writing, software |
| 10 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | +# See the License for the specific language governing permissions and |
| 13 | +# limitations under the License. |
2 | 14 |
|
3 | 15 | ifndef bin_dir |
4 | 16 | $(error bin_dir is not set) |
@@ -624,6 +636,34 @@ $(DOWNLOAD_DIR)/tools/operator-sdk@$(OPERATOR-SDK_VERSION)_$(HOST_OS)_$(HOST_ARC |
624 | 636 | $(checkhash_script) $(outfile) $(operator-sdk_$(HOST_OS)_$(HOST_ARCH)_SHA256SUM); \ |
625 | 637 | chmod +x $(outfile) |
626 | 638 |
|
| 639 | +# https://docs.venafi.cloud/vaas/venctl/c-venctl-releases/ |
| 640 | +venctl_linux_amd64_SHA256SUM=26e7b7a7e134f1cf1f3ffacf4ae53ec6849058db5007ce4088d51f404ededb4a |
| 641 | +venctl_darwin_amd64_SHA256SUM=2e76693901abcb2c018f66d3a10558c66ca09d1a3be912258bcd6c58e89aae80 |
| 642 | +venctl_darwin_arm64_SHA256SUM=4350912d67683773302655e2a0151320514d1ccf82ee99c895e6780f86b6f031 |
| 643 | + |
| 644 | +.PRECIOUS: $(DOWNLOAD_DIR)/tools/venctl@$(VENCTL_VERSION)_$(HOST_OS)_$(HOST_ARCH) |
| 645 | +$(DOWNLOAD_DIR)/tools/venctl@$(VENCTL_VERSION)_$(HOST_OS)_$(HOST_ARCH): | $(DOWNLOAD_DIR)/tools |
| 646 | + @source $(lock_script) $@; \ |
| 647 | + $(CURL) https://dl.venafi.cloud/venctl/$(VENCTL_VERSION)/venctl-$(HOST_OS)-$(HOST_ARCH).zip -o $(outfile).zip; \ |
| 648 | + $(checkhash_script) $(outfile).zip $(venctl_$(HOST_OS)_$(HOST_ARCH)_SHA256SUM); \ |
| 649 | + unzip -p $(outfile).zip venctl > $(outfile); \ |
| 650 | + chmod +x $(outfile); \ |
| 651 | + rm -f $(outfile).zip |
| 652 | + |
| 653 | +# https://github.com/smallstep/cli/releases/ |
| 654 | +step_linux_amd64_SHA256SUM=2908f3c7d90181eec430070b231da5c0861e37537bf8e2388d031d3bd6c7b8c6 |
| 655 | +step_linux_arm64_SHA256SUM=96636a6cc980d53a98c72aa3b99e04f0b874a733d9ddf43fc6b0f1725f425c37 |
| 656 | +step_darwin_amd64_SHA256SUM=f6e9a9078cfc5f559c8213e023df6e8ebf8d9d36ffbd82749a41ee1c40a23623 |
| 657 | +step_darwin_arm64_SHA256SUM=b856702ee138a9badbe983e88758c0330907ea4f97e429000334ba038597db5b |
| 658 | + |
| 659 | +.PRECIOUS: $(DOWNLOAD_DIR)/tools/step@$(STEP_VERSION)_$(HOST_OS)_$(HOST_ARCH) |
| 660 | +$(DOWNLOAD_DIR)/tools/step@$(STEP_VERSION)_$(HOST_OS)_$(HOST_ARCH): | $(DOWNLOAD_DIR)/tools |
| 661 | + @source $(lock_script) $@; \ |
| 662 | + $(CURL) https://dl.smallstep.com/gh-release/cli/gh-release-header/v$(STEP_VERSION)/step_$(HOST_OS)_$(STEP_VERSION)_$(HOST_ARCH).tar.gz -o $(outfile).tar.gz; \ |
| 663 | + $(checkhash_script) $(outfile).tar.gz $(step_$(HOST_OS)_$(HOST_ARCH)_SHA256SUM); \ |
| 664 | + tar xfO $(outfile).tar.gz step_$(STEP_VERSION)/bin/step > $(outfile); \ |
| 665 | + chmod +x $(outfile); \ |
| 666 | + rm -f $(outfile).tar.gz |
627 | 667 | ################# |
628 | 668 | # Other Targets # |
629 | 669 | ################# |
|
0 commit comments