diff --git a/.gitlab-ci/docker-ros.yml b/.gitlab-ci/docker-ros.yml index 3f22462..b8fc461 100644 --- a/.gitlab-ci/docker-ros.yml +++ b/.gitlab-ci/docker-ros.yml @@ -183,6 +183,10 @@ run-arm64: fi - git clone --branch master --depth 1 https://github.com/ros-industrial/industrial_ci.git .industrial_ci - test -f ${BUILD_CONTEXT}/.repos || echo "repositories:" > ${BUILD_CONTEXT}/.repos + - |- + if [ "$RMW_IMPLEMENTATION" = "rmw_zenoh_cpp" ]; then + export UNDERLAY="/opt/ws_rmw_zenoh/install" + fi script: .industrial_ci/gitlab.sh Test dev-amd64: diff --git a/action.yml b/action.yml index 6dbbd89..fefef44 100644 --- a/action.yml +++ b/action.yml @@ -229,7 +229,7 @@ runs: UPSTREAM_WORKSPACE: ${{ inputs.build-context }}/.repos TARGET_WORKSPACE: ${{ inputs.build-context }} ADDITIONAL_DEBS: git - AFTER_INIT_EMBED: '[[ -n ${{ inputs.git-https-server }} ]] && git config --global url.https://${{ inputs.git-https-user }}:${{ inputs.git-https-password }}@${{ inputs.git-https-server }}.insteadOf https://${{ inputs.git-https-server }}' + AFTER_INIT_EMBED: '[[ "$RMW_IMPLEMENTATION" == "rmw_zenoh_cpp" ]] && export UNDERLAY="/opt/ws_rmw_zenoh/install" ; [[ -n ${{ inputs.git-https-server }} ]] && git config --global url.https://${{ inputs.git-https-user }}:${{ inputs.git-https-password }}@${{ inputs.git-https-server }}.insteadOf https://${{ inputs.git-https-server }}' SSH_PRIVATE_KEY: ${{ inputs.git-ssh-private-key }} SSH_SERVER_HOSTKEYS: ${{ inputs.git-ssh-known-host-keys }} DOCKER_RUN_OPTS: -u root:root