Skip to content

Commit

Permalink
created directory with adequate permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
nedvedba committed Sep 3, 2024
1 parent e28b239 commit 40cad7b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .gitlab/end_to_end.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ end-to-end-core-setup:
- BRANCH_LOWER=$(echo "$CI_COMMIT_REF_NAME" | tr '[:upper:]' '[:lower:]')
- mkdir -p "$HOST_LOG_FILE_PATH"
- chmod o+w "${HOST_LOG_FILE_PATH}"
- mkdir -p "/opt/datafed"
- chmod o+w "/opt/datafed"
- USER_ID=$(id -u)
- chown gitlab-runner "$HOST_LOG_FILE_PATH"
- echo "$BRANCH_LOWER"
Expand Down Expand Up @@ -127,6 +129,8 @@ end-to-end-ws-setup:
- echo "$BRANCH_LOWER"
- mkdir -p "$HOST_LOG_FILE_PATH"
- mkdir -p "${DATAFED_WEB_KEY_DIR}"
- mkdir -p "/opt/datafed"
- chmod o+w "/opt/datafed"
- ./scripts/ci_setup_web_certs.sh
- chmod o+w "${HOST_LOG_FILE_PATH}"
- chown gitlab-runner "$HOST_LOG_FILE_PATH"
Expand Down Expand Up @@ -171,6 +175,8 @@ end-to-end-repo-setup:
- if [ -d "${DATAFED_HOST_COLLECTION_MOUNT}" ]; then rm -rf "${DATAFED_HOST_COLLECTION_MOUNT}"; fi
- mkdir -p "${DATAFED_HOST_COLLECTION_MOUNT}"
- chmod o+w "${HOST_LOG_FILE_PATH}"
- mkdir -p "/opt/datafed"
- chmod o+w "/opt/datafed"
- USER_ID=$(id -u)
- chown gitlab-runner "$HOST_LOG_FILE_PATH"
- ./scripts/generate_datafed.sh
Expand Down Expand Up @@ -213,6 +219,8 @@ end-to-end-gcs-authz-setup:
- mkdir -p "${DATAFED_GLOBUS_DIR}"
- cp "${CI_DATAFED_GCS_DEPLOYMENT_KEY}" "${DATAFED_GLOBUS_DIR}/deployment-key.json"
- cp "${CI_DATAFED_GCS_CLIENT_CRED}" "${DATAFED_GLOBUS_DIR}/client_cred.json"
- mkdir -p "/opt/datafed"
- chmod o+w "/opt/datafed"
- USER_ID=$(id -u)
- chmod o+w "${HOST_LOG_FILE_PATH}"
- chown gitlab-runner "$HOST_LOG_FILE_PATH"
Expand Down

0 comments on commit 40cad7b

Please sign in to comment.