Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
sumimakito authored Apr 22, 2024
1 parent f80634b commit dad3950
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .ci/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,11 @@ services:
condition: service_healthy

kong-gen-cert:
user: "1001:127"
# Using a empty string as the fallback makes this env optional but still fails if not set when used
image: "kong/kong:nightly-ubuntu"
security_opt:
- no-new-privileges:true
command: >-
sh -c "id && kong hybrid gen_cert /tmp/hybrid/cluster.crt /tmp/hybrid/cluster.key"
sh -c "id && stat /tmp/hybrid && /tmp/hybrid && kong hybrid gen_cert /tmp/hybrid/cluster.crt /tmp/hybrid/cluster.key"
volumes:
- "${GITHUB_WORKSPACE:-.}/hybrid:/tmp/hybrid"
- "${GITHUB_WORKSPACE:-.}/hybrid:/tmp/hybrid:rw"
1 change: 1 addition & 0 deletions .github/workflows/test_container_perm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ jobs:
run: |
id
docker compose -f .ci/docker-compose.yml up kong-gen-cert
stat ./hybrid

0 comments on commit dad3950

Please sign in to comment.