Skip to content

Commit e626227

Browse files
authored
Merge branch 'master' into TT-16890-v2
2 parents 30135d5 + 461478b commit e626227

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

ci/tests/metrics/Taskfile.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ tasks:
3434
vars: [GW_PROFILE]
3535
cmds:
3636
- echo "=== Setting up profile {{.GW_PROFILE}} ==="
37+
# Ensure mount directories are writable by nonroot gateway (uid 65532)
38+
- mkdir -p apps 2>/dev/null; chmod 777 apps 2>/dev/null; true
3739
- GW_PROFILE={{.GW_PROFILE}} docker compose -p metrics-{{.GW_PROFILE}} up -d --wait
3840
- GW_PROFILE={{.GW_PROFILE}} docker compose -p metrics-{{.GW_PROFILE}} logs -f > /tmp/metrics-{{.GW_PROFILE}}.log 2>&1 &
3941

ci/tests/specs/test.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ trap "task down" EXIT
1616
echo "Creating .env file..."
1717
echo "PORTMAN_API_Key=example_gateway_secret" > ".env"
1818

19+
# Create mount directories with world-writable permissions so the
20+
# nonroot gateway (uid 65532) can write API definitions and policies.
21+
mkdir -p apps policies 2>/dev/null
22+
chmod 777 apps policies 2>/dev/null
23+
1924
task up
2025

2126
task tests

ci/tests/tracing/Taskfile.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ tasks:
2525
setup:
2626
desc: "setup e2e opentelemetry tests"
2727
cmds:
28+
# Ensure mount directories are writable by nonroot gateway (uid 65532)
29+
- mkdir -p apps policies 2>/dev/null; chmod 777 apps policies 2>/dev/null; true
2830
- docker compose up -d --wait
2931
- task: tracetest:configure
3032

0 commit comments

Comments
 (0)