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

Evaluate whether it's worth having a reusable workflow to teardown the surge preview is worth it #756

Open
tbouffard opened this issue Aug 7, 2024 · 0 comments
Labels
CI ⚙️ enhancement New feature or request

Comments

@tbouffard
Copy link
Member

tbouffard commented Aug 7, 2024

Context

When we introduce reusable workflow to provide a surge preview also for PR created from fork repositories, we decided to not manage the deployment teardown at PR level (at it was possible with the former solution) to ease the maintenance.
See decision in #686 (comment)

This would require to have a dedicated workflow in each documentation content repository, triggered on pull_request_target when the PR is closed.
This is something that we know it is working: see process-analytics/github-actions-playground#351 and process-analytics/github-actions-playground#354
As for other preview operations, this could be done by providing a reusable workflow that would be called the workflow in each documentation content repository

Evaluation

After a few weeks of the usage of the new solution (no teardown), we should review if not doing teardown at PR level is a problem.
If so, implement the teardown.

Monitoring site accumulation

85 deployments on 2024-08-16 09:30 GMT+2
  bonitasoft-bonita-doc-deploy-pr-2802.surge.sh                            39 minutes ago   surge   surge.sh   Standard  
  bonitasoft-bonita-documentation-theme-build_preview-pr-233.surge.sh      2 days ago       surge   surge.sh   Standard  
  bonitasoft-bonita-process-insights-doc-deploy-pr-8.surge.sh              2 days ago       surge   surge.sh   Standard  
  bonitasoft-bonita-documentation-site-deploy-pr-759.surge.sh              2 days ago       surge   surge.sh   Standard  
  bonitasoft-bonita-documentation-site-test-pr-759.surge.sh                2 days ago       surge   surge.sh   Standard  
  bonitasoft-bonita-labs-doc-deploy-pr-161.surge.sh                        2 days ago       surge   surge.sh   Standard  
  bonitasoft-bonita-documentation-site-deploy-pr-764.surge.sh              2 days ago       surge   surge.sh   Standard  
  bonitasoft-bonita-documentation-site-test-pr-764.surge.sh                2 days ago       surge   surge.sh   Standard  
  bonitasoft-bonita-process-insights-doc-deploy-pr-16.surge.sh             3 days ago       surge   surge.sh   Standard  
  bonitasoft-bonita-process-insights-doc-deploy-pr-14.surge.sh             3 days ago       surge   surge.sh   Standard  
  bonitasoft-bonita-documentation-site-deploy-pr-763.surge.sh              3 days ago       surge   surge.sh   Standard  
  bonitasoft-bonita-documentation-site-test-pr-763.surge.sh                3 days ago       surge   surge.sh   Standard  
  bonitasoft-bonita-process-insights-doc-deploy-pr-13.surge.sh             3 days ago       surge   surge.sh   Standard  
  bonitasoft-bonita-process-insights-doc-deploy-pr-10.surge.sh             3 days ago       surge   surge.sh   Standard  
  bonitasoft-bonita-process-insights-doc-deploy-pr-12.surge.sh             3 days ago       surge   surge.sh   Standard  
  bonitasoft-bonita-doc-deploy-pr-2809.surge.sh                            7 days ago       surge   surge.sh   Standard  
  bonitasoft-bonita-documentation-theme-build_preview-pr-232.surge.sh      1 week ago       surge   surge.sh   Standard  
  bonitasoft-bonita-documentation-theme-build_preview-pr-230.surge.sh      1 week ago       surge   surge.sh   Standard  
  bonitasoft-bonita-documentation-site-test-pr-762.surge.sh                1 week ago       surge   surge.sh   Standard  
  bonitasoft-bonita-documentation-theme-build_preview-pr-229.surge.sh      1 week ago       surge   surge.sh   Standard  
  bonitasoft-bonita-documentation-site-deploy-pr-757.surge.sh              1 week ago       surge   surge.sh   Standard  
  bonitasoft-bonita-documentation-site-test-pr-757.surge.sh                1 week ago       surge   surge.sh   Standard  
  bonitasoft-bonita-documentation-site-test-pr-752.surge.sh                1 week ago       surge   surge.sh   Standard  
  bonitasoft-bonita-cloud-doc-deploy-pr-59.surge.sh                        1 week ago       surge   surge.sh   Standard  
  bonitasoft-bonita-documentation-site-deploy-pr-755.surge.sh              1 week ago       surge   surge.sh   Standard  
  bonitasoft-bonita-documentation-site-test-pr-755.surge.sh                1 week ago       surge   surge.sh   Standard  
  bonitasoft-bonita-doc-deploy-pr-2806.surge.sh                            1 week ago       surge   surge.sh   Standard  
  bonitasoft-bonita-doc-deploy-pr-2805.surge.sh                            2 weeks ago      surge   surge.sh   Standard  
  bonitasoft-bonita-doc-deploy-pr-2808.surge.sh                            2 weeks ago      surge   surge.sh   Standard  
  bonitasoft-bonita-doc-deploy-pr-2807.surge.sh                            2 weeks ago      surge   surge.sh   Standard  
  bonitasoft-bonita-documentation-site-deploy-pr-749.surge.sh              2 weeks ago      surge   surge.sh   Standard  
  bonitasoft-bonita-documentation-site-test-pr-749.surge.sh                2 weeks ago      surge   surge.sh   Standard  
  bonitasoft-bonita-doc-deploy-pr-2801.surge.sh                            2 weeks ago      surge   surge.sh   Standard  
  bonitasoft-bonita-documentation-site-deploy-pr-754.surge.sh              2 weeks ago      surge   surge.sh   Standard  
  bonitasoft-bonita-documentation-site-test-pr-754.surge.sh                2 weeks ago      surge   surge.sh   Standard  
  bonitasoft-bonita-doc-deploy-pr-2804.surge.sh                            2 weeks ago      surge   surge.sh   Standard  
  bonitasoft-bonita-doc-deploy-pr-2803.surge.sh                            3 weeks ago      surge   surge.sh   Standard  
  bonitasoft-bonita-cloud-doc-build_preview-pr-59.surge.sh                 3 weeks ago      surge   surge.sh   Standard  
  bonitasoft-bonita-doc-deploy-pr-2800.surge.sh                            3 weeks ago      surge   surge.sh   Standard  
  bonitasoft-bonita-documentation-site-deploy-pr-753.surge.sh              3 weeks ago      surge   surge.sh   Standard  
  bonitasoft-bonita-documentation-site-test-pr-753.surge.sh                3 weeks ago      surge   surge.sh   Standard  
  bonitasoft-bonita-doc-deploy-pr-2794.surge.sh                            3 weeks ago      surge   surge.sh   Standard  
  bonitasoft-bonita-process-insights-doc-deploy-pr-11.surge.sh             3 weeks ago      surge   surge.sh   Standard  
  bonitasoft-bonita-doc-deploy-pr-2799.surge.sh                            3 weeks ago      surge   surge.sh   Standard  
  bonitasoft-bonita-doc-deploy-pr-2798.surge.sh                            3 weeks ago      surge   surge.sh   Standard  
  bonitasoft-bonita-doc-deploy-pr-2797.surge.sh                            3 weeks ago      surge   surge.sh   Standard  
  bonitasoft-bonita-doc-deploy-pr-2796.surge.sh                            3 weeks ago      surge   surge.sh   Standard  
  bonitasoft-bonita-doc-deploy-pr-2795.surge.sh                            3 weeks ago      surge   surge.sh   Standard  
  bonitasoft-bonita-documentation-site-deploy-pr-751.surge.sh              3 weeks ago      surge   surge.sh   Standard  
  bonitasoft-bonita-documentation-site-test-pr-751.surge.sh                3 weeks ago      surge   surge.sh   Standard  
  bonitasoft-bonita-doc-deploy-pr-2793.surge.sh                            3 weeks ago      surge   surge.sh   Standard  
  bonitasoft-bonita-doc-deploy-pr-2792.surge.sh                            3 weeks ago      surge   surge.sh   Standard  
  bonitasoft-bonita-doc-deploy-pr-2791.surge.sh                            3 weeks ago      surge   surge.sh   Standard  
  bonitasoft-bonita-doc-deploy-pr-2790.surge.sh                            4 weeks ago      surge   surge.sh   Standard  
  bonitasoft-bonita-doc-deploy-pr-2789.surge.sh                            4 weeks ago      surge   surge.sh   Standard  
  bonitasoft-bonita-doc-deploy-pr-2787.surge.sh                            4 weeks ago      surge   surge.sh   Standard  
  bonitasoft-bonita-doc-deploy-pr-2785.surge.sh                            4 weeks ago      surge   surge.sh   Standard  
  bonitasoft-bonita-doc-deploy-pr-2786.surge.sh                            4 weeks ago      surge   surge.sh   Standard  
  bonitasoft-bonita-doc-deploy-pr-2784.surge.sh                            4 weeks ago      surge   surge.sh   Standard  
  bonitasoft-bonita-doc-deploy-pr-2783.surge.sh                            4 weeks ago      surge   surge.sh   Standard  
  bonitasoft-bonita-doc-deploy-pr-2782.surge.sh                            4 weeks ago      surge   surge.sh   Standard  
  bonitasoft-bonita-documentation-site-deploy-pr-748.surge.sh              4 weeks ago      surge   surge.sh   Standard  
  bonitasoft-bonita-documentation-site-test-pr-748.surge.sh                4 weeks ago      surge   surge.sh   Standard  
  bonitasoft-bonita-doc-deploy-pr-2781.surge.sh                            1 month ago      surge   surge.sh   Standard  
  bonitasoft-bonita-rest-documentation-site-deploypreview-pr-29.surge.sh   1 month ago      surge   surge.sh   Standard  
  bonitasoft-bonita-doc-deploy-pr-2780.surge.sh                            1 month ago      surge   surge.sh   Standard  
  bonitasoft-bonita-doc-deploy-pr-2779.surge.sh                            1 month ago      surge   surge.sh   Standard  
  bonitasoft-bonita-doc-deploy-pr-2773.surge.sh                            1 month ago      surge   surge.sh   Standard  
  bonitasoft-bonita-doc-deploy-pr-2774.surge.sh                            1 month ago      surge   surge.sh   Standard  
  bonitasoft-bonita-doc-deploy-pr-2778.surge.sh                            1 month ago      surge   surge.sh   Standard  
  bonitasoft-bonita-doc-deploy-pr-2777.surge.sh                            1 month ago      surge   surge.sh   Standard  
  bonitasoft-bonita-doc-deploy-pr-2776.surge.sh                            1 month ago      surge   surge.sh   Standard  
  bonitasoft-bonita-doc-deploy-pr-2775.surge.sh                            1 month ago      surge   surge.sh   Standard  
  bonitasoft-bonita-openapi-deploypreview-pr-182.surge.sh                  1 month ago      surge   surge.sh   Standard  
  bonitasoft-bonita-documentation-site-deploy-pr-746.surge.sh              1 month ago      surge   surge.sh   Standard  
  bonitasoft-bonita-documentation-site-test-pr-746.surge.sh                1 month ago      surge   surge.sh   Standard  
  bonitasoft-bonita-documentation-site-deploy-pr-745.surge.sh              1 month ago      surge   surge.sh   Standard  
  bonitasoft-bonita-documentation-site-test-pr-745.surge.sh                1 month ago      surge   surge.sh   Standard  
  bonitasoft-bonita-documentation-site-deploy-pr-747.surge.sh              1 month ago      surge   surge.sh   Standard  
  bonitasoft-bonita-documentation-site-test-pr-747.surge.sh                1 month ago      surge   surge.sh   Standard  
  bonitasoft-bonita-doc-deploy-pr-2766.surge.sh                            1 month ago      surge   surge.sh   Standard  
  bonitasoft-bonita-doc-deploy-pr-2772.surge.sh                            1 month ago      surge   surge.sh   Standard  
  bonitasoft-bonita-doc-deploy-pr-2752.surge.sh                            1 month ago      surge   surge.sh   Standard  
  bonitasoft-bonita-doc-deploy-pr-2771.surge.sh                            1 month ago      surge   surge.sh   Standard  
  bonitasoft-bonita-doc-deploy-pr-2770.surge.sh                            1 month ago      surge   surge.sh   Standard 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI ⚙️ enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant