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

Deployment action hangs forever #206

Open
sneko opened this issue Feb 28, 2024 · 3 comments
Open

Deployment action hangs forever #206

sneko opened this issue Feb 28, 2024 · 3 comments

Comments

@sneko
Copy link

sneko commented Feb 28, 2024

Hi,

For whatever reason, randomly the step of deploying can hangs forever whereas the deployment is effective on Clever Cloud. Does anyone has encountered this issue?

I'm using:

      - name: Deploy to Clever Cloud
        uses: 47ng/[email protected]
        with:
          appID: ${{ env.CLEVER_APP_ID }}
          force: true
          quiet: true # disable copying into GitHub Actions all logs from Clever Cloud
        env:
          CLEVER_TOKEN: ${{ secrets.CLEVER_TOKEN }}
          CLEVER_SECRET: ${{ secrets.CLEVER_SECRET }}

I have to cancel my run after X hours to free my pipeline. Note in a normal situation it takes around 5 minutes to deploy.

image

A solution to mitigate freezing the pipeline would be to add something like timeout-minutes: 15 to the step so it warns us to check the deployment has worked or not.

Thank you,

@franky47
Copy link
Member

There is a timeout option, although I've been seeing successful deployments failing to mark the step as complete and keeping running until that timeout occurs, I'll have to investigate.

@JorickPepin
Copy link

JorickPepin commented Mar 29, 2024

Any news on this issue? The timeout option doesn't seem to be taken into account either. Thanks

I realised that the CI worked on one of my projects but not on the other, even though they are similar. The only difference was that I was using actions/checkout@v4 on the one that wasn't working and actions/checkout@v3 on the one that was. I switched back to v3 on the first one and it's working again.

@franky47
Copy link
Member

franky47 commented Apr 9, 2024

I have published v2.0.0 with the latest clever-tools, which could help with this issue. Could you give it a try please?

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

No branches or pull requests

3 participants