Commit Graph

12 Commits (main)

Author SHA1 Message Date
jay 06e9a8ca85 Upload files to "/"
Clears the Lets Encrypt add-on settings.

Added new input field to input custom domain/url to use. he intention was to leave it blank so that the Lets Encrypt add-on configure settings will be also blank and the default test certificate will be used
2023-10-06 21:01:39 +00:00
jay ee7681ce77 Add StagingManifest
This works both ways. Needs to fix clearing custom domains from live
2023-10-05 21:54:38 +00:00
jay 9646fc3511 Add importstaging.sh 2023-09-21 13:23:44 +00:00
jay 5afa9c09c1 Update create-staging-env-with-addon
This works. Next to do is the Staging to Live
2023-09-07 08:00:22 +00:00
jay 63765be2e7 Update syncfromlivetostaging.sh
Added step to save the staging domain
2023-09-07 07:23:32 +00:00
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