Updated paths and permissions
This commit is contained in:
parent
25241c61d4
commit
dedb8cf3b3
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.DS_Store
|
0
build.backend.docker.sh
Normal file → Executable file
0
build.backend.docker.sh
Normal file → Executable file
0
clear.backend.docker.sh
Normal file → Executable file
0
clear.backend.docker.sh
Normal file → Executable file
@ -123,10 +123,10 @@ function build_dotnetcore_backend {
|
|||||||
if [[ ${BUILD_DOTNET_CORE_ARGS} == "false" ]]
|
if [[ ${BUILD_DOTNET_CORE_ARGS} == "false" ]]
|
||||||
then
|
then
|
||||||
echo "== Build ASC.Web.slnf =="
|
echo "== Build ASC.Web.slnf =="
|
||||||
dotnet build ASC.Web.slnf
|
dotnet build server/ASC.Web.slnf
|
||||||
else
|
else
|
||||||
echo "== Build ASC.Web.slnf ${BUILD_DOTNET_CORE_ARGS} =="
|
echo "== Build ASC.Web.slnf ${BUILD_DOTNET_CORE_ARGS} =="
|
||||||
dotnet build ASC.Web.slnf ${BUILD_DOTNET_CORE_ARGS}
|
dotnet build server/ASC.Web.slnf ${BUILD_DOTNET_CORE_ARGS}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $# -gt 0 ]]
|
if [[ $# -gt 0 ]]
|
||||||
@ -135,7 +135,7 @@ function build_dotnetcore_backend {
|
|||||||
if [[ ${migration_check} == "true" ]]
|
if [[ ${migration_check} == "true" ]]
|
||||||
then
|
then
|
||||||
echo "== Build ASC.Migrations.sln =="
|
echo "== Build ASC.Migrations.sln =="
|
||||||
dotnet build ASC.Migrations.sln -o ${BUILD_PATH}/services/ASC.Migration.Runner/service/
|
dotnet build server/ASC.Migrations.sln -o ${BUILD_PATH}/services/ASC.Migration.Runner/service/
|
||||||
fi
|
fi
|
||||||
if [[ ${DOCKER_ENTRYPOINT} != "false" ]]
|
if [[ ${DOCKER_ENTRYPOINT} != "false" ]]
|
||||||
then
|
then
|
||||||
@ -154,9 +154,9 @@ function backend-dotnet-publish {
|
|||||||
|
|
||||||
if [[ ${PUBLISH_BACKEND_ARGS} == "false" ]]
|
if [[ ${PUBLISH_BACKEND_ARGS} == "false" ]]
|
||||||
then
|
then
|
||||||
dotnet publish $SRC_PATH/ASC.Web.slnf -p "PublishProfile=FolderProfile"
|
dotnet publish $SRC_PATH/server/ASC.Web.slnf -p "PublishProfile=FolderProfile"
|
||||||
else
|
else
|
||||||
dotnet publish $SRC_PATH/ASC.Web.slnf ${PUBLISH_BACKEND_ARGS} -p "PublishProfile=FolderProfile"
|
dotnet publish $SRC_PATH/server/ASC.Web.slnf ${PUBLISH_BACKEND_ARGS} -p "PublishProfile=FolderProfile"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ ${DOCKER_ENTRYPOINT} != "false" ]]
|
if [[ ${DOCKER_ENTRYPOINT} != "false" ]]
|
||||||
@ -176,9 +176,9 @@ function backend-nodejs-publish {
|
|||||||
get_services_name "${BACKEND_NODEJS_SERVICES}"
|
get_services_name "${BACKEND_NODEJS_SERVICES}"
|
||||||
for i in ${!ARRAY_NAME_SERVICES[@]}; do
|
for i in ${!ARRAY_NAME_SERVICES[@]}; do
|
||||||
echo "== Build ${ARRAY_NAME_SERVICES[$i]} project =="
|
echo "== Build ${ARRAY_NAME_SERVICES[$i]} project =="
|
||||||
yarn install --cwd ${SRC_PATH}/common/${ARRAY_NAME_SERVICES[$i]} --frozen-lockfile && \
|
yarn install --cwd ${SRC_PATH}/server/common/${ARRAY_NAME_SERVICES[$i]} && \
|
||||||
mkdir -p ${BUILD_PATH}/services/${ARRAY_NAME_SERVICES[$i]}/service/ && \
|
mkdir -p ${BUILD_PATH}/services/${ARRAY_NAME_SERVICES[$i]}/service/ && \
|
||||||
cp -rfv ${SRC_PATH}/common/${ARRAY_NAME_SERVICES[$i]}/* ${BUILD_PATH}/services/${ARRAY_NAME_SERVICES[$i]}/service/
|
cp -rfv ${SRC_PATH}/server/common/${ARRAY_NAME_SERVICES[$i]}/* ${BUILD_PATH}/services/${ARRAY_NAME_SERVICES[$i]}/service/
|
||||||
if [[ ${DOCKER_ENTRYPOINT} != "false" ]]
|
if [[ ${DOCKER_ENTRYPOINT} != "false" ]]
|
||||||
then
|
then
|
||||||
echo "== ADD ${DOCKER_ENTRYPOINT} to ${ARRAY_NAME_SERVICES[$i]} =="
|
echo "== ADD ${DOCKER_ENTRYPOINT} to ${ARRAY_NAME_SERVICES[$i]} =="
|
||||||
|
@ -9,7 +9,7 @@ ARG BUILD_PATH
|
|||||||
|
|
||||||
WORKDIR ${SRC_PATH}
|
WORKDIR ${SRC_PATH}
|
||||||
|
|
||||||
COPY /config ./config
|
COPY build/config ./config
|
||||||
|
|
||||||
RUN find config/ -maxdepth 1 -name "*.json" | grep -v test | grep -v dev | xargs tar -cvf config.tar && \
|
RUN find config/ -maxdepth 1 -name "*.json" | grep -v test | grep -v dev | xargs tar -cvf config.tar && \
|
||||||
tar -C "/app/onlyoffice/" -xvf config.tar && \
|
tar -C "/app/onlyoffice/" -xvf config.tar && \
|
||||||
|
0
run.translations.spellcheck.test.sh
Normal file → Executable file
0
run.translations.spellcheck.test.sh
Normal file → Executable file
0
run.translations.tests.sh
Normal file → Executable file
0
run.translations.tests.sh
Normal file → Executable file
0
runMigrations.sh
Normal file → Executable file
0
runMigrations.sh
Normal file → Executable file
Loading…
Reference in New Issue
Block a user