StephanThierry/ftp-delete-action

Repository down

JaviRpo opened this issue · 5 comments

At this moment the alpine repository is down and I'm having an error when using the action

Build container for action use: '/home/runner/work/_actions/StephanThierry/ftp-delete-action/v1/Dockerfile'.
  /usr/bin/docker build -t 7db[2](https://github.com/syna-proactive/syna/runs/5193340131?check_suite_focus=true#step:2:2)d7:4117264019964f7bbf46e8d7a6aeba92 -f "/home/runner/work/_actions/StephanThierry/ftp-delete-action/v1/Dockerfile" "/home/runner/work/_actions/StephanThierry/ftp-delete-action/v1"
  Sending build context to Docker daemon  9.216kB
  
  Step 1/4 : FROM alpine:[3](https://github.com/syna-proactive/syna/runs/5193340131?check_suite_focus=true#step:2:3).12
   ---> b0925e081921
  Step 2/[4](https://github.com/syna-proactive/syna/runs/5193340131?check_suite_focus=true#step:2:4) : RUN apk --no-cache add lftp
   ---> Running in [5](https://github.com/syna-proactive/syna/runs/5193340131?check_suite_focus=true#step:2:5)e3f2d02747d
  fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x8[6](https://github.com/syna-proactive/syna/runs/5193340131?check_suite_focus=true#step:2:6)_64/APKINDEX.tar.gz
  WARNING: Ignoring http://dl-cdn.alpinelinux.org/alpine/v3.12/main: temporary error (try again later)
  fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz
  WARNING: Ignoring http://dl-cdn.alpinelinux.org/alpine/v3.12/community: temporary error (try again later)
  ERROR: unable to select packages:
    lftp (no such package):
      required by: world[lftp]
  The command '/bin/sh -c apk --no-cache add lftp' returned a non-zero code: 1
  Warning: Docker build failed with exit code 1, back off 5.889 seconds before retry.
  /usr/bin/docker build -t [7](https://github.com/syna-proactive/syna/runs/5193340131?check_suite_focus=true#step:2:7)db2d7:4117264019964f7bbf46e[8](https://github.com/syna-proactive/syna/runs/5193340131?check_suite_focus=true#step:2:8)d7a6aeba[9](https://github.com/syna-proactive/syna/runs/5193340131?check_suite_focus=true#step:2:9)2 -f "/home/runner/work/_actions/StephanThierry/ftp-delete-action/v1/Dockerfile" "/home/runner/work/_actions/StephanThierry/ftp-delete-action/v1"
  Sending build context to Docker daemon  9.2[16](https://github.com/syna-proactive/syna/runs/5193340131?check_suite_focus=true#step:2:16)kB

This is a possible solution you can add to the action
gliderlabs/docker-alpine#155 (comment)

I've added the fix to the release v2.1-beta, let me know if if works for you

Fix tested and included in v2.1
uses: StephanThierry/ftp-delete-action@/v2.1

this is not an easy thing to test, this error happened when the repo http://dl-cdn.alpinelinux.org was down.
And currently, it's up.

No for sure. I just implemented the fix and tested that it does not fail in the normal case. That is the best (only) test that can be done at the moment.

I "belive" it's fixed. /close