Commit da88c59f authored by Tobias Munk's avatar Tobias Munk

updated build

parent 1cee6902
Pipeline #1419 failed with stage
......@@ -32,7 +32,6 @@ TEST: ##@config configure application for local testing
CI: ##@config configure application for local staging
$(eval BUILDER_SERVICE_SUFFIX := builder)
$(eval COMPOSE_FILE := build/stacks-gen/test-ci.yml)
$(eval COMPOSE_PROJECT_NAME := adam)
STAGING: ##@config configure application for local staging
$(eval COMPOSE_FILE := build/stacks-gen/staging.yml)
......
......@@ -24,7 +24,8 @@ cp .env-dist .env
make CI docker-kill docker-rm docker-pull
make CI OPTS='--prefer-dist' app-install
make CI app-build-assets app-build-tests docker-build
make CI docker-up app-setup
make CI docker-up
make CI app-setup
make CI OPTS='-v acceptance prod' app-run-tests
export BUILDER_SERVICE_SUFFIX=src
make docker-tag
......
#!/usr/bin/env bash
mkdir /app/web/assets /app/runtime
mkdir -p /app/web/assets /app/runtime
chmod -R 777 /app/web/assets /app/runtime
composer install
......@@ -10,7 +10,8 @@ composer install
./yii app/setup-admin-user --interactive=0
# TODO: temporary workaround, folders create by appcli, are not writable by appfpm
chmod -R 777 /app/web/assets /app/runtime
mkdir -p /app/runtime/mail /app/runtime/cache /app/runtime/debug
chmod -R 777 /app/web/assets /app/runtime/mail /app/runtime/cache /app/runtime/debug
echo "\nApplication initialized"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment