doctl icon indicating copy to clipboard operation
doctl copied to clipboard

Incorrect Release Files - Breaking action-doctl@v2

Open codebykenny opened this issue 2 months ago • 7 comments

The latest release of doctl all have beta in the target release files.

This is making digitalocean/action-doctl@v2 error out with a 404 because it cannot find the corresponding release files

Image Image

@kishlay-singh-DO probably related to ae3b58a8aadaf4ed7a924fdf10e45502d18b3a6e or 85ea83f856390c565d15b19547355f77f44fc636

codebykenny avatar Oct 13 '25 14:10 codebykenny

same issue

zxselimcan avatar Oct 13 '25 14:10 zxselimcan

Hi, Could you please try rerunning the release? We are working on the release process. Thank you for your patience

SSharma-10 avatar Oct 13 '25 14:10 SSharma-10

Hi, Could you please try rerunning the release? We are working on the release process. Thank you for your patience

working now. thx <3

zxselimcan avatar Oct 13 '25 14:10 zxselimcan

@codebykenny @zxselimcan Sorry for the repeating issues! We are trying to improve on the release process to make it more robust.We've removed the latest release so re-running the pipeline should fix the issue. QQ: are you seeing 2 runs for your action-doctl workflows? one for beta and the other for the main? Ideally it shouldn't happen. For my setup I see it getting triggered only once and so it works perfectly for me. If possible could you share your implementation of action-doctl so that we ensure that irritating issues like this don't happen again.

kishlay-singh-DO avatar Oct 13 '25 14:10 kishlay-singh-DO

@kishlay-singh-DO it's working correctly now thank you, we only see one run, none for beta.

Our configuration of the workflow is very simple:

- name: Install doctl
  uses: digitalocean/action-doctl@v2
  with:
    token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}

codebykenny avatar Oct 13 '25 14:10 codebykenny

I do want to note that digitalocean/action-doctl@v2 has a retry system that attempts to install prior versions of doctl in case something like this happens.

But this retry system is not working as expected. When it tries to download prior versions it still receives a 404.

Something peculiar if you see the initial screenshot I posted, the retries have a double vv in the versioning for example vv1.145.0, I'm not sure if thats related to the 404s

codebykenny avatar Oct 13 '25 15:10 codebykenny

@codebykenny thanks for the prompt reply. For the vv that is mostly a logging issue the major problem is with beta releases. I'll update https://github.com/digitalocean/action-doctl/pull/99 to fix it completely.

kishlay-singh-DO avatar Oct 13 '25 15:10 kishlay-singh-DO