From 402acddc1010b271192e0d545e5bc510d6a4a8c5 Mon Sep 17 00:00:00 2001 From: Daniel Naab Date: Sat, 9 Nov 2024 07:09:49 -0600 Subject: [PATCH] Replace "atj-platform" references with "forms", due to repo rename (#380) --- apps/spotlight/src/lib/github.ts | 4 ++-- infra/cdktf/__tests__/main-test.ts | 2 +- infra/cdktf/src/lib/cloud.gov/node-astro.ts | 2 +- packages/server/src/lib/github.ts | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/spotlight/src/lib/github.ts b/apps/spotlight/src/lib/github.ts index b979f6d83..2d638567b 100644 --- a/apps/spotlight/src/lib/github.ts +++ b/apps/spotlight/src/lib/github.ts @@ -7,7 +7,7 @@ export type GithubRepository = { export const DEFAULT_REPOSITORY: GithubRepository = { owner: 'gsa-tts', - repository: 'atj-platform', + repository: 'forms', branch: 'main', commit: 'main', }; @@ -28,7 +28,7 @@ export const getGithubRepository = async ( const { execSync } = await import('child_process'); return { owner: env.OWNER || 'gsa-tts', - repository: env.REPOSITORY || 'atj-platform', + repository: env.REPOSITORY || 'forms', branch: env.BRANCH || 'main', commit: execSync('git rev-parse HEAD').toString().trim(), }; diff --git a/infra/cdktf/__tests__/main-test.ts b/infra/cdktf/__tests__/main-test.ts index dc82a2af4..22e4574e0 100644 --- a/infra/cdktf/__tests__/main-test.ts +++ b/infra/cdktf/__tests__/main-test.ts @@ -1,5 +1,5 @@ import 'cdktf/lib/testing/adapters/jest'; -describe('atj-platform app stack', () => { +describe('Forms Platform app stack', () => { it.todo('should be tested'); }); diff --git a/infra/cdktf/src/lib/cloud.gov/node-astro.ts b/infra/cdktf/src/lib/cloud.gov/node-astro.ts index 3c3915d17..45e8be40c 100644 --- a/infra/cdktf/src/lib/cloud.gov/node-astro.ts +++ b/infra/cdktf/src/lib/cloud.gov/node-astro.ts @@ -72,7 +72,7 @@ export class AstroService extends Construct { new cloudfoundry.app.App(this, `${id}-app`, { name: `${id}-app`, space: spaceId, - dockerImage: `ghcr.io/gsa-tts/atj-platform/${imageName}`, + dockerImage: `ghcr.io/gsa-tts/forms/${imageName}`, memory: 1024, diskQuota: 4096, healthCheckType: 'http', diff --git a/packages/server/src/lib/github.ts b/packages/server/src/lib/github.ts index b979f6d83..2d638567b 100644 --- a/packages/server/src/lib/github.ts +++ b/packages/server/src/lib/github.ts @@ -7,7 +7,7 @@ export type GithubRepository = { export const DEFAULT_REPOSITORY: GithubRepository = { owner: 'gsa-tts', - repository: 'atj-platform', + repository: 'forms', branch: 'main', commit: 'main', }; @@ -28,7 +28,7 @@ export const getGithubRepository = async ( const { execSync } = await import('child_process'); return { owner: env.OWNER || 'gsa-tts', - repository: env.REPOSITORY || 'atj-platform', + repository: env.REPOSITORY || 'forms', branch: env.BRANCH || 'main', commit: execSync('git rev-parse HEAD').toString().trim(), };