Commande test.
This commit is contained in:
parent
4e6ca178a5
commit
33668ae397
|
@ -25,6 +25,7 @@ synchro-et-tests:
|
||||||
- rsync -avzlh images/ /var/lib/gsl/domains/chalec.org/images/
|
- rsync -avzlh images/ /var/lib/gsl/domains/chalec.org/images/
|
||||||
- files=(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA)
|
- files=(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA)
|
||||||
- cd /home/webmaster/articles
|
- cd /home/webmaster/articles
|
||||||
|
- gsl check | grep Err
|
||||||
- test -z "$(gsl check | grep Err)"
|
- test -z "$(gsl check | grep Err)"
|
||||||
- gsl sync wip
|
- gsl sync wip
|
||||||
|
|
||||||
|
@ -37,6 +38,7 @@ deploiement: # This job runs in the deploy stage.
|
||||||
for postfile in $(ls *.gsl)
|
for postfile in $(ls *.gsl)
|
||||||
do
|
do
|
||||||
echo "Construction de $postfile"
|
echo "Construction de $postfile"
|
||||||
|
gsl make $postfile | grep Err
|
||||||
test -z "$(gsl make $postfile | grep Err)"
|
test -z "$(gsl make $postfile | grep Err)"
|
||||||
done
|
done
|
||||||
- echo "Déploiement terminé."
|
- echo "Déploiement terminé."
|
Loading…
Reference in New Issue