File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed
Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change @@ -16,6 +16,11 @@ trap "task down" EXIT
1616echo " Creating .env file..."
1717echo " 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+
1924task up
2025
2126task tests
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments