Skip to content
This repository has been archived by the owner on Nov 5, 2022. It is now read-only.

Google Cloud SQL Auth proxy plugin for the asdf version manager.

License

Notifications You must be signed in to change notification settings

itspngu/asdf-cloudsql-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

asdf-cloudsql-proxy CI Lint

Google Cloud SQL Auth proxy plugin for the asdf version manager.

ARCHIVAL NOTICE

I stopped using asdf-vm and archived this repository. If you're using this plugin, please consider forking the repository and having it added to the upstream plugin list at https://github.com/asdf-vm/asdf-plugins.

Contents

Plugin Dependencies

  • curl - for cloudsql-proxy downloads from upstream releases

Install

Plugin:

$ asdf plugin-add cloudsql-proxy https://github.com/itspngu/asdf-cloudsql-proxy

cloudsql-proxy:

# Show all installable versions
$ asdf list-all cloudsql-proxy

# Install specific version
$ asdf install cloudsql-proxy latest

# Set a version globally (in your ~/.tool-versions file)
$ asdf global cloudsql-proxy latest

# Run cloudsql-proxy
$ cloudsql-proxy -version
Cloud SQL Auth proxy: 1.22.0+linux.amd64

# The binary's name diverges from upstream's "cloud_sql_proxy", but there's a symlink for compatibility:
$ cloud_sql_proxy -version
Cloud SQL Auth proxy: 1.22.0+linux.amd64

Refer to the upstream Google Cloud SQL Auth proxy repository for documentation and usage instructions.

Check the asdf readme for more instructions on how to install & manage versions.

License

See LICENSE