authelia/cmd/authelia-scripts
Clément Michaud ce7b6b8167
Build docker image upfront in CI and use it in integration tests. (#555)
* Build docker image upfront in CI and use it in integration tests.

Previously, the development workflow was broken because the container
generated from Dockerfile.CI was used in dev environments but the binary
was not pre-built as it is on buildkite. I propose to just remove that
image and use the "to be published" image instead in integration tests.

This will have several advantages:
- Fix the dev workflow.
- Remove CI arch from authelia-scripts build command
- Optimize CI time in buildkite since we'll cache a way small artifact
- We don't build authelia more than once for earch arch.

* Fix suites and only build ARM images on master or tagged commits

* Optimise pipeline dependencies and Kubernetes suite to utilise cache

* Run unit tests and docker image build in parallel.

* Fix suite trying to write on read only fs.

Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2020-01-17 20:46:51 +01:00
..
authelia-scripts Provide commands to migrate database from v3 to v4. 2019-11-17 16:30:33 +01:00
cmd_bootstrap.go Create a suite for HAProxy 2020-01-10 11:41:01 +01:00
cmd_build.go Utilise Buildkite for Authelia CI/CD (#507) 2019-12-27 22:07:53 +11:00
cmd_ci.go Rename org from clems4ever to authelia 2019-12-24 13:14:52 +11:00
cmd_clean.go Declare suites as Go structs and bootstrap e2e test framework in Go. 2019-11-15 20:23:06 +01:00
cmd_docker.go Build docker image upfront in CI and use it in integration tests. (#555) 2020-01-17 20:46:51 +01:00
cmd_hash_password.go Rename org from clems4ever to authelia 2019-12-24 13:14:52 +11:00
cmd_serve.go Rename org from clems4ever to authelia 2019-12-24 13:14:52 +11:00
cmd_suites.go Rename org from clems4ever to authelia 2019-12-24 13:14:52 +11:00
cmd_unittest.go Utilise Buildkite for Authelia CI/CD (#507) 2019-12-27 22:07:53 +11:00
constants.go Rename org from clems4ever to authelia 2019-12-24 13:14:52 +11:00
docker.go Remove Travis and promote Buildkite (#545) 2020-01-16 21:57:44 +01:00
main.go Rename org from clems4ever to authelia 2019-12-24 13:14:52 +11:00
migration.go Rename org from clems4ever to authelia 2019-12-24 13:14:52 +11:00
migration_local.go Revert migration script to ensure data is migrated 2020-01-10 11:33:18 +01:00
migration_mongo.go Revert migration script to ensure data is migrated 2020-01-10 11:33:18 +01:00