-
Notifications
You must be signed in to change notification settings - Fork 5
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
The "teardown inactive preview sites" workflow hangs and fails #771
Comments
✔️ Testing the fix including in the master branch of the action with #772:
DetailsRun adrianjost/actions-surge.sh-teardown@master DryRun: false search for projects that match /[1-9]+ month.? ago/i found 32 projects for teardown teardown bonitasoft-bonita-doc-deploy-pr-2790.surge.sh (last updated 1 month ago) teardown bonitasoft-bonita-doc-deploy-pr-2789.surge.sh (last updated 1 month ago) teardown bonitasoft-bonita-doc-deploy-pr-2787.surge.sh (last updated 1 month ago) teardown bonitasoft-bonita-doc-deploy-pr-2785.surge.sh (last updated 1 month ago) teardown bonitasoft-bonita-doc-deploy-pr-2786.surge.sh (last updated 1 month ago) teardown bonitasoft-bonita-doc-deploy-pr-2784.surge.sh (last updated 1 month ago) teardown bonitasoft-bonita-doc-deploy-pr-2783.surge.sh (last updated 1 month ago) teardown bonitasoft-bonita-doc-deploy-pr-2782.surge.sh (last updated 1 month ago) teardown bonitasoft-bonita-documentation-site-deploy-pr-748.surge.sh (last updated 1 month ago) teardown bonitasoft-bonita-documentation-site-test-pr-748.surge.sh (last updated 1 month ago) teardown bonitasoft-bonita-doc-deploy-pr-2781.surge.sh (last updated 1 month ago) teardown bonitasoft-bonita-rest-documentation-site-deploypreview-pr-29.surge.sh (last updated 1 month ago) teardown bonitasoft-bonita-doc-deploy-pr-2780.surge.sh (last updated 1 month ago) teardown bonitasoft-bonita-doc-deploy-pr-2779.surge.sh (last updated 1 month ago) teardown bonitasoft-bonita-doc-deploy-pr-2773.surge.sh (last updated 1 month ago) teardown bonitasoft-bonita-doc-deploy-pr-2774.surge.sh (last updated 1 month ago) teardown bonitasoft-bonita-doc-deploy-pr-2778.surge.sh (last updated 1 month ago) teardown bonitasoft-bonita-doc-deploy-pr-2777.surge.sh (last updated 1 month ago) teardown bonitasoft-bonita-doc-deploy-pr-2776.surge.sh (last updated 1 month ago) teardown bonitasoft-bonita-doc-deploy-pr-2775.surge.sh (last updated 1 month ago) teardown bonitasoft-bonita-openapi-deploypreview-pr-182.surge.sh (last updated 1 month ago) teardown bonitasoft-bonita-documentation-site-deploy-pr-746.surge.sh (last updated 1 month ago) teardown bonitasoft-bonita-documentation-site-test-pr-746.surge.sh (last updated 1 month ago) teardown bonitasoft-bonita-documentation-site-deploy-pr-745.surge.sh (last updated 1 month ago) teardown bonitasoft-bonita-documentation-site-test-pr-745.surge.sh (last updated 1 month ago) teardown bonitasoft-bonita-documentation-site-deploy-pr-747.surge.sh (last updated 1 month ago) teardown bonitasoft-bonita-documentation-site-test-pr-747.surge.sh (last updated 1 month ago) teardown bonitasoft-bonita-doc-deploy-pr-2766.surge.sh (last updated 1 month ago) teardown bonitasoft-bonita-doc-deploy-pr-2772.surge.sh (last updated 1 month ago) teardown bonitasoft-bonita-doc-deploy-pr-2752.surge.sh (last updated 1 month ago) teardown bonitasoft-bonita-doc-deploy-pr-2771.surge.sh (last updated 1 month ago) teardown bonitasoft-bonita-doc-deploy-pr-2770.surge.sh (last updated 1 month ago) removed bonitasoft-bonita-doc-deploy-pr-2785.surge.sh removed bonitasoft-bonita-doc-deploy-pr-2787.surge.sh removed bonitasoft-bonita-doc-deploy-pr-2790.surge.sh removed bonitasoft-bonita-doc-deploy-pr-2782.surge.sh removed bonitasoft-bonita-doc-deploy-pr-2781.surge.sh removed bonitasoft-bonita-doc-deploy-pr-2786.surge.sh removed bonitasoft-bonita-doc-deploy-pr-2789.surge.sh removed bonitasoft-bonita-doc-deploy-pr-2783.surge.sh removed bonitasoft-bonita-doc-deploy-pr-2772.surge.sh removed bonitasoft-bonita-doc-deploy-pr-2784.surge.sh removed bonitasoft-bonita-rest-documentation-site-deploypreview-pr-29.surge.sh removed bonitasoft-bonita-doc-deploy-pr-2777.surge.sh removed bonitasoft-bonita-doc-deploy-pr-2780.surge.sh removed bonitasoft-bonita-documentation-site-deploy-pr-747.surge.sh removed bonitasoft-bonita-doc-deploy-pr-2766.surge.sh removed bonitasoft-bonita-doc-deploy-pr-2778.surge.sh removed bonitasoft-bonita-doc-deploy-pr-2774.surge.sh removed bonitasoft-bonita-doc-deploy-pr-2775.surge.sh removed bonitasoft-bonita-documentation-site-test-pr-745.surge.sh removed bonitasoft-bonita-openapi-deploypreview-pr-182.surge.sh removed bonitasoft-bonita-documentation-site-deploy-pr-748.surge.sh removed bonitasoft-bonita-documentation-site-test-pr-746.surge.sh removed bonitasoft-bonita-doc-deploy-pr-2773.surge.sh removed bonitasoft-bonita-doc-deploy-pr-2779.surge.sh removed bonitasoft-bonita-doc-deploy-pr-2776.surge.sh removed bonitasoft-bonita-documentation-site-deploy-pr-746.surge.sh removed bonitasoft-bonita-documentation-site-deploy-pr-745.surge.sh removed bonitasoft-bonita-doc-deploy-pr-2771.surge.sh removed bonitasoft-bonita-documentation-site-test-pr-747.surge.sh removed bonitasoft-bonita-doc-deploy-pr-2770.surge.sh removed bonitasoft-bonita-documentation-site-test-pr-748.surge.sh removed bonitasoft-bonita-doc-deploy-pr-2752.surge.sh List of deploymentsOn
On
|
benjaminParisel
pushed a commit
that referenced
this issue
Sep 4, 2024
Ensure the step doesn't take too much time. A slack message is sent in case of timeout. ### Notes Covers #771 ### Resources GitHub docs: https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#jobsjob_idstepstimeout-minutes
github-project-automation
bot
moved this from In Review
to Done
in Bonita documentation site - work in progress
Sep 4, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On 2024-08-17, the workflow starts to fail https://github.com/bonitasoft/bonita-documentation-site/actions/runs/10429020306/job/28885915680. The problem seems to be in the
adrianjost/actions-surge.sh-teardown@v1.0.3
action.I also see the same problem in another organization with the exact same error: https://github.com/process-analytics/surge.sh-pa-admin/actions/runs/10384452599/job/28751498615
This is particularly a pain because we run this workflow on scheduled and the error is quite hidden. #768 will help.
Possible quick fix
We may need to quickly consider #756 if we don't find a solution to fix the problem. This would limit the accumulation of out-dated deployments that are no longer used.
Possible cause of the problems
adrianjost/actions-surge.sh-teardown
direcly uses the surge cli to list the existing deployments and parse the standard output to detect the name of the old deployments.Then, it calls the surge teardown CLI command but apparently it passes a wrong value
A new version of surge (0.24) was released last week. See https://www.npmjs.com/package/surge?activeTab=versions
Here are the log when running surge list with version 0.24:
Here are the log when running surge list with version 0.23. They are taken from https://github.com/process-analytics/surge.sh-pa-admin/actions/runs/9744564227/job/26890460157. This repository currently enforces the usage of version 0.23. For more details, see https://github.com/process-analytics/surge.sh-pa-admin
Actions to follow
actions-surge.sh-teardown
action: The action no longer works after the release of surge 0.24 adrianjost/actions-surge.sh-teardown#2090Additional information about the new version of surge
Note: this information doesn't relate to this bug.
Version 0.24 improves the logs of the deployment.
Logs with version 0.23
Logs with version 0.24
The text was updated successfully, but these errors were encountered: