Closed ibmmarkham closed 2 months ago
@ibmmarkham removed the e-mail address from the issue.
@ibmmarkham I need more details on the download error, can you please ping me on Slack?
Change to be implemented:
github-ibm-pat
name: Get current version number of clouctl
uri:
url: https://api.github.com/repos/IBM/cloud-pak-cli/releases/latest
return_content: yes
method: GET
status_code: 200
headers:
Authorization: "Bearer <github-ibm-pat secret>"
register: _cloudctl_version
Describe the bug I am reporting the installing issue on behalf of KC Morrison since seems he is not able to log an issue directly.
The problem is described as the following: In step name: Get current version number of clouctl
Which is in repo and file: https://github.com/IBM/cloud-pak-deployer/blob/main/automation-roles/99-generic/cloudctl/cloudctl-download/tasks/main.yml
The tags do not permit including an authentication token. Our automated process always clones the latest version of this repo and then tries to use it. Without a way to implement the token, we consistently get a rate-limit error on this step.
We have had to break our automation in order to work around this error. We pause between the cloning of the repo, and execution of the repo, to give ourselves a chance to CHANGE what the repo delivered.
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.