mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
Install libgif-dev in travisci environment
This commit is contained in:
parent
5be5b34522
commit
8d662c1591
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -10,3 +10,5 @@ coverage/
|
|||
config.yml
|
||||
|
||||
npm-debug.log
|
||||
|
||||
notifications/
|
||||
|
|
|
@ -4,13 +4,17 @@ node_js:
|
|||
services:
|
||||
- docker
|
||||
- ntp
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- libgif-dev
|
||||
before_install: npm install -g npm@'>=2.13.5'
|
||||
script:
|
||||
- npm test
|
||||
- docker-compose build
|
||||
- docker-compose up -d
|
||||
- sleep 5
|
||||
- scripts/check_services.sh
|
||||
- ./scripts/check_services.sh
|
||||
deploy:
|
||||
provider: npm
|
||||
email: clement.michaud34@gmail.com
|
||||
|
|
|
@ -6,7 +6,7 @@ services:
|
|||
- ./test:/usr/src/test
|
||||
- ./src/views:/usr/src/views
|
||||
- ./src/public_html:/usr/src/public_html
|
||||
- ./notifications:/var/lib/auth-server/notifications
|
||||
- ./config.yml:/etc/auth-server/config.yml:ro
|
||||
|
||||
ldap-admin:
|
||||
image: osixia/phpldapadmin:0.6.11
|
||||
|
|
|
@ -7,7 +7,8 @@ services:
|
|||
- ldap
|
||||
restart: always
|
||||
volumes:
|
||||
- ./config.yml:/etc/auth-server/config.yml:ro
|
||||
- ./config.template.yml:/etc/auth-server/config.yml:ro
|
||||
- ./notifications:/var/lib/auth-server/notifications
|
||||
|
||||
ldap:
|
||||
image: dinkel/openldap
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
User: user
|
||||
Subject: Reset your password
|
||||
Link: https://localhost:8080/authentication/reset-password?identity_token=CmJ51IdJLEcVr7AbbJPANe0wmJoOcgYzPqgGOngVRIhKq1UbQUoS44FXDEXBcolz
|
14
scripts/check_services.sh
Executable file
14
scripts/check_services.sh
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
|
||||
service_count=`docker ps -a | grep "Up " | wc -l`
|
||||
|
||||
if [ "${service_count}" -eq "3" ]
|
||||
then
|
||||
echo "Service are up and running."
|
||||
exit 0
|
||||
else
|
||||
echo "Some services exited..."
|
||||
docker ps -a
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user