-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CI] Add some ci-script to automate various process
- Loading branch information
1 parent
1855a0a
commit 234fd39
Showing
7 changed files
with
69 additions
and
6 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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/env bash | ||
set -ex | ||
|
||
# TODO share this between script (in an include) | ||
if [ -f .env ] | ||
then | ||
source .env | ||
else | ||
echo "Please run this script from project root, and check .env file as it is mandatory" | ||
echo "If it is missing a quick solution is :" | ||
echo "ln -s .env.dist .env" | ||
exit 42 | ||
fi | ||
|
||
composer install --no-interaction --no-scripts |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/env bash | ||
set -ex | ||
|
||
# TODO share this between script (in an include) | ||
if [ -f .env ] | ||
then | ||
source .env | ||
else | ||
echo "Please run this script from project root, and check .env file as it is mandatory" | ||
echo "If it is missing a quick solution is :" | ||
echo "ln -s .env.dist .env" | ||
exit 42 | ||
fi | ||
|
||
bin/console assets:install --no-interaction | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/usr/bin/env bash | ||
set -ex | ||
|
||
# TODO share this between script (in an include) | ||
if [ -f .env ] | ||
then | ||
source .env | ||
else | ||
echo "Please run this script from project root, and check .env file as it is mandatory" | ||
echo "If it is missing a quick solution is :" | ||
echo "ln -s .env.dist .env" | ||
exit 42 | ||
fi | ||
|
||
echo "waiting for test creation" | ||
|
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/usr/bin/env bash | ||
set -ex | ||
|
||
# TODO share this between script (in an include) | ||
if [ -f .env ] | ||
then | ||
source .env | ||
else | ||
echo "Please run this script from project root, and check .env file as it is mandatory" | ||
echo "If it is missing a quick solution is :" | ||
echo "ln -s .env.dist .env" | ||
exit 42 | ||
fi | ||
|
||
bin/console server:start --no-interaction | ||
|
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