Skip to content

Commit

Permalink
ci: drop docker compose v1
Browse files Browse the repository at this point in the history
[7438] Failed to execute script docker-compose
ERROR: for tests_metad1_1  'ContainerConfig'
ERROR: for tests_metad2_1  'ContainerConfig'
ERROR: for tests_metad0_1  'ContainerConfig'
ERROR: for metad1  'ContainerConfig'
ERROR: for metad2  'ContainerConfig'
ERROR: for metad0  'ContainerConfig'
Traceback (most recent call last):
  File "docker-compose", line 3, in <module>
  File "compose/cli/main.py", line 81, in main
  File "compose/cli/main.py", line 203, in perform_command
  File "compose/metrics/decorator.py", line 18, in wrapper
  File "compose/cli/main.py", line 1186, in up
  File "compose/cli/main.py", line 1182, in up
  File "compose/project.py", line 702, in up
  File "compose/parallel.py", line 108, in parallel_execute
  File "compose/parallel.py", line 206, in producer
  File "compose/project.py", line 688, in do
  File "compose/service.py", line 581, in execute_convergence_plan
  File "compose/service.py", line 503, in _execute_convergence_recreate
  File "compose/parallel.py", line 108, in parallel_execute
  File "compose/parallel.py", line 206, in producer
  File "compose/service.py", line 496, in recreate
  File "compose/service.py", line 615, in recreate_container
  File "compose/service.py", line 334, in create_container
  File "compose/service.py", line 922, in _get_container_create_options
  File "compose/service.py", line 962, in _build_container_volume_options
  File "compose/service.py", line 1549, in merge_volume_bindings
  File "compose/service.py", line 1579, in get_container_data_volumes
KeyError: 'ContainerConfig'
  • Loading branch information
wey-gu committed Jul 16, 2024
1 parent 50280c6 commit ecbb69c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
ci:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v3
Expand All @@ -19,12 +19,12 @@ jobs:
run: pdm install
- name: Test with pytest
run: |
docker-compose -f tests/docker-compose.yaml up -d
docker compose -f tests/docker-compose.yaml up -d
sleep 20
pdm test
- name: Test SSL connection with pytest
run: |
enable_ssl=true docker-compose -f tests/docker-compose-ssl.yaml up -d
enable_ssl=true docker compose -f tests/docker-compose-ssl.yaml up -d
sleep 20
pdm test-ssl
Expand Down

0 comments on commit ecbb69c

Please sign in to comment.