authelia/scripts/authelia-scripts-travis
Clement Michaud 76fa325f08 [BREAKING] Create a suite for kubernetes tests.
Authelia client uses hash router instead of browser router in order to work
with Kubernetes nginx-ingress-controller. This is also better for users having
old browsers.

This commit is breaking because it requires to change the configuration of the
proxy to include the # in the URL of the login portal.
2019-03-16 00:13:27 +01:00

38 lines
829 B
Bash
Executable File

#!/bin/bash
set -e
source bootstrap.sh
docker --version
docker-compose --version
echo "node `node -v`"
echo "npm `npm -v`"
authelia-scripts bootstrap
docker-compose -f docker-compose.yml \
-f example/compose/mongo/docker-compose.yml \
-f example/compose/redis/docker-compose.yml \
-f example/compose/nginx/portal/docker-compose.yml \
-f example/compose/smtp/docker-compose.yml \
-f example/compose/httpbin/docker-compose.yml \
-f example/compose/ldap/docker-compose.admin.yml \
-f example/compose/ldap/docker-compose.yml \
pull
# Build
authelia-scripts build
# Run unit tests
authelia-scripts unittest
# Build the docker image
authelia-scripts docker build
# Run integration tests
authelia-scripts suites test --headless
# Test npm deployment before actual deployment
# ./scripts/npm-deployment-test.sh