Skip to content

Commit

Permalink
Attempt rename of endpoint (#1304)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashdavies authored Nov 6, 2024
1 parent e7a0006 commit d68bc2c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
GOOGLE_SERVICE_ACCOUNT_ID: ${{ secrets.GOOGLE_SERVICE_ACCOUNT_ID }}
run: >
./gradlew cloud-run:jib
--image=europe-west1-docker.pkg.dev/${{ steps.setup-cloud.outputs.project_id }}/cloud-run-source-deploy/playground.ashdavies.dev
--image=europe-west1-docker.pkg.dev/${{ steps.setup-cloud.outputs.project_id }}/cloud-run-source-deploy/api.ashdavies.dev
--no-configuration-cache
--console=plain
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import okio.ByteString.Companion.encode
import io.ashdavies.http.common.models.Event as ApiEvent
import io.ashdavies.party.events.Event as DatabaseEvent

private const val PLAYGROUND_BASE_URL = "playground.ashdavies.dev"
private const val PLAYGROUND_BASE_URL = "api.ashdavies.dev"
private const val DEFAULT_PAGE_SIZE = 10

private suspend fun RemoteConfig.isPagingEnabled() = getBoolean("paging_enabled")
Expand Down
2 changes: 1 addition & 1 deletion terraform/modules.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module "cloud-run-endpoint" {
source = "./modules/google/cloud-run-endpoint"
config_id = module.cloud-run-endpoint.config_id
container_image = "${var.project_region}-docker.pkg.dev/${var.project_id}/endpoints-release/endpoints-runtime-serverless:latest"
endpoint_name = "playground.ashdavies.dev"
endpoint_name = "api.ashdavies.dev"
image_repository = "${var.project_region}-docker.pkg.dev/${var.project_id}/endpoints-release"
location = var.project_region
openapi_config = local.openapi_config
Expand Down
2 changes: 1 addition & 1 deletion terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ variable "openapi_config" {

variable "service_name" {
description = "Google Cloud Run service name"
default = "playground.ashdavies.dev"
default = "api.ashdavies.dev"
}

variable "project_id" {
Expand Down

0 comments on commit d68bc2c

Please sign in to comment.