-
Notifications
You must be signed in to change notification settings - Fork 17
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
[GCP] Make the GCP conformance deployment config more friendly #347
Conversation
```bash | ||
$ gcloud artifacts repositories create ${DOCKER_REPO_NAME} \ | ||
--repository-format=docker \ | ||
--location=us-central1 \ | ||
--description="My Tessera docker repo" \ | ||
--immutable-tags | ||
|
||
$ gcloud auth configure-docker us-central1-docker.pkg.dev | ||
|
||
$ docker build . -f ./cmd/conformance/gcp/Dockerfile --tag us-central1-docker.pkg.dev/${YOUR_GCP_PROJECT}/${DOCKER_REPO_NAME}/conformance:latest | ||
|
||
$ docker push us-central1-docker.pkg.dev/${YOUR_GCP_PROJECT}/${DOCKER_REPO_NAME}/conformance:latest | ||
|
||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the leading $
for easy copy & paste.
inputs = merge( | ||
include.root.locals, | ||
{ | ||
server_docker_image = "us-central1-docker.pkg.dev/trillian-tessera/docker-prod/conformance-gcp:latest" | ||
} | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the merge()
still needed when server_docker_image
is removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not as is, but I left that there in case someone wanted to make overrides specifically for CI.
This PR makes the
terra{grunt,form}
config for deploying the GCP conformance environment more friendly for humans to use when exploring Tessera.The main changes are: