Commit Graph

7 Commits (030d5c12e9ee577873aee44d18a6badbde82d5f4)

Author SHA1 Message Date
jay 030d5c12e9 Add create-staging-env-with-addon
This works. Have to adjust syncfromlivetostaging.sh.

Domain replacement works first time, but subsequent runs will result to  Replacement value  is identical to search value.

Because on subsequent runs, the imported database will have the same url as that of the source.
2023-09-07 07:11:24 +00:00
jay 640437e9fd Add syncfromlivetostaging.sh
This will have to run on the staging environment. It will copy the files form the NFS mount and update the database
2023-09-05 21:13:35 +00:00
jay 2d9a86222c getlivedomain.sh
This will get the currently assigned domain name from WP DB and output it to a file for later use
2023-09-05 16:48:04 +00:00
jay 0b8f747b9a Update Create_Staging_With_Addon
This version needs to have a bash script for the addon to run. When the synching from live to staging, the environment placeholders are not properly replaced with actual URLs, wp search-replace fails.
2023-08-30 16:11:28 +00:00
jay b7f69dd935 Create_Staging_With_Addon
This manifest creates a clone of the selected environment and install an addon in the new environment.

The addon can execute shell commands in the source environment and in the cp node of the new environment.

Need to figure out the correct syntax for the commands to sync the database
2023-08-16 22:27:06 +00:00
jay 0f9dbd70d4 Add sync_from_live_addon 2023-08-10 15:38:42 +00:00
jay 658aefb7b7 Add create_staging
Clone selected live environment,  create a database backup and mount the /var/www/webroot/ROOT of the live environment in the /var/www/webroot/sourcefiles folder of the clone.
2023-08-10 15:36:02 +00:00