diff options
| author | mo khan <mo@mokhan.ca> | 2025-07-04 12:00:01 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-07-04 12:00:01 -0600 |
| commit | 352ae9a9e28b0bfb6f2f649f2eff2c8fef6f779a (patch) | |
| tree | 8575a369a1fca413071897cdcefe5a3cbc1a0cfc /.runway | |
| parent | 84b5ce4263a1c62b76e0d4cb6aa84c2a6b68ce82 (diff) | |
chore: fix the runway db configuration
Diffstat (limited to '.runway')
| -rw-r--r-- | .runway/runway-production.yml | 5 | ||||
| -rw-r--r-- | .runway/runway-staging.yml | 31 | ||||
| -rw-r--r-- | .runway/runway.yml | 4 |
3 files changed, 35 insertions, 5 deletions
diff --git a/.runway/runway-production.yml b/.runway/runway-production.yml deleted file mode 100644 index 88785ad..0000000 --- a/.runway/runway-production.yml +++ /dev/null @@ -1,5 +0,0 @@ -spec: - cloud_providers: - gcp: - cloudsql_instances: - - instance_connection_name: gitlab-runway-production:us-east1:runway-db-sparkle diff --git a/.runway/runway-staging.yml b/.runway/runway-staging.yml index e28e60c..55f53bc 100644 --- a/.runway/runway-staging.yml +++ b/.runway/runway-staging.yml @@ -1,4 +1,35 @@ +apiVersion: runway/v1 +kind: RunwayService +metadata: + name: sparkle + department: eng-dev + department_group: eng-dev-sscs-authorization + owner_email_handle: mkhan + product_category: authorization spec: + container_port: 10000 + deployment: + strategy: "expedited" + regions: + - us-east1 + startup_probe: + path: "/health" + timeout_seconds: 5 + period_seconds: 5 + failure_threshold: 24 # 2 minutes + liveness_probe: + path: "/health" + scalability: + min_instances: 1 + max_instances: 1 + resources: + startup_cpu_boost: true + limits: + cpu: 1000m + memory: 512Mi + load_balancing: + external_load_balancer: + backend_protocol: HTTPS cloud_providers: gcp: cloudsql_instances: diff --git a/.runway/runway.yml b/.runway/runway.yml index a6f6515..e5cb42d 100644 --- a/.runway/runway.yml +++ b/.runway/runway.yml @@ -30,3 +30,7 @@ spec: load_balancing: external_load_balancer: backend_protocol: HTTPS + cloud_providers: + gcp: + cloudsql_instances: + - instance_connection_name: gitlab-runway-production:us-east1:runway-db-sparkle |
