Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/erlang-parallel-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,13 @@ jobs:
if: ${{ inputs.run-ct-with-compose == false }}
run: rebar3 ct --cover ${{ inputs.ct-command-args }}

- name: Set USER_UID and USER_GID env
id: ct-env-w-compose
if: ${{ inputs.run-ct-with-compose == true }}
run: |
echo "RUNNER_UID=$(id -u)" >> $GITHUB_ENV
echo "RUNNER_GID=$(id -g)" >> $GITHUB_ENV

- name: Run CommonTest (/w docker-compose)
id: run-ct-w-compose
if: ${{ inputs.run-ct-with-compose == true }}
Expand All @@ -253,6 +260,8 @@ jobs:
DEV_IMAGE_TAG: ${{ inputs.run-ct-compose-container-name }}-dev
OTP_VERSION: ${{ inputs.otp-version }}
THRIFT_VERSION: ${{ inputs.thrift-version }}
USER_UID: ${{ env.RUNNER_UID }}
USER_GID: ${{ env.RUNNER_GID }}
# Enable buildkit extensions in docker compose
COMPOSE_DOCKER_CLI_BUILD: true
DOCKER_BUILDKIT: true
Expand Down