authelia/cmd
Amir Zarrinkafsh 74721a9f41
feat: go:embed static assets (#1733)
* feat: go:embed static assets

Go 1.16 introduced the ability to embed files within a generated binary directly with the go tool chain. This simplifies our dependencies and the significantly improves the development workflow for future developers.

Key points to note:

Due to the inability to embed files that do not reside within the local package we need to duplicate our `config.template.yml` within `internal/configuration`.

To avoid issues with the development workflow empty mock files have been included within `internal/server/public_html`. These are substituted with the respective generated files during the CI/CD and build workflows.

* fix(suites): increase ldap suite test timeout

* fix(server): fix swagger asset CSP
2021-02-22 10:07:06 +11:00
..
authelia [MISC] Add missing CLI suite test (#1607) 2021-01-17 10:23:35 +11:00
authelia-scripts feat: go:embed static assets (#1733) 2021-02-22 10:07:06 +11:00
authelia-suites [CI] Add PathPrefix integration test suite (#1052) 2020-05-27 13:55:44 +02:00