[FOLIO-954] retain latest working folio-snapshot Created: 29/Nov/17  Updated: 12/Nov/18  Resolved: 08/Dec/17

Status: Closed
Project: FOLIO
Components: None
Affects versions: None
Fix versions: None

Type: Task Priority: P2
Reporter: Jakub Skoczen Assignee: John Malconian
Resolution: Done Votes: 0
Labels: ci, demo27, sprint27, sprint28
Remaining Estimate: Not Specified
Time Spent: 2 days, 4 hours
Original estimate: Not Specified

Issue links:
Relates
relates to FOLIO-953 run integration tests against folio-s... Closed
Sprint:

 Description   

Keep working installation (confirmed with ui-testing) as 'folio-snapshot-ok'.



 Comments   
Comment by John Malconian [ 08/Dec/17 ]

I've completed the following changes to folio-snapshot. 'folio-snapshot' is a daily FOLIO build which utilizes the folio-registry and module descriptors to enforce dependencies across modules (unlike 'folio-testing).

Overview of major changes:

  • The last folio-snapshot build that passes all UI regression tests can be accessed at:
    http://folio-snapshot-stable.aws.indexdata.com - Sometimes 'folio-snapshot-latest' and 'folio-snapshot-stable' will point to the same instance. Sometimes not.
  • Each build is a separate build of folio-snapshot and can be accessed directly by appending the Jenkins build number in the URL. e.g http://folio-snapshot-36.aws.indexdata.com. DNS aliases 'folio-snapshot-latest' and 'folio-snapshot-stable' are always applied after a successful build (or successful build that passes UI regression tests in the case of 'folio-snapshot-stable'). The benefit to this is that there should always be a 'folio-snapshot-latest' up and available even if the last build fails to complete.
  • I use AWS tagging to attach special build tags to the instances associated with each build so that old, unused AWS instances can be safely terminated via a separate automated job.
  • I incorporated UI regression testing into the same pipeline that builds the FOLIO platform so that UI regression test reports are published alongside each build in Jenkins making it easier to associate test results with a specific build. See example here:

https://jenkins-aws.indexdata.com/job/Automation/job/folio-snapshot/36/UI_Regression_Test_Report/

Generated at Thu Feb 08 23:09:37 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.