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

Update cloud_sql_proxy version installed by gcloud components #408

Closed
arbourd opened this issue Jun 30, 2020 · 10 comments
Closed

Update cloud_sql_proxy version installed by gcloud components #408

arbourd opened this issue Jun 30, 2020 · 10 comments
Assignees
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@arbourd
Copy link
Contributor

arbourd commented Jun 30, 2020

The current version of cloudsql-proxy being installed by gcloud components is 1.13. Anyway we can get return to that release channel? 😁

@arbourd arbourd added the type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. label Jun 30, 2020
@kurtisvg kurtisvg assigned kurtisvg and unassigned dmahugh Jun 30, 2020
@kurtisvg kurtisvg added priority: p2 Moderately-important priority. Fix may not be included in next release. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. and removed priority: p2 Moderately-important priority. Fix may not be included in next release. labels Jun 30, 2020
@arbourd
Copy link
Contributor Author

arbourd commented Jun 30, 2020

Oh another quick thing! By default the bin cloud_sql_proxy is not symlinked to /usr/local/bin like other products (gcloud, gsutils). Would be awesome to have that automated as well.

@kurtisvg kurtisvg changed the title Push updates to gcloud components Update cloud_sql_proxy version installed by gcloud components Jun 30, 2020
@kurtisvg
Copy link
Contributor

kurtisvg commented Jul 6, 2020

I've opened an internal bug against the team that manages the gcloud to make sure this is on their radar.

@kurtisvg kurtisvg added priority: p2 Moderately-important priority. Fix may not be included in next release. and removed priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. labels Jul 6, 2020
@kurtisvg
Copy link
Contributor

The current version is gcloud should be v1.17 or higher at the moment. There is work being done to automate the process.

@2m
Copy link

2m commented Oct 28, 2020

Just tried to install it and it is still 1.13:

~ ─╼ gcloud components install cloud_sql_proxy                                                                              


Your current Cloud SDK version is: 315.0.0
Installing components from version: 315.0.0

┌─────────────────────────────────────────────────────────────────────────┐
│                   These components will be installed.                   │
├─────────────────────────────┬─────────────────────┬─────────────────────┤
│             Name            │       Version       │         Size        │
├─────────────────────────────┼─────────────────────┼─────────────────────┤
│ Cloud SQL Proxy             │              1.13.0 │             7.3 MiB │
│ Cloud SQL Proxy             │              1.13.0 │                     │
└─────────────────────────────┴─────────────────────┴─────────────────────┘

@arbourd
Copy link
Contributor Author

arbourd commented Nov 4, 2020

I just got updated to 1.18.0 today, so maybe that issue is resolved @2m. Although, it still doesn't appear on my path by default (like other gcloud components)

@kurtisvg
Copy link
Contributor

Just a quick update here - the proxy version gcloud installs has been updated to at least 1.18.0 and the version string is now listed correctly. I've filed a separate internal bug for updating the installation to add itself to the PATH, but I'm going to mark this as closed since it's not related to the repo.

@ScubaDrew
Copy link

Doesn't appear on my path by default either.

@enocom
Copy link
Member

enocom commented Jan 19, 2022

I just double checked on Linux and after installing a fresh instance of gcloud, the proxy does appear on the path. Try running through the installation again to make sure you've got your environment properly configured: https://cloud.google.com/sdk/docs/install.

If you still have problems, please open a new issue describing what you did and what you're seeing.

@judahrand
Copy link

I just double checked on Linux and after installing a fresh instance of gcloud, the proxy does appear on the path. Try running through the installation again to make sure you've got your environment properly configured: https://cloud.google.com/sdk/docs/install.

If you still have problems, please open a new issue describing what you did and what you're seeing.

Doesn't appear on my PATH by default on MacOS M1.

@enocom
Copy link
Member

enocom commented Jan 23, 2023

It's hard to say what's going wrong with your installation and gcloud. Either way, I'd recommend downloading the latest release from the Releases page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

7 participants