Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Verified Commit 4c45507a authored by Nivesh Krishna's avatar Nivesh Krishna
Browse files

add user migration app

parent fe18b495
Loading
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
.idea
files
 No newline at end of file
ecloud_dev_example/volumes
+2 −5
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ ARG GOOGLE_INTEGRATION_VERSION="1.0.9"
ARG DASHBOARD_JOB_ID="582062"
ARG SNAPPY_VERSION="2.27.2"
ARG SNAPPY_THEME_VERSION="2.0.0"
ARG USER_MIGRATION_VERSION="3.0.0"
ARG USER_MIGRATION_JOB_ID="608716"

RUN sed -i 's/25,0,6,1/25,0,6,5/' ${BASE_DIR}/version.php
COPY custom_entrypoint.sh /
@@ -82,14 +82,11 @@ RUN curl -fsSL -o snappymail.tar.gz \
    rm snappymail.tar.gz;

RUN curl -fsSL -o user_migration.tar.gz \
    "https://github.com/nextcloud-releases/user_migration/releases/download/v${USER_MIGRATION_VERSION}/user_migration-v${USER_MIGRATION_VERSION}.tar.gz" && \
    "https://gitlab.e.foundation/e/infra/ecloud/nextcloud-apps/user_migration/-/jobs/${USER_MIGRATION_JOB_ID}/artifacts/download" && \
    tar -xf user_migration.tar.gz -C ${BASE_DIR}/custom_apps/ && \
    chown -R www-data:www-data ${BASE_DIR}/custom_apps/user_migration && \
    rm user_migration.tar.gz;

# Do not create duplicate section for user_migration
RUN sed -i 's/return Application::APP_ID;/return "migration";/' ${BASE_DIR}/custom_apps/user_migration/lib/Settings/Personal/Settings.php

# Fix snappymail icon
RUN sed -i 's/logo-white-64x64.png/app.svg/' ${BASE_DIR}/custom_apps/snappymail/appinfo/info.xml