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

ci: switch to ghaction-setup-docker action #11550

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

crazy-max
Copy link
Member

@crazy-max crazy-max commented Feb 27, 2024

What I did

Use https://github.com/crazy-max/ghaction-setup-docker to setup docker.

output example: https://github.com/docker/compose/actions/runs/8063420687/job/22025179631?pr=11550#step:3:5

image

cc @jhrotko

Related issue

(not mandatory) A picture of a cute animal, if possible in relation to what you did

@crazy-max crazy-max marked this pull request as draft February 27, 2024 10:55
@crazy-max
Copy link
Member Author

ci doesn't look happy: https://github.com/docker/compose/actions/runs/8063420687/job/22025181022?pr=11550#step:10:2441

=== RUN   TestNetworkLinks/curl_links_in_default_bridge_network
    networks_test.go:100: Running command: /home/runner/work/compose/compose/bin/build/docker-compose -f ./fixtures/network-links/compose.yaml --project-name network_link_e2e exec -T container2 curl http://container1/
    networks_test.go:100: assertion failed: 
        Command:  /home/runner/work/compose/compose/bin/build/docker-compose -f ./fixtures/network-links/compose.yaml --project-name network_link_e2e exec -T container2 curl http://container1/
        ExitCode: 7
        Error:    exit status 7
        Stdout:   
        Stderr:   warning: GOCOVERDIR not set, no coverage data emitted
          % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                         Dload  Upload   Total   Spent    Left  Speed
        
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
        curl: (7) Failed to connect to container1 port 80 after 0 ms: Couldn't connect to server
        
        
        Failures:
        ExitCode was 7 expected 0
        Expected no error
=== RUN   TestNetworkLinks/down
    networks_test.go:106: Running command: /home/runner/work/compose/compose/bin/build/docker-compose --project-name network_link_e2e down
=== NAME  TestNetworkLinks
    framework.go:130: Contents of config dir:
    framework.go:132:   - /tmp/TestNetworkLinks170597497/001
    framework.go:132:   - /tmp/TestNetworkLinks170597497/001/cli-plugins
    framework.go:132:   - /tmp/TestNetworkLinks170597497/001/cli-plugins/docker-compose
    framework.go:132:   - /tmp/TestNetworkLinks170597497/001/cli-plugins/docker-scan
    framework.go:132:   - /tmp/TestNetworkLinks170597497/001/contexts
    framework.go:132:   - /tmp/TestNetworkLinks170597497/001/contexts/meta
    framework.go:132:   - /tmp/TestNetworkLinks170597497/001/contexts/meta/f1af8726530b202f9d6c5d9da63fe61e47e1907ed435ab65c08a19758f1157ed
    framework.go:132:   - /tmp/TestNetworkLinks170597497/001/contexts/meta/f1af8726530b202f9d6c5d9da63fe61e47e1907ed435ab65c08a19758f1157ed/meta.json
--- FAIL: TestNetworkLinks (1.18s)
    --- PASS: TestNetworkLinks/up (0.52s)
    --- FAIL: TestNetworkLinks/curl_links_in_default_bridge_network (0.08s)
    --- PASS: TestNetworkLinks/down (0.41s)

Putting back in draft while investigating.

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
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.

None yet

1 participant