Skip to content

Commit 536fea3

Browse files
committed
Merge remote-tracking branch 'origin/develop' into #3936-delete-guest-definition
2 parents 013f1f1 + a804d84 commit 536fea3

271 files changed

Lines changed: 20421 additions & 3892 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.ebextensions/03_ssh_keys.config

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
files:
2+
"/tmp/add_authorized_keys.sh":
3+
mode: "000755"
4+
owner: root
5+
group: root
6+
content: |
7+
#!/bin/bash
8+
AUTHORIZED_KEYS="/home/ec2-user/.ssh/authorized_keys"
9+
mkdir -p /home/ec2-user/.ssh
10+
touch "$AUTHORIZED_KEYS"
11+
chown ec2-user:ec2-user /home/ec2-user/.ssh
12+
chmod 700 /home/ec2-user/.ssh
13+
14+
add_key() {
15+
local key="$1"
16+
if ! grep -qF "$key" "$AUTHORIZED_KEYS"; then
17+
echo "$key" >> "$AUTHORIZED_KEYS"
18+
fi
19+
}
20+
21+
# Chris Pyle
22+
add_key "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMqV5gwot3utGLPGpAPWr8znU1cjMn1RE7jN8htvaOMt aws-eb"
23+
24+
# Sean Walker
25+
add_key "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICf1UhVM+65hiKahvdvEj20ohDu+bZVS+btVFJTtg0oP seanwalker@Seans-MacBook-Pro-2.local"
26+
27+
chown ec2-user:ec2-user "$AUTHORIZED_KEYS"
28+
chmod 600 "$AUTHORIZED_KEYS"
29+
30+
commands:
31+
add_authorized_keys:
32+
command: "/tmp/add_authorized_keys.sh"
33+
ignoreErrors: false

.github/workflows/system-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
push:
66
branches:
77
- main
8+
- multitenancy
89
- develop
910
- feature/**
1011

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@
2828
*.env
2929
.agent
3030

31+
# Generated Claude skills (source is src/docs-site/docs/)
32+
.claude/skills/
33+
3134
npm-debug.log*
3235
yarn-debug.log*
3336
yarn-error.log*
@@ -67,4 +70,5 @@ eb-deploy/
6770

6871
# Claude Code Files
6972
CLAUDE.md
70-
.playwright-mcp/
73+
.playwright-mcp/
74+
docs/

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build stage - compile TypeScript
2-
FROM node:20 AS builder
2+
FROM node:25 AS builder
33
WORKDIR /app
44

55
COPY package.json tsconfig.build.json ./
@@ -11,11 +11,11 @@ RUN cd src/backend && npx prisma generate
1111
RUN yarn build:shared
1212
RUN yarn build:backend
1313

14-
FROM node:20-slim
14+
FROM platformatic/node-caged:25-slim
1515
WORKDIR /app
1616

1717
# Install OpenSSL for Prisma (slim image needs this)
18-
RUN apt-get update -y && apt-get install -y openssl && rm -rf /var/lib/apt/lists/*
18+
RUN apt-get update -y && apt-get install -y openssl && rm -rf /var/lib/apt/lists/* && npm install -g yarn
1919

2020
COPY package.json ./
2121

devContainerization/Dockerfile.backend.dev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:20
1+
FROM node:25
22

33
COPY package.json tsconfig.build.json ./
44
COPY ./src/backend/package.json ./src/backend/tsconfig.json src/backend/

devContainerization/Dockerfile.frontend.dev

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:20-alpine
1+
FROM node:25-alpine
22

33
COPY package.json tsconfig.build.json ./
44
COPY ./src/frontend/package.json ./src/frontend/tsconfig.json src/frontend/
@@ -11,4 +11,4 @@ COPY ./src/frontend src/frontend
1111
COPY ./src/shared src/shared
1212

1313
EXPOSE 3000
14-
CMD [ "yarn", "workspace", "frontend", "vite", "--force", "--host" ]
14+
CMD [ "yarn", "workspace", "frontend", "vite", "--force", "--host" ]

infrastructure/modules/elasticbeanstalk/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ variable "solution_stack_name" {
1414
description = "Elastic Beanstalk solution stack name"
1515
type = string
1616
# Find the latest: aws elasticbeanstalk list-available-solution-stacks
17-
default = "64bit Amazon Linux 2023 v4.7.4 running Docker"
17+
default = "64bit Amazon Linux 2023 v4.11.0 running Docker"
1818
}
1919

2020
variable "vpc_id" {

infrastructure/modules/monitoring/main.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,10 @@ resource "aws_cloudwatch_metric_alarm" "eb_memory_high" {
357357
Environment = var.environment
358358
Project = var.project_name
359359
}
360+
361+
lifecycle {
362+
ignore_changes = [metric_query]
363+
}
360364
}
361365

362366
#############

infrastructure/modules/network/main.tf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,14 @@ resource "aws_security_group" "eb_instance" {
164164
security_groups = [aws_security_group.alb.id]
165165
}
166166

167+
ingress {
168+
description = "SSH access"
169+
from_port = 22
170+
to_port = 22
171+
protocol = "tcp"
172+
cidr_blocks = ["0.0.0.0/0"]
173+
}
174+
167175
egress {
168176
description = "Allow all outbound traffic"
169177
from_port = 0

infrastructure/scripts/ssh-to-eb.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ echo "🔌 Connecting to EB instance..."
5858
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
5959
echo ""
6060
echo "Instance: $INSTANCE_IP ($INSTANCE_ID)"
61+
echo "Direct SSH: ssh -i $KEY_PATH_EXPANDED ec2-user@$INSTANCE_IP"
6162
echo "User: ec2-user"
6263
echo ""
6364
echo "Useful commands once connected:"

0 commit comments

Comments
 (0)