Skip to content

Conversation

@kgala2
Copy link
Collaborator

@kgala2 kgala2 commented Feb 19, 2025

Consolidate Cloud SQL instance usage for end-to-end connectivity testing in the following cases:

  1. MySQL IAM connection
  2. Postgres IAM connection

@kgala2 kgala2 requested a review from a team as a code owner February 19, 2025 20:36
CONTRIBUTING.md Outdated
# Postgres instance with IAM authentication enabled
# (can be same as POSTGRES_CONNECTION_NAME)
export POSTGRES_IAM_CONNECTION_NAME="<PROJECT>:<REGION>:<INSTANCE>"
export POSTGRES_CONNECTION_NAME="<PROJECT>:<REGION>:<INSTANCE>"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should just remove this line as we already have an export line for this variable above on line 70...

We should copy the comment # Postgres instance with IAM authentication enabled to above line 70.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also should do the same for MYSQL_IAM_CONNECTION_NAME

@jackwotherspoon jackwotherspoon changed the title chore(csql): audit test csql instances - draft chore: audit test csql instances - draft Feb 24, 2025
@jackwotherspoon jackwotherspoon marked this pull request as draft February 24, 2025 19:42
@kgala2 kgala2 changed the title chore: audit test csql instances - draft chore: audit test csql instances Feb 24, 2025
@kgala2 kgala2 marked this pull request as ready for review February 24, 2025 20:04
export MYSQL_USER="db_user"
export MYSQL_PASS="db_pass"
export MYSQL_DB="db_name"
# MySQL instance with IAM authentication enabled
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we move the # MySQL instance with IAM authentication enabled comment above

export MYSQL_CONNECTION_NAME="<PROJECT>:<REGION>:<INSTANCE>"

Same with Postgres below...

@kgala2 kgala2 merged commit b64cf12 into main Feb 24, 2025
15 checks passed
@kgala2 kgala2 deleted the audit-csql-instances branch February 24, 2025 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants