-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #348 from silinternational/develop
Release 6.7.7 -- add a log message and do some housekeeping
- Loading branch information
Showing
7 changed files
with
40 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,72 +1,72 @@ | ||
start: app | ||
|
||
app: db composer | ||
docker-compose up -d app phpmyadmin | ||
docker compose up -d app phpmyadmin | ||
|
||
appfortests: testdb composerfortests | ||
docker-compose up -d appfortests | ||
docker compose up -d appfortests | ||
|
||
bash: | ||
docker-compose run --rm cli bash | ||
docker compose run --rm cli bash | ||
|
||
composer: | ||
docker-compose run --rm cli composer install | ||
docker compose run --rm cli composer install | ||
|
||
composerfortests: | ||
docker-compose run --rm appfortests composer install | ||
docker-compose run --rm dynamorestart composer install | ||
docker compose run --rm appfortests composer install | ||
docker compose run --rm dynamorestart composer install | ||
|
||
composershow: | ||
docker-compose run --rm cli bash -c 'composer show --format=json --no-dev --no-ansi --locked | jq "[.locked[] | { \"name\": .name, \"version\": .version }]" > dependencies.json' | ||
docker compose run --rm cli bash -c 'composer show --format=json --no-dev --no-ansi --locked | jq "[.locked[] | { \"name\": .name, \"version\": .version }]" > dependencies.json' | ||
|
||
composerupdate: | ||
docker-compose run --rm cli composer update | ||
docker compose run --rm cli composer update | ||
make composershow | ||
|
||
db: | ||
docker-compose up -d db | ||
docker compose up -d db | ||
|
||
testdb: | ||
docker-compose up -d testdb | ||
docker compose up -d testdb | ||
|
||
tables: db | ||
docker-compose run --rm cli whenavail db 3306 100 ./yii migrate --interactive=0 | ||
docker compose run --rm cli whenavail db 3306 100 ./yii migrate --interactive=0 | ||
|
||
tablesfortests: testdb | ||
docker-compose run --rm appfortests whenavail testdb 3306 100 ./yii migrate --interactive=0 | ||
docker compose run --rm appfortests whenavail testdb 3306 100 ./yii migrate --interactive=0 | ||
|
||
basemodels: db tables | ||
docker-compose run --rm cli whenavail db 3306 100 ./rebuildbasemodels.sh | ||
docker compose run --rm cli whenavail db 3306 100 ./rebuildbasemodels.sh | ||
|
||
quicktest: | ||
docker-compose run --rm test bash -c "vendor/bin/behat --stop-on-failure --strict --append-snippets" | ||
docker compose run --rm test bash -c "vendor/bin/behat --stop-on-failure --strict --append-snippets" | ||
|
||
test: appfortests | ||
docker-compose run --rm test | ||
docker compose run --rm test | ||
|
||
testcli: appfortests tablesfortests mfaapi | ||
docker-compose run --rm test bash | ||
docker compose run --rm test bash | ||
|
||
mfaapi: | ||
docker-compose up -d mfaapi | ||
docker compose up -d mfaapi | ||
|
||
# This is needed to re-run certain feature tests in testcli without stopping that container. | ||
dynamoclean: | ||
docker-compose kill dynamorestart | ||
docker-compose up -d dynamorestart | ||
docker compose kill dynamorestart | ||
docker compose up -d dynamorestart | ||
|
||
clean: | ||
docker-compose kill | ||
docker-compose rm -f | ||
docker compose kill | ||
docker compose rm -f | ||
|
||
raml2html: | ||
touch api.html | ||
docker-compose run --rm raml2html | ||
docker compose run --rm raml2html | ||
|
||
psr2: | ||
docker-compose run --rm cli bash -c "vendor/bin/php-cs-fixer fix ." | ||
docker compose run --rm cli bash -c "vendor/bin/php-cs-fixer fix ." | ||
|
||
callGA: app | ||
docker-compose exec app bash -c "./yii ga/register_event" | ||
docker compose exec app bash -c "./yii ga/register_event" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
version: '2' | ||
services: | ||
testdb: | ||
image: mariadb:10 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters