@@ -42,13 +42,13 @@ cargo install imdl || exit 1
4242# Install app (no docker) that will run the test suite against the E2E testing
4343# environment (in docker).
4444cp .env.local .env || exit 1
45- ./bin/ install.sh || exit 1
45+ ./contrib/dev-tools/init/ install-local .sh || exit 1
4646
4747# TEST USING SQLITE
4848echo " Running E2E tests using SQLite ..."
4949
5050# Start E2E testing environment
51- ./docker/bin /e2e/sqlite/e2e-env-up.sh || exit 1
51+ ./contrib/dev-tools/container /e2e/sqlite/e2e-env-up.sh || exit 1
5252
5353wait_for_container_to_be_healthy torrust-mysql-1 10 3
5454# todo: implement healthchecks for tracker and index and wait until they are healthy
@@ -60,16 +60,16 @@ sleep 20s
6060docker ps
6161
6262# Run E2E tests with shared app instance
63- TORRUST_IDX_BACK_E2E_SHARED=true TORRUST_IDX_BACK_E2E_CONFIG_PATH=" ./config-idx-back.sqlite.local .toml" cargo test || exit 1
63+ TORRUST_IDX_BACK_E2E_SHARED=true TORRUST_IDX_BACK_E2E_CONFIG_PATH=" ./share/default/ config/index.container.sqlite3 .toml" cargo test || exit 1
6464
6565# Stop E2E testing environment
66- docker compose down
66+ ./contrib/dev-tools/container/e2e/sqlite/e2e-env-down.sh || exit 1
6767
6868# TEST USING MYSQL
6969echo " Running E2E tests using MySQL ..."
7070
7171# Start E2E testing environment
72- ./docker/bin /e2e/mysql/e2e-env-up.sh || exit 1
72+ ./contrib/dev-tools/container /e2e/mysql/e2e-env-up.sh || exit 1
7373
7474wait_for_container_to_be_healthy torrust-mysql-1 10 3
7575# todo: implement healthchecks for tracker and index and wait until they are healthy
@@ -91,7 +91,8 @@ echo "Creating MySQL database $MYSQL_DATABASE for for E2E testing ..."
9191mysql -h $MYSQL_HOST -u $MYSQL_USER -p$MYSQL_PASSWORD -e " CREATE DATABASE IF NOT EXISTS $MYSQL_DATABASE ;"
9292
9393# Run E2E tests with shared app instance
94- TORRUST_IDX_BACK_E2E_SHARED=true TORRUST_IDX_BACK_E2E_CONFIG_PATH=" ./config-idx-back.mysql.local .toml" cargo test || exit 1
94+ TORRUST_IDX_BACK_E2E_SHARED=true TORRUST_IDX_BACK_E2E_CONFIG_PATH=" ./share/default/ config/index.container.mysql .toml" cargo test || exit 1
9595
9696# Stop E2E testing environment
97- docker compose down
97+ ./contrib/dev-tools/container/e2e/mysql/e2e-env-down.sh || exit 1
98+
0 commit comments