No description
Find a file
Daniel 2e33f8f014 make-all-env-files-available (#4)
Before, a test had only access to it's own env file / configuration (wordpress could see wordpress env file). Now, all env files are available. Wordpress test can also read authentik env file, for example to get the authentik domain.

Reviewed-on: local-it-infrastructure/e2e_tests#4
Co-authored-by: Daniel <d.brummerloh@gmail.com>
Co-committed-by: Daniel <d.brummerloh@gmail.com>
2023-11-30 10:53:20 +01:00
envfiles@a8375f6fc7 [WIP] Add new automated test framework (#1) 2023-11-22 21:40:13 +01:00
previous-work rework-output-and-test-logic (#3) 2023-11-29 14:14:46 +01:00
src make-all-env-files-available (#4) 2023-11-30 10:53:20 +01:00
.gitignore authentik setup and tracing (#2) 2023-11-27 17:01:45 +01:00
.gitmodules [WIP] Add new automated test framework (#1) 2023-11-22 21:40:13 +01:00
docker-compose.yml [WIP] Add new automated test framework (#1) 2023-11-22 21:40:13 +01:00
Dockerfile rework-output-and-test-logic (#3) 2023-11-29 14:14:46 +01:00
main.py rework-output-and-test-logic (#3) 2023-11-29 14:14:46 +01:00
pyproject.toml authentik setup and tracing (#2) 2023-11-27 17:01:45 +01:00
README.md rework-output-and-test-logic (#3) 2023-11-29 14:14:46 +01:00
requirements.txt rework-output-and-test-logic (#3) 2023-11-29 14:14:46 +01:00

Clone

To clone with submodules, use these git commands:

git clone --recurse-submodules <repository>
git submodule update --init    // add submodule after normal cloning
git submodule update --remote  // update submodules

Run

docker compose build
docker compose run --rm app python ./main.py
docker compose run --rm app pytest
# docker-compose up

Force rebuild with cache

docker-compose up --build

Force rebuild wtihtout cache

docker-compose build --no-cache