mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
828f565290
This is going to be the v4. Expected improvements: - More reliable due to static typing. - Bump of performance. - Improvement of logging. - Authelia can be shipped as a single binary. - Will likely work on ARM architecture.
40 lines
913 B
Bash
Executable File
40 lines
913 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
source bootstrap.sh
|
|
|
|
docker --version
|
|
docker-compose --version
|
|
|
|
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
|
|
echo "===> Build stage"
|
|
authelia-scripts build
|
|
|
|
# Run unit tests
|
|
echo "===> Unit tests stage"
|
|
authelia-scripts unittest
|
|
|
|
# Build the docker image
|
|
echo "===> Docker image build stage"
|
|
authelia-scripts docker build
|
|
|
|
# Run integration tests
|
|
echo "===> e2e stage"
|
|
authelia-scripts suites test --headless --forbid-only
|
|
|
|
# Test npm deployment before actual deployment
|
|
# ./scripts/npm-deployment-test.sh
|