diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b1be4ace9..3c2fa37c4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -399,6 +399,7 @@ end-to-end-ws-setup: - BRANCH_LOWER=$(echo "$CI_COMMIT_REF_NAME" | tr '[:upper:]' '[:lower:]') - echo "$BRANCH_LOWER" - mkdir -p "$HOST_LOG_FILE_PATH" + - chmod o+w "${HOST_LOG_FILE_PATH}" - chown gitlab-runner "$HOST_LOG_FILE_PATH" - ./scripts/generate_datafed.sh - docker login "${REGISTRY}" -u "${HARBOR_USER}" -p "${HARBOR_DATAFED_GITLAB_CI_REGISTRY}" @@ -444,6 +445,7 @@ end-to-end-core-setup: script: - BRANCH_LOWER=$(echo "$CI_COMMIT_REF_NAME" | tr '[:upper:]' '[:lower:]') - mkdir -p "$HOST_LOG_FILE_PATH" + - chmod o+w "${HOST_LOG_FILE_PATH}" - chown gitlab-runner "$HOST_LOG_FILE_PATH" - echo "$BRANCH_LOWER" - ./scripts/generate_datafed.sh @@ -489,6 +491,7 @@ end-to-end-repo-setup: - BRANCH_LOWER=$(echo "$CI_COMMIT_REF_NAME" | tr '[:upper:]' '[:lower:]') - echo "$BRANCH_LOWER" - mkdir -p "$HOST_LOG_FILE_PATH" + - chmod o+w "${HOST_LOG_FILE_PATH}" - chown gitlab-runner "$HOST_LOG_FILE_PATH" - ./scripts/generate_datafed.sh - docker login "${REGISTRY}" -u "${HARBOR_USER}" -p "${HARBOR_DATAFED_GITLAB_CI_REGISTRY}" @@ -526,6 +529,7 @@ end-to-end-gcs-authz-setup: - BRANCH_LOWER=$(echo "$CI_COMMIT_REF_NAME" | tr '[:upper:]' '[:lower:]') - echo "$BRANCH_LOWER" - mkdir -p "$HOST_LOG_FILE_PATH" + - chmod o+w "${HOST_LOG_FILE_PATH}" - chown gitlab-runner "$HOST_LOG_FILE_PATH" - ./scripts/generate_datafed.sh - docker login "${REGISTRY}" -u "${HARBOR_USER}" -p "${HARBOR_DATAFED_GITLAB_CI_REGISTRY}" diff --git a/core/docker/Dockerfile.core.ubuntu b/core/docker/Dockerfile.core.ubuntu index fecd2ccf3..7c752ab11 100644 --- a/core/docker/Dockerfile.core.ubuntu +++ b/core/docker/Dockerfile.core.ubuntu @@ -52,7 +52,7 @@ RUN ${BUILD_DIR}/scripts/generate_datafed.sh &&\ cmake --build build -j 8 RUN cmake --build build --target install -WORKDIR ${DATAFED_INSTALL_PATHl}/core +WORKDIR ${DATAFED_INSTALL_PATH}/core ENTRYPOINT ["/datafed/source/core/docker/entrypoint.sh"]