Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LQDN Adminsys
piops-roles
don-lqdn
Commits
ba105476
Commit
ba105476
authored
Feb 28, 2022
by
nono
💻
Browse files
Les tests sont maintenant exécutable
parent
08b8dde4
Changes
2
Hide whitespace changes
Inline
Side-by-side
tasks/install.yml
View file @
ba105476
...
...
@@ -29,30 +29,13 @@
group
:
www-data
mode
:
0770
-
name
:
Lancement du serveur de test
shell
:
make server-start
args
:
chdir
:
/home/don/don
-
name
:
Attendons 5 secondes que le serveur soit bien lancé...
wait_for
:
# On triche un peu
timeout
:
5
-
name
:
Exécution de tests
shell
:
make test
shell
:
( make server-start && make test ) || make server-stop
args
:
chdir
:
/home/don/don
# become: true
# become_user: don
-
name
:
Arrêt du serveur de test
shell
:
make server-stop
args
:
chdir
:
/home/don/don
-
name
:
Installation du site de don
shell
:
make install
args
:
...
...
tasks/setup.yml
View file @
ba105476
...
...
@@ -7,6 +7,6 @@
-
name
:
Installation des dépendances pour le site de don.
apt
:
name
:
[
'
mariadb-server'
,
'
default-mysql-client'
,
'
gettext'
,
'
git'
,
'
bash'
,
'
php'
,
'
php-zip'
,
'
php-dom'
,
'
php-mbstring'
,
'
make'
,
'
php-curl'
,
'
php-mysql'
,
'
pdftk'
,
'
texlive-latex-base'
,
'
python-mysql'
]
name
:
[
'
mariadb-server'
,
'
default-mysql-client'
,
'
gettext'
,
'
git'
,
'
bash'
,
'
php'
,
'
php-zip'
,
'
php-dom'
,
'
php-mbstring'
,
'
make'
,
'
php-curl'
,
'
php-mysql'
,
'
pdftk'
,
'
texlive-latex-base'
,
'
python
3
-mysql
db
'
]
state
:
present
update_cache
:
true
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment