You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a developper,
in order to test a draft PR,
I need to easily download the dev release tgz file stored as github action build artefact from a bastion container to perform bosh upload release command
Observed behavior
Bastion container has no web browser to download from github web ui
Download Uris require github auth
github cli has no yet support for downloading workflow artefacts
git clone https://github.com/orange-cloudfoundry/k3s-wrapper-boshrelease.git
cd k3s-wrapper-boshrelease/
gh auth login
#> ? Where do you use GitHub? GitHub.com#> ? What is your preferred protocol for Git operations on this host? HTTPS#> ? Authenticate Git with your GitHub credentials? No#> ? How would you like to authenticate GitHub CLI? Login with a web browser#> #> ! First copy your one-time code: [...]#> Press Enter to open github.com in your browser... #> Simulating browser invocation from xdg-open call with params: https://github.com/login/device# NOTE: Must redirect output to file as `gh api` will follow redirect and stream binary data
gh api /repos/{owner}/{repo}/actions/artifacts/416002865/zip > 416002865.zip
Possible fix
create one draft github release for each github action build for PR e.g. <branch-name>.<commit_hash>
delete draft github releases <branch-name>.* when a PR gets merged
The text was updated successfully, but these errors were encountered:
Expected behavior
As a developper,
in order to test a draft PR,
I need to easily download the dev release tgz file stored as github action build artefact from a bastion container to perform
bosh upload release
commandObserved behavior
workaround
From cli/cli#6532
Possible fix
<branch-name>.<commit_hash>
<branch-name>.*
when a PR gets mergedThe text was updated successfully, but these errors were encountered: