Open edmund-dunn opened 4 months ago
This is the job in Jenkins with build times. We can use this to help us define some metrics for improvement.
To do: add Tyler's comment on this ticket.
This issue is blocked until the following actions are resolved:
We are going to break the release and testing into two phases.
cms-test
cms
cms
staging deployGood progress is being made on the "add file sync job" for cms-test
. I've got the functionality to add a job to Jenkins working. Now I just need to develop the Ansible tasks that will do the file sync work.
Collapsing all sub-tickets back to this one.
Closing these tickets:
Going with this PR to review for this current ticket to "Decrease the time it takes to deploy to staging".
Once we're ready to merge that PR the work will be done.
User Story or Problem Statement
Staging deployments for BRD is currently taking two hours and causing problems with the deployment process (e.g. shield is persistently staging up). The delays has made staging unusable for developers.
Description or Additional Context
See: http://jenkins.vfs.va.gov/job/deploys/job/cms-vagov-staging/3576/consoleFull
11:13:55 Reset file permissions ----------------------------------------------- 1912.59s (31.8m) 11:13:55 sites/default/files set owner to cms & group to apache --------------- 1452.13s (24.2m) 11:13:55 Extract asset files to a temp dir ------------------------------------ 1420.01s (23.7m) 11:13:55 Parallel Rsync files to EFS ------------------------------------------ 1085.20s (18.0m) 11:13:55 Download Asset files from S3 ------------------------------------------ 281.64s (4.7m)
We are resetting file permissions twice which may be redundant on staging.
We need to test if we need to set the owner and group, which is taking 24 min, or if we can do away with that, just on staging.
Steps for Implementation
Acceptance Criteria