Skip to content

Commit 1320fc8

Browse files
authored
Merge pull request #275 from DestinyItemManager/remove-google
2 parents 069f5c5 + 045afa6 commit 1320fc8

File tree

5 files changed

+36
-844
lines changed

5 files changed

+36
-844
lines changed

Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
FROM node:22-alpine
22

3-
# for node-gyp to install cloud profiler
4-
RUN apk add python3 g++ make py-setuptools
5-
63
ENV PNPM_HOME="/pnpm"
74
ENV PATH="$PNPM_HOME:$PATH"
85
RUN npm install -g corepack@latest && corepack enable

api/index.ts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { createTerminus } from '@godaddy/terminus';
2-
import profiler from '@google-cloud/profiler';
32
import * as Sentry from '@sentry/node';
43
import * as Tracing from '@sentry/tracing';
54
import express from 'express';
@@ -102,18 +101,6 @@ if (process.env.SENTRY_DSN) {
102101
});
103102
}
104103

105-
if (process.env.GCP_CREDENTIALS) {
106-
await profiler.start({
107-
projectId: 'statelycloud-prod',
108-
serviceContext: {
109-
service: 'dim',
110-
version: process.env.COMMITHASH,
111-
},
112-
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
113-
credentials: JSON.parse(process.env.GCP_CREDENTIALS),
114-
});
115-
}
116-
117104
const server = http.createServer(app);
118105

119106
function beforeShutdown() {

kubernetes/dim-api-deployment.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,6 @@ spec:
5959
secretKeyRef:
6060
name: dim-api-secret
6161
key: stately_access_key
62-
- name: GCP_CREDENTIALS
63-
valueFrom:
64-
secretKeyRef:
65-
name: gcp-credentials
66-
key: gcp_credentials
6762
envFrom:
6863
- configMapRef:
6964
name: dim-api-config

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@
6464
"dependencies": {
6565
"@bufbuild/protobuf": "^2.2.3",
6666
"@godaddy/terminus": "^4.12.1",
67-
"@google-cloud/profiler": "^6.0.2",
6867
"@sentry/node": "^7.120.3",
6968
"@sentry/tracing": "^7.120.3",
7069
"@stately-cloud/client": "^0.24.0",

0 commit comments

Comments
 (0)