Skip to content

Commit

Permalink
Match UID in docker-compose to allow it to read mounted volume in CI
Browse files Browse the repository at this point in the history
Signed-off-by: joshvanl <[email protected]>
  • Loading branch information
JoshVanL committed Jul 31, 2023
1 parent ba3476b commit c77f0bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ services:
- metadataStoreUrl=zk:localhost:2181
- metricsProvider.httpPort=7000
- PULSAR_MEM=-Xms256m -Xmx256m -XX:MaxDirectMemorySize=256m
user: ${UID}
command: >
bash -c "bin/apply-config-from-env.py conf/zookeeper.conf && \
bin/generate-zookeeper-config.sh conf/zookeeper.conf && \
Expand Down Expand Up @@ -61,6 +62,7 @@ services:
- BOOKIE_MEM=-Xms512m -Xmx512m -XX:MaxDirectMemorySize=256m
env_file:
- ./pulsar_auth-oidc.conf
user: ${UID}
volumes:
- "bookiedata:/pulsar/data/bookkeeper"
- "{{ .TmpDir }}:/daprconfig"
Expand All @@ -79,6 +81,7 @@ services:
network_mode: "host"
env_file:
- ./pulsar_auth-oidc.conf
user: ${UID}
volumes:
- "{{ .TmpDir }}:/daprconfig"
environment:
Expand Down
1 change: 1 addition & 0 deletions tests/certification/pubsub/pulsar/pulsar_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ func TestPulsar(t *testing.T) {

t.Log("Waiting for OAuth server to be ready...")
oauthCA := peerCertificate(t, "localhost:8085")
t.Log("OAuth server is ready")

dir := t.TempDir()

Expand Down

0 comments on commit c77f0bd

Please sign in to comment.