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

docker: port is an integer #7902

Merged
merged 1 commit into from
Jul 2, 2024
Merged

Conversation

woshilapin
Copy link
Contributor

Since docker-compose.host.yml is used to override values of docker-compose.yml, and EDITOAST_PORT is defined as an integer in the latter, tools like podman will refuse to merge the 2 files since the value of EDITOAST_PORT is a different type.

ValueError: can't merge value of EDITOAST_PORT of type <class 'int'> and <class 'str'>

Since `docker-compose.host.yml` is used to override values of
`docker-compose.yml`, and `EDITOAST_PORT` is defined as an integer
in the latter, tools like `podman` will refuse to merge the 2 files
since the value of `EDITOAST_PORT` is a different type.

```
ValueError: can't merge value of EDITOAST_PORT of type <class 'int'> and <class 'str'>
```
@woshilapin woshilapin requested a review from Khoyo July 1, 2024 13:24
@codecov-commenter
Copy link

codecov-commenter commented Jul 1, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 28.53%. Comparing base (7116d4f) to head (74a70fd).
Report is 175 commits behind head on dev.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff              @@
##                dev    #7902      +/-   ##
============================================
+ Coverage     28.47%   28.53%   +0.06%     
- Complexity     2028     2059      +31     
============================================
  Files          1242     1249       +7     
  Lines        153143   154182    +1039     
  Branches       3004     3036      +32     
============================================
+ Hits          43611    44000     +389     
- Misses       107744   108372     +628     
- Partials       1788     1810      +22     
Flag Coverage Δ
core 74.95% <ø> (-0.05%) ⬇️
editoast 71.65% <ø> (-0.30%) ⬇️
front 10.00% <ø> (+0.15%) ⬆️
gateway 2.34% <ø> (-0.07%) ⬇️
railjson_generator 87.49% <ø> (ø)
tests 72.93% <ø> (+0.38%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@woshilapin woshilapin added this pull request to the merge queue Jul 2, 2024
Merged via the queue into dev with commit dd067f8 Jul 2, 2024
17 checks passed
@woshilapin woshilapin deleted the wsl/chore/docker/fix-port-overriding branch July 2, 2024 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants