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

[All OS] hub utility will be removed on October 2 #8362

Closed
8 of 9 tasks
vpolikarpov-akvelon opened this issue Sep 22, 2023 · 0 comments
Closed
8 of 9 tasks

[All OS] hub utility will be removed on October 2 #8362

vpolikarpov-akvelon opened this issue Sep 22, 2023 · 0 comments
Assignees
Labels
Announcement awaiting-deployment Code complete; awaiting deployment and/or deployment in progress OS: macOS OS: Ubuntu OS: Windows

Comments

@vpolikarpov-akvelon
Copy link
Contributor

vpolikarpov-akvelon commented Sep 22, 2023

Breaking changes

Utility hub will be removed from runner images.

Target date

Image deployment is starting on October 2nd and will take 3-4 days.

The motivation for the changes

The utility deprecated in favor of official GitHub CLI in 2020 and doesn't receive updated since then.
It doesn't support new features and may behave unpredictable with new versions of git.

Blog post: https://mislav.net/2020/01/github-cli/

Possible impact

The utility mentioned won't be available out-of-the-box on Ubuntu runners. Workflows that use the utility will break.

Platforms affected

  • Azure DevOps
  • GitHub Actions

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • macOS 11
  • macOS 12
  • macOS 13
  • Windows Server 2019
  • Windows Server 2022

Mitigation ways

Consider migrating to gh cli tool.

The other option is to install hub utility manually in workflow.

On Mac OS:

brew install hub

On Ubuntu:

sudo apt-get update && sudo apt-get install -y hub
Notes for Ubuntu 20.04

The repository of Ubuntu 20.04 serves old version of hub utility. Consider manual installation if you need the latest one:

hub_version="2.14.2"
hub_filename="hub-linux-amd64-${hub_version}"
downloadUrl="[https://github.com/mislav/hub/releases/download/v${hub_version}/${hub_filename}.tgz](https://github.com/mislav/hub/releases/download/v$%7Bhub_version%7D/$%7Bhub_filename%7D.tgz)"
curl -fsSL ${downloadUrl} -o /tmp/${hub_filename}.tgz
tar xzf /tmp/${hub_filename}.tgz -C /tmp/
mv /tmp/${hub_filename}/bin/hub /usr/local/bin
hub --version

On Windows:

choco install hub -y --ignore-dependencies --no-progress
@vpolikarpov-akvelon vpolikarpov-akvelon changed the title [Ubuntu] Mislav's hub utility will be removed on October 2nd [All OS] Mislav's hub utility will be removed on October 2nd Sep 22, 2023
@mikhailkoliada mikhailkoliada changed the title [All OS] Mislav's hub utility will be removed on October 2nd [All OS] Mislav's hub utility will be removed on October 2 Sep 22, 2023
@mikhailkoliada mikhailkoliada pinned this issue Sep 22, 2023
@mikhailkoliada mikhailkoliada changed the title [All OS] Mislav's hub utility will be removed on October 2 [All OS] hub utility will be removed on October 2 Sep 25, 2023
@mikhailkoliada mikhailkoliada added the awaiting-deployment Code complete; awaiting deployment and/or deployment in progress label Sep 26, 2023
mcharriere added a commit to giantswarm/devctl that referenced this issue Oct 5, 2023
`hub` has been removed from the runner-images
actions/runner-images#8362

Signed-off-by: Matias Charriere <[email protected]>
mcharriere added a commit to giantswarm/devctl that referenced this issue Oct 5, 2023
* Replace `hub` CLI with the official `gh` tool.

`hub` has been removed from the runner-images
actions/runner-images#8362

Signed-off-by: Matias Charriere <[email protected]>

* update changelog

Signed-off-by: Matias Charriere <[email protected]>

---------

Signed-off-by: Matias Charriere <[email protected]>
elgohr added a commit to elgohr/Github-Release-Action that referenced this issue Oct 5, 2023
@mikhailkoliada mikhailkoliada changed the title [All OS] hub utility will be removed on October 2 [All OS] hub utility will be removed on October 9 Oct 5, 2023
@mikhailkoliada mikhailkoliada changed the title [All OS] hub utility will be removed on October 9 [All OS] hub utility will be removed on October 2 Oct 5, 2023
adrians5j added a commit to webiny/webiny-js that referenced this issue Oct 6, 2023
We needed this because the utilit is no longer shipped by default in official runners.

actions/runner-images#8362
vgramer added a commit to vgramer/opa-idea-plugin that referenced this issue Feb 7, 2024
* migrate github cli from hub to gh (hub is deprecated)

see annoncement actions/runner-images#8362

Signed-off-by: Vincent Gramer <[email protected]>

* github actions: bump checkout action from v2 to v4

Signed-off-by: Vincent Gramer <[email protected]>

* github actions / test workflow: remove fail-fast strategy=false. it's only apply to matrix build which has been remove in previous version

Signed-off-by: Vincent Gramer <[email protected]>

* github actions bump gradle/wrapper-validation-action to v1.1.0

Signed-off-by: Vincent Gramer <[email protected]>

* github actions bump actions/setup-java to v4

Signed-off-by: Vincent Gramer <[email protected]>

* github actions: use gradle/gradle-build-action to setup gradle and remove cache action (too big so  never loaded)

Signed-off-by: Vincent Gramer <[email protected]>

* github actions: set publish channel as secret to avoid publish release when testing workflow

Signed-off-by: Vincent Gramer <[email protected]>

* github action: remove tests in publish workflow

Signed-off-by: Vincent Gramer <[email protected]>

---------

Signed-off-by: Vincent Gramer <[email protected]>
Signed-off-by: Vincent Gramer <[email protected]>
vgramer added a commit to vgramer/opa-idea-plugin that referenced this issue Feb 7, 2024
vgramer added a commit to vgramer/opa-idea-plugin that referenced this issue Feb 7, 2024
* migrate github cli from hub to gh (hub is deprecated)

see annoncement actions/runner-images#8362

Signed-off-by: Vincent Gramer <[email protected]>

* github actions: bump checkout action from v2 to v4

Signed-off-by: Vincent Gramer <[email protected]>

* github actions / test workflow: remove fail-fast strategy=false. it's only apply to matrix build which has been remove in previous version

Signed-off-by: Vincent Gramer <[email protected]>

* github actions bump gradle/wrapper-validation-action to v1.1.0

Signed-off-by: Vincent Gramer <[email protected]>

* github actions bump actions/setup-java to v4

Signed-off-by: Vincent Gramer <[email protected]>

* github actions: use gradle/gradle-build-action to setup gradle and remove cache action (too big so  never loaded)

Signed-off-by: Vincent Gramer <[email protected]>

* github actions: set publish channel as secret to avoid publish release when testing workflow

Signed-off-by: Vincent Gramer <[email protected]>

---------

Signed-off-by: Vincent Gramer <[email protected]>
vgramer added a commit to vgramer/opa-idea-plugin that referenced this issue Feb 7, 2024
* migrate github cli from hub to gh (hub is deprecated)

see annoncement actions/runner-images#8362

Signed-off-by: Vincent Gramer <[email protected]>

* github actions: bump checkout action from v2 to v4

Signed-off-by: Vincent Gramer <[email protected]>

* github actions / test workflow: remove fail-fast strategy=false. it's only apply to matrix build which has been remove in previous version

Signed-off-by: Vincent Gramer <[email protected]>

* github actions bump gradle/wrapper-validation-action to v1.1.0

Signed-off-by: Vincent Gramer <[email protected]>

* github actions bump actions/setup-java to v4

Signed-off-by: Vincent Gramer <[email protected]>

* github actions: use gradle/gradle-build-action to setup gradle and remove cache action (too big so  never loaded)

Signed-off-by: Vincent Gramer <[email protected]>

* github actions: set publish channel as secret to avoid publish release when testing workflow

Signed-off-by: Vincent Gramer <[email protected]>

* github actions: remove test before publish as it executed in previous pipeline

Signed-off-by: Vincent Gramer <[email protected]>

---------

Signed-off-by: Vincent Gramer <[email protected]>
vgramer added a commit to vgramer/opa-idea-plugin that referenced this issue Feb 7, 2024
vgramer added a commit to vgramer/opa-idea-plugin that referenced this issue Feb 7, 2024
* migrate github cli from hub to gh (hub is deprecated)

see annoncement actions/runner-images#8362

Signed-off-by: Vincent Gramer <[email protected]>

* github actions: bump checkout action from v2 to v4

Signed-off-by: Vincent Gramer <[email protected]>

* github actions / test workflow: remove fail-fast strategy=false. it's only apply to matrix build which has been remove in previous version

Signed-off-by: Vincent Gramer <[email protected]>

* github actions bump gradle/wrapper-validation-action to v1.1.0

Signed-off-by: Vincent Gramer <[email protected]>

* github actions bump actions/setup-java to v4

Signed-off-by: Vincent Gramer <[email protected]>

* github actions: use gradle/gradle-build-action to setup gradle and remove cache action (too big so  never loaded)

Signed-off-by: Vincent Gramer <[email protected]>

* github actions: set publish channel as secret to avoid publish release when testing workflow

Signed-off-by: Vincent Gramer <[email protected]>

* github actions: remove test before publish as it executed in previous pipeline

Signed-off-by: Vincent Gramer <[email protected]>

---------

Signed-off-by: Vincent Gramer <[email protected]>
vgramer added a commit to vgramer/opa-idea-plugin that referenced this issue Feb 7, 2024
vgramer added a commit to vgramer/opa-idea-plugin that referenced this issue Feb 7, 2024
vgramer added a commit to open-policy-agent/opa-idea-plugin that referenced this issue Feb 8, 2024
*migrate github cli from hub to gh (hub is deprecated) see annoncement actions/runner-images#8362
* github actions: bump checkout action from v2 to v4
* github actions / test workflow: remove fail-fast strategy=false. it's only apply to matrix build which has been remove in previous version
* github actions bump gradle/wrapper-validation-action to v1.1.0
* github actions bump actions/setup-java to v4
* github actions: use gradle/gradle-build-action to setup gradle and remove cache action (too big so  never loaded)
* github actions: set publish channel as secret to avoid publish release when testing workflow
* github actions: remove test before publish as it executed in previous pipeline


Signed-off-by: Vincent Gramer <[email protected]>
Kissaki added a commit to Kissaki/MKVToolNix that referenced this issue Mar 11, 2024
hub was removed from the runner images; see actions/runner-images#8362
Kissaki added a commit to Kissaki/MKVToolNix that referenced this issue Mar 11, 2024
hub was removed from the runner images; see actions/runner-images#8362
tmccombs added a commit to lucidsoftware/piezo that referenced this issue Mar 19, 2024
ubergesundheit pushed a commit to ubergesundheit/devctl-templates that referenced this issue Apr 2, 2024
* Replace `hub` CLI with the official `gh` tool.

`hub` has been removed from the runner-images
actions/runner-images#8362

Signed-off-by: Matias Charriere <[email protected]>

* update changelog

Signed-off-by: Matias Charriere <[email protected]>

---------

Signed-off-by: Matias Charriere <[email protected]>
ubergesundheit pushed a commit to ubergesundheit/devctl-templates that referenced this issue Apr 2, 2024
* Replace `hub` CLI with the official `gh` tool.

`hub` has been removed from the runner-images
actions/runner-images#8362

Signed-off-by: Matias Charriere <[email protected]>

* update changelog

Signed-off-by: Matias Charriere <[email protected]>

---------

Signed-off-by: Matias Charriere <[email protected]>
ubergesundheit pushed a commit to ubergesundheit/devctl-templates that referenced this issue Apr 2, 2024
* Replace `hub` CLI with the official `gh` tool.

`hub` has been removed from the runner-images
actions/runner-images#8362

Signed-off-by: Matias Charriere <[email protected]>

* update changelog

Signed-off-by: Matias Charriere <[email protected]>

---------

Signed-off-by: Matias Charriere <[email protected]>
tslight pushed a commit to tslight/lazygit.go that referenced this issue May 24, 2024
agnostic-apollo added a commit to termux/termux-app that referenced this issue Jun 17, 2024
agnostic-apollo added a commit to termux/termux-app that referenced this issue Jun 17, 2024
sprainbrains pushed a commit to sprainbrains/harbour-fernschreiber that referenced this issue Jul 2, 2024
coreywoodfield added a commit to lucidsoftware/relate that referenced this issue Nov 12, 2024
amanrajOO7 pushed a commit to amanrajOO7/termux-app that referenced this issue Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Announcement awaiting-deployment Code complete; awaiting deployment and/or deployment in progress OS: macOS OS: Ubuntu OS: Windows
Projects
None yet
Development

No branches or pull requests

2 participants