saltstack-formulas / docker-formula

Install and set up Docker
http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
136 stars 330 forks source link

[BUG] Unable to install docker compose after upstream removed .SHA256 checksums in newest version #319

Closed stratusjerry closed 2 years ago

stratusjerry commented 2 years ago

Your setup

Formula commit hash / release tag

latest


Bug details

Describe the bug

After docker compose removed .sha256 checksum files https://github.com/docker/compose/pull/9750 this formula fails to run with error


      ID: docker-compose-software-binary-install
Function: file.managed
    Name: /usr/local/docker-compose-latest/bin//docker-compose
  Result: False
 Comment: Attempt 1: Returned a result of "False", with the following comment: "Unable to manage file: Error: HTTP 404: Not Found reading /docker/compose/releases/latest/download/docker-compose-Linux-x86_64.sha256"
          Attempt 2: Returned a result of "False", with the following comment: "Unable to manage file: Error: HTTP 404: Not Found reading /docker/compose/releases/latest/download/docker-compose-Linux-x86_64.sha256"
          Unable to manage file: Error: HTTP 404: Not Found reading /docker/compose/releases/latest/download/docker-compose-Linux-x86_64.sha256
 Started: 19:30:58.429762
Duration: 133873.86800000002 ms
 Changes:

      ID: docker-compose-software-binary-install-symlink-docker-compose
Function: file.symlink
    Name: /usr/local/bin/docker-compose
  Result: False
 Comment: One or more requisite failed: docker.compose.software.binary.install.docker-compose-software-binary-install
 Started: 19:33:12.326101
Duration: 0.004 ms
 Changes:

Steps to reproduce the bug

Run this formula

stratusjerry commented 2 years ago

Nevermind, fixed in subsequent PR https://github.com/docker/compose/pull/9786