We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0998b25 commit 926b275Copy full SHA for 926b275
test-integration/hack/_emulator_handling.sh
@@ -56,6 +56,13 @@ start_emulator() {
56
local container_image="mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator:vnext-preview"
57
local ready_log_message="PostgreSQL and pgcosmos extension are ready"
58
59
+ # The vnext image has a /home/nonroot dir owned by UID 65532 which rootless
60
+ # podman in OpenShift CI cannot map. The emulator doesn't use it, so ignoring
61
+ # the chown error during pull is safe.
62
+ if [ "${CONTAINER_RUNTIME}" = "podman" ]; then
63
+ ${CONTAINER_RUNTIME} pull --storage-opt ignore_chown_errors=true "${container_image}"
64
+ fi
65
+
66
echo "Starting Cosmos DB emulator with container name: ${container_name}"
67
${CONTAINER_RUNTIME} run \
68
--publish 8081:8081 \
0 commit comments