-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
f35a067 fix: [#342] reestablish E2E Tests (Jose Celano) Pull request description: Reestablish E2E Tests. ACKs for top commit: josecelano: ACK f35a067 Tree-SHA512: e7554977dce0928c633be89ad48566566fe5f9cd43d28985eb43ee9400a79d98c0f332a5fa68080db88fc32aa321708104f46619ddd8c4796bb687bddea09c63
- Loading branch information
Showing
14 changed files
with
90 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
|
||
TORRUST_INDEX_CONFIG=$(cat ./share/default/config/index.container.mysql.toml) \ | ||
TORRUST_TRACKER_CONFIG=$(cat ./share/default/config/tracker.container.mysql.toml) \ | ||
docker compose down | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
|
||
docker compose down | ||
./docker/bin/e2e/mysql/e2e-env-up.sh | ||
./contrib/dev-tools/container/e2e/mysql/e2e-env-downp.sh | ||
./contrib/dev-tools/container/e2e/mysql/e2e-env-up.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
#!/bin/bash | ||
|
||
TORRUST_IDX_BACK_USER_UID=${TORRUST_IDX_BACK_USER_UID:-1000} \ | ||
TORRUST_INDEX_CONFIG=$(cat ./share/default/config/index.container.mysql.toml) \ | ||
docker compose build | ||
|
||
TORRUST_IDX_BACK_USER_UID=${TORRUST_IDX_BACK_USER_UID:-1000} \ | ||
TORRUST_IDX_BACK_CONFIG=$(cat config-idx-back.mysql.local.toml) \ | ||
USER_ID=${USER_ID:-1000} \ | ||
# Index | ||
TORRUST_INDEX_CONFIG=$(cat ./share/default/config/index.container.mysql.toml) \ | ||
TORRUST_INDEX_DATABASE_DRIVER="mysql" \ | ||
TORRUST_INDEX_TRACKER_API_TOKEN="MyAccessToken" \ | ||
TORRUST_IDX_BACK_MYSQL_DATABASE="torrust_index_e2e_testing" \ | ||
TORRUST_TRACKER_CONFIG=$(cat config-tracker.local.toml) \ | ||
TORRUST_TRACKER_DATABASE_DRIVER=${TORRUST_TRACKER_DATABASE_DRIVER:-mysql} \ | ||
TORRUST_TRACKER_API_ADMIN_TOKEN=${TORRUST_TRACKER_API_ADMIN_TOKEN:-MyAccessToken} \ | ||
# Tracker | ||
TORRUST_TRACKER_CONFIG=$(cat ./share/default/config/tracker.container.mysql.toml) \ | ||
TORRUST_TRACKER_DATABASE_DRIVER="mysql" \ | ||
TORRUST_TRACKER_API_ADMIN_TOKEN="MyAccessToken" \ | ||
docker compose up -d | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
|
||
TORRUST_INDEX_CONFIG=$(cat ./share/default/config/index.container.sqlite3.toml) \ | ||
TORRUST_TRACKER_CONFIG=$(cat ./share/default/config/tracker.container.sqlite3.toml) \ | ||
docker compose down |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
|
||
docker compose down | ||
./docker/bin/e2e/sqlite/e2e-env-up.sh | ||
./contrib/dev-tools/container/e2e/sqlite/e2e-env-down.sh | ||
./contrib/dev-tools/container/e2e/sqlite/e2e-env-up.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
#!/bin/bash | ||
|
||
TORRUST_IDX_BACK_USER_UID=${TORRUST_IDX_BACK_USER_UID:-1000} \ | ||
TORRUST_INDEX_CONFIG=$(cat ./share/default/config/index.container.sqlite3.toml) \ | ||
docker compose build | ||
|
||
TORRUST_IDX_BACK_USER_UID=${TORRUST_IDX_BACK_USER_UID:-1000} \ | ||
TORRUST_IDX_BACK_CONFIG=$(cat config-idx-back.sqlite.local.toml) \ | ||
TORRUST_IDX_BACK_MYSQL_DATABASE="torrust_index_e2e_testing" \ | ||
TORRUST_TRACKER_CONFIG=$(cat config-tracker.local.toml) \ | ||
TORRUST_TRACKER_DATABASE_DRIVER=${TORRUST_TRACKER_DATABASE_DRIVER:-sqlite3} \ | ||
TORRUST_TRACKER_API_ADMIN_TOKEN=${TORRUST_TRACKER_API_ADMIN_TOKEN:-MyAccessToken} \ | ||
USER_ID=${USER_ID:-1000} \ | ||
# Index | ||
TORRUST_INDEX_CONFIG=$(cat ./share/default/config/index.container.sqlite3.toml) \ | ||
TORRUST_INDEX_DATABASE_DRIVER="sqlite3" \ | ||
TORRUST_INDEX_TRACKER_API_TOKEN="MyAccessToken" \ | ||
# Tracker | ||
TORRUST_TRACKER_CONFIG=$(cat ./share/default/config/tracker.container.sqlite3.toml) \ | ||
TORRUST_TRACKER_DATABASE_DRIVER="sqlite3" \ | ||
TORRUST_TRACKER_API_ADMIN_TOKEN="MyAccessToken" \ | ||
docker compose up -d | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
|
||
./docker/bin/build.sh | ||
./bin/install.sh | ||
./contrib/dev-tools/container/e2e/bin/build.sh | ||
./contrib/dev-tools/init/install-local.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters