Skip to content

chore: add make target to build a local proxy image for e2e tests. - #208

Merged
hessjcg merged 3 commits into
mainfrom
local-proxy-image
Feb 17, 2023
Merged

hessjcg merged 3 commits into
mainfrom
local-proxy-image

Conversation

@hessjcg

@hessjcg hessjcg commented Feb 14, 2023

Copy link
Copy Markdown
Member

This make target will allow the developer to build a proxy image from a local cloud-sql-proxy working
directory for their local e2e tests. This is useful if you are writing code in the operator that depends
on a not-yet-released feature in the proxy.

@hessjcg
hessjcg requested a review from a team as a code owner February 14, 2023 13:44
@hessjcg
hessjcg requested a review from enocom February 14, 2023 16:22

@enocom enocom left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is this worth documenting in the docs somewhere?

Comment thread build.sample.env Outdated
# To run the e2e tests using the proxy code from your local machine,
# Uncomment this line and set the path to your local working directory
# of the cloud-sql-proxy project.
# E2E_LOCAL_PROXY_PROJECT_DIR = /home/me/projects/cloud-sql-proxy No newline at end of file

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nit newline.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fixed.

@hessjcg
hessjcg requested a review from enocom February 17, 2023 00:41
@hessjcg
hessjcg merged commit 420037f into main Feb 17, 2023
@hessjcg
hessjcg deleted the local-proxy-image branch February 17, 2023 22:44
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