From d58a10981057c45d565e58a28827a43b7ef2148e Mon Sep 17 00:00:00 2001 From: Robert Lin Date: Thu, 11 Jan 2024 10:08:34 -0800 Subject: [PATCH] update generated docs with timestamp and revision --- .../engineering/managed-services/cloud-ops.md | 5 +- .../managed-services/cody-analytics.md | 5 +- .../managed-services/gatekeeper.md | 15 +++-- .../engineering/managed-services/index.md | 5 +- .../managed-services/msp-testbed.md | 63 ++----------------- .../engineering/managed-services/pings.md | 5 +- .../engineering/managed-services/sams.md | 5 +- .../managed-services/support-integration.md | 5 +- .../managed-services/telemetry-gateway.md | 5 +- 9 files changed, 42 insertions(+), 71 deletions(-) diff --git a/content/departments/engineering/managed-services/cloud-ops.md b/content/departments/engineering/managed-services/cloud-ops.md index a9b1e50c49bd..633a72c9d129 100644 --- a/content/departments/engineering/managed-services/cloud-ops.md +++ b/content/departments/engineering/managed-services/cloud-ops.md @@ -1,7 +1,10 @@ # Cloud Ops Dashboard infrastructure operations This document describes operational guidance for Cloud Ops Dashboard infrastructure. diff --git a/content/departments/engineering/managed-services/cody-analytics.md b/content/departments/engineering/managed-services/cody-analytics.md index 6b7b4f3d8959..18cdd01f9559 100644 --- a/content/departments/engineering/managed-services/cody-analytics.md +++ b/content/departments/engineering/managed-services/cody-analytics.md @@ -1,7 +1,10 @@ # Cody Analytics infrastructure operations This document describes operational guidance for Cody Analytics infrastructure. diff --git a/content/departments/engineering/managed-services/gatekeeper.md b/content/departments/engineering/managed-services/gatekeeper.md index 62f944edc807..d0997b49140c 100644 --- a/content/departments/engineering/managed-services/gatekeeper.md +++ b/content/departments/engineering/managed-services/gatekeeper.md @@ -1,7 +1,10 @@ # Cody Gatekeeper infrastructure operations This document describes operational guidance for Cody Gatekeeper infrastructure. @@ -27,17 +30,17 @@ If you need assistance with MSP infrastructure, reach out to the [Core Services] | PROPERTY | DETAILS | |------------|-----------------------------------------------------------------------------------------------------| | Project ID | [`gatekeeper-prod-1c93`](https://console.cloud.google.com/run/jobs?project=gatekeeper-prod-1c93) | -| Category | **test** | +| Category | **internal** | | Resources | | | Alerts | [GCP monitoring](https://console.cloud.google.com/monitoring/alerting?project=gatekeeper-prod-1c93) | MSP infrastructure access needs to be requested using Entitle for time-bound privileges. Test environments have less stringent requirements. -| ACCESS | ENTITLE REQUEST TEMPLATE | -|--------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| GCP project read access | [Entitle request for the 'Engineering Projects' folder](https://app.entitle.io/request?data=eyJkdXJhdGlvbiI6IjIxNjAwIiwianVzdGlmaWNhdGlvbiI6IkVOVEVSIEpVU1RJRklDQVRJT04gSEVSRSIsInJvbGVJZHMiOlt7ImlkIjoiZGY3NWJkNWMtYmUxOC00MjhmLWEzNjYtYzlhYTU1MGIwODIzIiwidGhyb3VnaCI6ImRmNzViZDVjLWJlMTgtNDI4Zi1hMzY2LWM5YWE1NTBiMDgyMyIsInR5cGUiOiJyb2xlIn1dfQ%3D%3D) | -| GCP project write access | [Entitle request for the 'Engineering Projects' folder](https://app.entitle.io/request?data=eyJkdXJhdGlvbiI6IjIxNjAwIiwianVzdGlmaWNhdGlvbiI6IkVOVEVSIEpVU1RJRklDQVRJT04gSEVSRSIsInJvbGVJZHMiOlt7ImlkIjoiYzJkMTUwOGEtMGQ0ZS00MjA1LWFiZWUtOGY1ODg1ZGY3ZDE4IiwidGhyb3VnaCI6ImMyZDE1MDhhLTBkNGUtNDIwNS1hYmVlLThmNTg4NWRmN2QxOCIsInR5cGUiOiJyb2xlIn1dfQ%3D%3D) | +| ACCESS | ENTITLE REQUEST TEMPLATE | +|--------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| GCP project read access | [Entitle request for the 'Internal Services' folder](https://app.entitle.io/request?data=eyJkdXJhdGlvbiI6IjEwODAwIiwianVzdGlmaWNhdGlvbiI6IkVOVEVSIEpVU1RJRklDQVRJT04gSEVSRSIsInJvbGVJZHMiOlt7ImlkIjoiNzg0M2MxYWYtYzU2MS00ZDMyLWE3ZTAtYjZkNjY0NDM4MzAzIiwidGhyb3VnaCI6Ijc4NDNjMWFmLWM1NjEtNGQzMi1hN2UwLWI2ZDY2NDQzODMwMyIsInR5cGUiOiJyb2xlIn1dfQ%3D%3D) | +| GCP project write access | [Entitle request for the 'Internal Services' folder](https://app.entitle.io/request?data=eyJkdXJhdGlvbiI6IjEwODAwIiwianVzdGlmaWNhdGlvbiI6IkVOVEVSIEpVU1RJRklDQVRJT04gSEVSRSIsInJvbGVJZHMiOlt7ImlkIjoiZTEyYTJkZDktYzY1ZC00YzM0LTlmNDgtMzYzNTNkZmY0MDkyIiwidGhyb3VnaCI6ImUxMmEyZGQ5LWM2NWQtNGMzNC05ZjQ4LTM2MzUzZGZmNDA5MiIsInR5cGUiOiJyb2xlIn1dfQ%3D%3D) | #### prod Cloud Run diff --git a/content/departments/engineering/managed-services/index.md b/content/departments/engineering/managed-services/index.md index bdae6060a955..6896ea5216f7 100644 --- a/content/departments/engineering/managed-services/index.md +++ b/content/departments/engineering/managed-services/index.md @@ -1,7 +1,10 @@ # Managed Services infrastructure These pages contain generated operational guidance for the infrastructure of [Managed Services Platform (MSP)](../teams/core-services/managed-services/platform.md) services. diff --git a/content/departments/engineering/managed-services/msp-testbed.md b/content/departments/engineering/managed-services/msp-testbed.md index d1d9ed12e19d..4b9af12307c9 100644 --- a/content/departments/engineering/managed-services/msp-testbed.md +++ b/content/departments/engineering/managed-services/msp-testbed.md @@ -1,7 +1,10 @@ # MSP Testbed infrastructure operations This document describes operational guidance for MSP Testbed infrastructure. @@ -16,7 +19,7 @@ If you need assistance with MSP infrastructure, reach out to the [Core Services] | Service ID | [`msp-testbed`](https://github.com/sourcegraph/managed-services/blob/main/services/msp-testbed/service.yaml) | | Owners | **core-services** | | Service kind | Cloud Run service | -| Environments | [test](#test), [robert](#robert) | +| Environments | [test](#test) | | Docker image | `us.gcr.io/sourcegraph-dev/msp-example` | | Source code | [`github.com/sourcegraph/sourcegraph` - `cmd/msp-example`](https://github.com/sourcegraph/sourcegraph/tree/HEAD/cmd/msp-example) | @@ -77,59 +80,3 @@ sg msp pg connect -write-access msp-testbed test | Dataset Project | `msp-testbed-test-77589aae45d0` | | Dataset ID | `msp_testbed` | | Tables | [`example`](https://github.com/sourcegraph/managed-services/blob/main/services/msp-testbed/example.bigquerytable.json) | - -### robert - -| PROPERTY | DETAILS | -|------------|-----------------------------------------------------------------------------------------------------------------------------------------------| -| Project ID | [`msp-testbed-robert-7be9`](https://console.cloud.google.com/run?project=msp-testbed-robert-7be9) | -| Category | **test** | -| Resources | [robert Redis](#robert-redis), [robert PostgreSQL instance](#robert-postgresql-instance), [robert BigQuery dataset](#robert-bigquery-dataset) | -| Alerts | [GCP monitoring](https://console.cloud.google.com/monitoring/alerting?project=msp-testbed-robert-7be9) | -| Domain | [msp-testbed.sgdev.org](https://msp-testbed.sgdev.org) | - -MSP infrastructure access needs to be requested using Entitle for time-bound privileges. -Test environments have less stringent requirements. - -| ACCESS | ENTITLE REQUEST TEMPLATE | -|--------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| GCP project read access | [Entitle request for the 'Engineering Projects' folder](https://app.entitle.io/request?data=eyJkdXJhdGlvbiI6IjIxNjAwIiwianVzdGlmaWNhdGlvbiI6IkVOVEVSIEpVU1RJRklDQVRJT04gSEVSRSIsInJvbGVJZHMiOlt7ImlkIjoiZGY3NWJkNWMtYmUxOC00MjhmLWEzNjYtYzlhYTU1MGIwODIzIiwidGhyb3VnaCI6ImRmNzViZDVjLWJlMTgtNDI4Zi1hMzY2LWM5YWE1NTBiMDgyMyIsInR5cGUiOiJyb2xlIn1dfQ%3D%3D) | -| GCP project write access | [Entitle request for the 'Engineering Projects' folder](https://app.entitle.io/request?data=eyJkdXJhdGlvbiI6IjIxNjAwIiwianVzdGlmaWNhdGlvbiI6IkVOVEVSIEpVU1RJRklDQVRJT04gSEVSRSIsInJvbGVJZHMiOlt7ImlkIjoiYzJkMTUwOGEtMGQ0ZS00MjA1LWFiZWUtOGY1ODg1ZGY3ZDE4IiwidGhyb3VnaCI6ImMyZDE1MDhhLTBkNGUtNDIwNS1hYmVlLThmNTg4NWRmN2QxOCIsInR5cGUiOiJyb2xlIn1dfQ%3D%3D) | - -#### robert Cloud Run - -| PROPERTY | DETAILS | -|----------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| Console | [Cloud Run service](https://console.cloud.google.com/run?project=msp-testbed-robert-7be9) | -| Logs | [GCP logging](https://console.cloud.google.com/logs/query;query=resource.type%20%3D%20%22cloud_run_revision%22%20-logName%3D~%22logs%2Frun.googleapis.com%252Frequests%22;summaryFields=jsonPayload%252FInstrumentationScope,jsonPayload%252FBody,jsonPayload%252FAttributes%252Ferror:false:32:end?project=msp-testbed-robert-7be9) | - -#### robert Redis - -| PROPERTY | DETAILS | -|----------|-----------------------------------------------------------------------------------------------------------------------------| -| Console | [Memorystore Redis instances](https://console.cloud.google.com/memorystore/redis/instances?project=msp-testbed-robert-7be9) | - -#### robert PostgreSQL instance - -| PROPERTY | DETAILS | -|-----------|-------------------------------------------------------------------------------------------------------| -| Console | [Cloud SQL instances](https://console.cloud.google.com/sql/instances?project=msp-testbed-robert-7be9) | -| Databases | `primary` | - -To connect to the PostgreSQL instance in this environment, use `sg msp` in the [`sourcegraph/managed-services`](https://github.com/sourcegraph/managed-services) repository: - -```bash -# For read-only access -sg msp pg connect msp-testbed robert - -# For write access - use with caution! -sg msp pg connect -write-access msp-testbed robert -``` - -#### robert BigQuery dataset - -| PROPERTY | DETAILS | -|-----------------|------------------------------------------------------------------------------------------------------------------------| -| Dataset Project | `msp-testbed-robert-7be9` | -| Dataset ID | `msp_testbed` | -| Tables | [`example`](https://github.com/sourcegraph/managed-services/blob/main/services/msp-testbed/example.bigquerytable.json) | diff --git a/content/departments/engineering/managed-services/pings.md b/content/departments/engineering/managed-services/pings.md index 3c11df589b04..9bc45319f43f 100644 --- a/content/departments/engineering/managed-services/pings.md +++ b/content/departments/engineering/managed-services/pings.md @@ -1,7 +1,10 @@ # Pings Service infrastructure operations This document describes operational guidance for Pings Service infrastructure. diff --git a/content/departments/engineering/managed-services/sams.md b/content/departments/engineering/managed-services/sams.md index a2edfc2111f6..980a7496d525 100644 --- a/content/departments/engineering/managed-services/sams.md +++ b/content/departments/engineering/managed-services/sams.md @@ -1,7 +1,10 @@ # Sourcegraph Accounts infrastructure operations This document describes operational guidance for Sourcegraph Accounts infrastructure. diff --git a/content/departments/engineering/managed-services/support-integration.md b/content/departments/engineering/managed-services/support-integration.md index 8432df85e44e..4a9c8727c475 100644 --- a/content/departments/engineering/managed-services/support-integration.md +++ b/content/departments/engineering/managed-services/support-integration.md @@ -1,7 +1,10 @@ # Support Integration infrastructure operations This document describes operational guidance for Support Integration infrastructure. diff --git a/content/departments/engineering/managed-services/telemetry-gateway.md b/content/departments/engineering/managed-services/telemetry-gateway.md index dd964dbfdc03..e1388ddb0daf 100644 --- a/content/departments/engineering/managed-services/telemetry-gateway.md +++ b/content/departments/engineering/managed-services/telemetry-gateway.md @@ -1,7 +1,10 @@ # Telemetry Gateway infrastructure operations This document describes operational guidance for Telemetry Gateway infrastructure.