Skip to content

[public-api] Route api.<domain> to public api service & deployment #9363

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

Merged
merged 1 commit into from
Apr 20, 2022

Conversation

easyCZ
Copy link
Member

@easyCZ easyCZ commented Apr 16, 2022

Description

Related Issue(s)

How to test

Navigate to preview build. Prepend api. to the URL and you should see hello world

https://api.mp-papi-caddy.staging.gitpod-dev.com

In prod, we haven't configured the DNS record to point to our loadbalancer so it won't work, yet. This is fine, we can iterate in preview for now.

Release Notes

NONE

Documentation

NONE

/hold

@easyCZ
Copy link
Member Author

easyCZ commented Apr 20, 2022

/werft run with-clean-slate-deployment=true

👍 started the job as gitpod-build-mp-papi-caddy.4

@easyCZ
Copy link
Member Author

easyCZ commented Apr 20, 2022

/werft run with-clean-slate-deployment=true

👍 started the job as gitpod-build-mp-papi-caddy.5

Comment on lines +25 to +28
if err := register(srv); err != nil {
logger.WithError(err).Fatal("Failed to register services.")
}

Copy link
Contributor

Choose a reason for hiding this comment

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

Was this change necessary to set up the routing or just overlooked in earlier PRs?

Copy link
Member Author

Choose a reason for hiding this comment

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

Overlooked from other PRs.

@easyCZ
Copy link
Member Author

easyCZ commented Apr 20, 2022

/unhold

@roboquat roboquat merged commit c1d9ae9 into main Apr 20, 2022
@roboquat roboquat deleted the mp/papi-caddy branch April 20, 2022 17:14
@roboquat roboquat added deployed: webapp Meta team change is running in production deployed Change is completely running in production labels Apr 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed: webapp Meta team change is running in production deployed Change is completely running in production release-note-none size/XS team: webapp Issue belongs to the WebApp team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants