compose icon indicating copy to clipboard operation
compose copied to clipboard

ci: switch to ghaction-setup-docker action

Open crazy-max opened this issue 1 year ago • 1 comments

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 avatar Feb 27 '24 10:02 crazy-max

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.

crazy-max avatar Feb 27 '24 10:02 crazy-max