Skip to content

Commit 1e42272

Browse files
committed
Rename project references from "nestjs-playground" to "nestjs-starter" across workflows, configuration, and documentation files.
1 parent 27e1f46 commit 1e42272

21 files changed

Lines changed: 56 additions & 56 deletions

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
uses: aws-actions/configure-aws-credentials@v4
6767
with:
6868
role-to-assume: ${{ vars.AWS_ROLE_ARN_DEV }}
69-
role-session-name: ci-nestjs-playground
69+
role-session-name: ci-nestjs-starter
7070
aws-region: ${{ vars.AWS_REGION }}
7171

7272
- name: Synthesize CDK stacks

.github/workflows/deploy-dev.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
uses: aws-actions/configure-aws-credentials@v4
4444
with:
4545
role-to-assume: ${{ vars.AWS_ROLE_ARN_DEV }}
46-
role-session-name: deploy-nestjs-playground-dev
46+
role-session-name: deploy-nestjs-starter-dev
4747
aws-region: ${{ vars.AWS_REGION }}
4848

4949
# Step 4: Install the app dependencies
@@ -103,7 +103,7 @@ jobs:
103103
working-directory: ./infrastructure
104104
run: |
105105
echo "🚀 Deploying ECR stack..."
106-
npx cdk deploy nestjs-playground-ecr-dev --require-approval never
106+
npx cdk deploy nestjs-starter-ecr-dev --require-approval never
107107
echo "✅ ECR stack deployed successfully"
108108
109109
# Step 13: Generate semver tag
@@ -132,7 +132,7 @@ jobs:
132132
- name: Build and push Docker image to ECR
133133
run: |
134134
# Get ECR repository URI
135-
ECR_REPOSITORY_URI=$(aws ecr describe-repositories --repository-names nestjs-playground --region ${{ vars.AWS_REGION }} --query 'repositories[0].repositoryUri' --output text)
135+
ECR_REPOSITORY_URI=$(aws ecr describe-repositories --repository-names nestjs-starter --region ${{ vars.AWS_REGION }} --query 'repositories[0].repositoryUri' --output text)
136136
echo "ECR Repository URI: $ECR_REPOSITORY_URI"
137137
138138
# Login to ECR

.github/workflows/release-reusable.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
uses: aws-actions/configure-aws-credentials@v4
5252
with:
5353
role-to-assume: ${{ inputs.aws_role_arn }}
54-
role-session-name: release-nestjs-playground-${{ inputs.environment }}
54+
role-session-name: release-nestjs-starter-${{ inputs.environment }}
5555
aws-region: ${{ inputs.aws_region }}
5656

5757
# Step 4: Install infrastructure dependencies
@@ -81,35 +81,35 @@ jobs:
8181
working-directory: ./infrastructure
8282
run: |
8383
echo "🚀 Deploying Network stack..."
84-
npx cdk deploy nestjs-playground-network-${{ inputs.environment }} --require-approval never
84+
npx cdk deploy nestjs-starter-network-${{ inputs.environment }} --require-approval never
8585
echo "✅ Network stack deployed successfully"
8686
8787
- name: Deploy Database stack
8888
working-directory: ./infrastructure
8989
run: |
9090
echo "🚀 Deploying Database stack..."
91-
npx cdk deploy nestjs-playground-database-${{ inputs.environment }} --require-approval never
91+
npx cdk deploy nestjs-starter-database-${{ inputs.environment }} --require-approval never
9292
echo "✅ Database stack deployed successfully"
9393
9494
- name: Deploy Compute stack
9595
working-directory: ./infrastructure
9696
run: |
9797
echo "🚀 Deploying Compute stack..."
98-
npx cdk deploy nestjs-playground-compute-${{ inputs.environment }} --require-approval never --context appVersion=${{ inputs.image_tag }}
98+
npx cdk deploy nestjs-starter-compute-${{ inputs.environment }} --require-approval never --context appVersion=${{ inputs.image_tag }}
9999
echo "✅ Compute stack deployed successfully"
100100
101101
- name: Deploy Scheduled Task stack
102102
working-directory: ./infrastructure
103103
run: |
104104
echo "🚀 Deploying Scheduled Task stack..."
105-
npx cdk deploy nestjs-playground-scheduled-task-${{ inputs.environment }} --require-approval never --context appVersion=${{ inputs.image_tag }}
105+
npx cdk deploy nestjs-starter-scheduled-task-${{ inputs.environment }} --require-approval never --context appVersion=${{ inputs.image_tag }}
106106
echo "✅ Scheduled Task stack deployed successfully"
107107
108108
# Step 9: Update ECS services with specified image tag
109109
- name: Update ECS API service
110110
run: |
111-
CLUSTER_NAME="nestjs-playground-${{ inputs.environment }}"
112-
SERVICE_NAME="nestjs-playground-${{ inputs.environment }}"
111+
CLUSTER_NAME="nestjs-starter-${{ inputs.environment }}"
112+
SERVICE_NAME="nestjs-starter-${{ inputs.environment }}"
113113
114114
echo "🔄 Forcing ECS service update with image tag: ${{ inputs.image_tag }}"
115115
aws ecs update-service \
@@ -122,8 +122,8 @@ jobs:
122122
123123
- name: Update ECS Scheduled Task service
124124
run: |
125-
CLUSTER_NAME="nestjs-playground-${{ inputs.environment }}"
126-
SERVICE_NAME="nestjs-playground-scheduler-${{ inputs.environment }}"
125+
CLUSTER_NAME="nestjs-starter-${{ inputs.environment }}"
126+
SERVICE_NAME="nestjs-starter-scheduler-${{ inputs.environment }}"
127127
128128
echo "🔍 Checking if scheduled task service exists..."
129129
if aws ecs describe-services \

.github/workflows/tag-image.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
# Step 2: Tag the ECR image
4747
- name: Tag ECR image
4848
run: |
49-
REPOSITORY_NAME="nestjs-playground"
49+
REPOSITORY_NAME="nestjs-starter"
5050
5151
echo "🔍 Getting ECR repository details..."
5252
ECR_REPOSITORY_URI=$(aws ecr describe-repositories \
@@ -89,7 +89,7 @@ jobs:
8989
# Step 3: Verify the new tag
9090
- name: Verify new tag
9191
run: |
92-
REPOSITORY_NAME="nestjs-playground"
92+
REPOSITORY_NAME="nestjs-starter"
9393
9494
echo "🔍 Verifying new tag exists..."
9595
TAG_EXISTS=$(aws ecr describe-images \

.github/workflows/teardown-manual.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
uses: aws-actions/configure-aws-credentials@v4
4444
with:
4545
role-to-assume: ${{ inputs.environment == 'dev' && vars.AWS_ROLE_ARN_DEV || inputs.environment == 'qa' && vars.AWS_ROLE_ARN_QA || vars.AWS_ROLE_ARN_PRD }}
46-
role-session-name: teardown-nestjs-playground-${{ inputs.environment }}
46+
role-session-name: teardown-nestjs-starter-${{ inputs.environment }}
4747
aws-region: ${{ vars.AWS_REGION }}
4848

4949
# Step 4: Install infrastructure dependencies

infrastructure/app.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const appVersion = app.node.tryGetContext('appVersion') as string | undefined;
2222

2323
// Network Stack
2424
const networkStack = new NetworkStack(app, `${config.CDK_APP_NAME}-network-${config.CDK_ENVIRONMENT}`, {
25-
description: 'Network stack for NestJS Playground',
25+
description: 'Network stack for NestJS Starter',
2626
env,
2727
hostedZoneId: config.CDK_HOSTED_ZONE_ID,
2828
hostedZoneName: config.CDK_HOSTED_ZONE_NAME,
@@ -34,15 +34,15 @@ const networkStack = new NetworkStack(app, `${config.CDK_APP_NAME}-network-${con
3434

3535
// ECR Stack
3636
const ecrStack = new EcrStack(app, `${config.CDK_APP_NAME}-ecr-${config.CDK_ENVIRONMENT}`, {
37-
description: 'ECR stack for NestJS Playground',
37+
description: 'ECR stack for NestJS Starter',
3838
env,
3939
appName: config.CDK_APP_NAME,
4040
environment: config.CDK_ENVIRONMENT,
4141
});
4242

4343
// Database Stack
4444
const databaseStack = new DatabaseStack(app, `${config.CDK_APP_NAME}-database-${config.CDK_ENVIRONMENT}`, {
45-
description: 'Database stack for NestJS Playground',
45+
description: 'Database stack for NestJS Starter',
4646
env,
4747
vpc: networkStack.vpc,
4848
databaseName: config.CDK_DATABASE_NAME,
@@ -56,7 +56,7 @@ const databaseStack = new DatabaseStack(app, `${config.CDK_APP_NAME}-database-${
5656

5757
// Compute Stack
5858
const computeStack = new ComputeStack(app, `${config.CDK_APP_NAME}-compute-${config.CDK_ENVIRONMENT}`, {
59-
description: 'Compute stack for NestJS Playground',
59+
description: 'Compute stack for NestJS Starter',
6060
env,
6161
vpc: networkStack.vpc,
6262
repository: ecrStack.repository,
@@ -84,7 +84,7 @@ const scheduledTaskStack = new ScheduledTaskStack(
8484
app,
8585
`${config.CDK_APP_NAME}-scheduled-task-${config.CDK_ENVIRONMENT}`,
8686
{
87-
description: 'Scheduled Task stack for NestJS Playground',
87+
description: 'Scheduled Task stack for NestJS Starter',
8888
env,
8989
vpc: networkStack.vpc,
9090
cluster: computeStack.cluster,

infrastructure/package-lock.json

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

infrastructure/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "nestjs-playground-infrastructure",
2+
"name": "nestjs-starter-infrastructure",
33
"version": "0.3.0",
4-
"description": "AWS CDK infrastructure for NestJS Playground application",
4+
"description": "AWS CDK infrastructure as code for the NestJS Starter application.",
55
"private": true,
66
"scripts": {
77
"build": "tsc",
@@ -20,7 +20,7 @@
2020
"bootstrap": "cdk bootstrap"
2121
},
2222
"dependencies": {
23-
"aws-cdk-lib": "2.235.1",
23+
"aws-cdk-lib": "2.236.0",
2424
"constructs": "10.4.5",
2525
"dotenv": "17.2.3",
2626
"zod": "4.3.6"

infrastructure/stacks/compute.stack.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ describe('ComputeStack', () => {
6363

6464
// Create JWT secret parameter for testing
6565
const jwtSecretParameter = new ssm.StringParameter(stack, 'JWTSecretParameter', {
66-
parameterName: '/nestjs-playground/jwt-secret',
66+
parameterName: '/nestjs-starter/jwt-secret',
6767
stringValue: 'test-jwt-secret-value',
6868
});
6969

infrastructure/stacks/compute.stack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export class ComputeStack extends cdk.Stack {
6565

6666
// Create reference to JWT secret parameter
6767
const jwtSecretParameter = ssm.StringParameter.fromSecureStringParameterAttributes(this, 'JWTSecretParameter', {
68-
parameterName: `/nestjs-playground/jwt-secret`,
68+
parameterName: `/nestjs-starter/jwt-secret`,
6969
});
7070

7171
// Grant task access to JWT secret parameter

0 commit comments

Comments
 (0)