-
Notifications
You must be signed in to change notification settings - Fork 10
/
DevPipeline.sh
21 lines (20 loc) · 1.2 KB
/
DevPipeline.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
echo --------------------------------------------------------------------------
echo ---------------Git pull--------------------------------------------------
echo --------------------------------------------------------------------------
git add .
git stash
git pull
echo ------------Update parameter.yml and install latest packages-------------
php composer.phar install
echo --------------------------------------------------------------------------
echo ----------------Update Database------------------------------------------
echo --------------------------------------------------------------------------
php bin/console doctrine:schema:update --force
echo --------------------------------------------------------------------------
echo -----------------Clear Cache----------------------------------------------
echo --------------------------------------------------------------------------
php bin/console cache:clear
echo --------------------------------------------------------------------------
echo -----------------Security Check----------------------------------------------
echo --------------------------------------------------------------------------
php security-checker.phar security:check composer.lock