Closed tbouffard closed 1 week ago
✔️ Testing the fix including in the master branch of the action with #772:
Download action repository 'adrianjost/actions-surge.sh-teardown@master' (SHA:72e5983380bce47a7bafd574bd74e055c0637686)
Run 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
On 2024-08-21 09:43 GMT
before running the workflow deleting the old sites:
On 2024-08-22 10:52 GMT
after running the workflow deleting the old sites:
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 valueA 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:
⚠️ The log format has changed, previously a timestamp was provided in the first column, so the parsing is no longer accurate 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: https://github.com/adrianjost/actions-surge.sh-teardown/issues/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