Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post Tag GH workflow is broken #6326

Closed
johanfylling opened this issue Oct 18, 2023 · 1 comment · Fixed by #6329
Closed

Post Tag GH workflow is broken #6326

johanfylling opened this issue Oct 18, 2023 · 1 comment · Fixed by #6329
Labels
bug packaging Issues related to OPA release artifacts, pipelines etc.

Comments

@johanfylling
Copy link
Contributor

On October 2nd, the hub tool was removed from GitHub's action runner images.
The github-release.sh script, used by the Post Tag workflow, has a dependency to hub, which now is now coincidentally broken.

Adopting the official GitHub gh cli tool should be considered.

@johanfylling johanfylling added bug packaging Issues related to OPA release artifacts, pipelines etc. labels Oct 18, 2023
@johanfylling johanfylling added this to Backlog in Open Policy Agent via automation Oct 18, 2023
@johanfylling johanfylling moved this from Backlog to Planning - v0.58 in Open Policy Agent Oct 18, 2023
@johanfylling
Copy link
Contributor Author

johanfylling commented Oct 18, 2023

As a quick-fix, we could add a step to the workflow for installing hub, e.g.:

- name: Setup hub
  run: sudo apt-get update && sudo apt-get install -y hub

But this wouldn't be a long term fix, as the tool seems to be on its last legs.

@ashutosh-narkar ashutosh-narkar moved this from Planning - v0.58 to In Progress in Open Policy Agent Oct 18, 2023
ashutosh-narkar added a commit to ashutosh-narkar/opa that referenced this issue Oct 18, 2023
The `hub` tool is deprecated in favor of the GitHub CLI and
is removed from GitHub's action runner images.

Fixes: open-policy-agent#6326

Signed-off-by: Ashutosh Narkar <anarkar4387@gmail.com>
Open Policy Agent automation moved this from In Progress to Done Oct 19, 2023
johanfylling pushed a commit that referenced this issue Oct 19, 2023
The `hub` tool is deprecated in favor of the GitHub CLI and
is removed from GitHub's action runner images.

Fixes: #6326

Signed-off-by: Ashutosh Narkar <anarkar4387@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug packaging Issues related to OPA release artifacts, pipelines etc.
Projects
Development

Successfully merging a pull request may close this issue.

1 participant