Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix docker compose configuration with the new tracker container image #270

Merged
merged 1 commit into from
Sep 11, 2023
Merged

Fix docker compose configuration with the new tracker container image #270

merged 1 commit into from
Sep 11, 2023

Conversation

josecelano
Copy link
Member

The Torrust Tracker container image has changed.

We have to upgrade the configuration to use the latest version.

Integration tests fail for pull requests because the tracker container cannot start.

The significant changes introduced were:

  • Rename some env vars: TORRUST_TRACKER_API_TOKEN->TORRUST_TRACKER_API_ADMIN_TOKEN
  • Database folder was moved to a new location

@josecelano josecelano marked this pull request as ready for review September 7, 2023 16:09
@josecelano
Copy link
Member Author

You can see here on example of workflow failing:

https://github.com/torrust/torrust-index-backend/actions/runs/6100451779/job/16556658907?pr=269

You can see in the docker ps output that the tracker service is not running:

Container torrust-mysql-1 is healthy
CONTAINER ID   IMAGE                       COMMAND                  CREATED          STATUS                    PORTS                                                                                  NAMES
8adcaa70a0ab   torrust-idx-back            "cargo run"              34 seconds ago   Up 32 seconds             0.0.0.0:3001->3001/tcp, :::3001->3001/tcp                                              torrust-idx-back-1
fa41beb4de15   mysql:8.0                   "docker-entrypoint.s…"   34 seconds ago   Up 33 seconds (healthy)   0.0.0.0:3306->3306/tcp, :::3306->3306/tcp, 33060/tcp                                   torrust-mysql-1
4842ffb5e42a   dockage/mailcatcher:0.8.2   "entrypoint mailcatc…"   34 seconds ago   Up 33 seconds             0.0.0.0:1025->1025/tcp, :::1025->1025/tcp, 0.0.0.0:1080->1080/tcp, :::1080->1080/tcp   torrust-mailcatcher-1

docker/bin/e2e/mysql/e2e-env-reset.sh Outdated Show resolved Hide resolved
docker/bin/e2e/sqlite/e2e-env-reset.sh Outdated Show resolved Hide resolved
@codecov-commenter
Copy link

Codecov Report

Merging #270 (739a646) into develop (b3fe7f9) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #270   +/-   ##
========================================
  Coverage    44.77%   44.77%           
========================================
  Files           77       77           
  Lines         4121     4121           
========================================
  Hits          1845     1845           
  Misses        2276     2276           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

📢 Have feedback on the report? Share it here.

Copy link
Contributor

@da2ce7 da2ce7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks Good.

docker/bin/e2e/sqlite/e2e-env-reset.sh Show resolved Hide resolved
The Torrust Tracker container image has changed. Upgrade the
configuration to use the latest version.
@josecelano
Copy link
Member Author

ACk bf95d85

@josecelano josecelano merged commit 158757b into torrust:develop Sep 11, 2023
6 of 8 checks passed
josecelano added a commit that referenced this pull request Sep 11, 2023
891a744 fix: clean sqlite bash commands (Jose Celano)

Pull request description:

  I forgot some changes in the previous [PR](#270).

Top commit has no ACKs.

Tree-SHA512: 5a44e6f8979db9109650341cf510162c9a0dee786fc5baca2fa4d9f80fe8c920b4004829b4d36fc5be1b8c728c0130ec2766ba07f62e6a94eef1edb4c1badd6a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants