Deployment script using Subversion (development to production deployment)
$30-250 USD
Dibatalkan
Dibuat sekitar 8 tahun yang lalu
$30-250 USD
Dibayar ketika dikirim
This job is for creating a fully working sync which deploys changes from our development server onto production server. Please read the details below so that you understand the details. Please don’t bid if you are not qualified for this job.
Some information on our setup and needs:
- The sync is for out Magento store.
- Development server is on its own Amazon EC2 setup (Ubuntu), it also hosts the svn
- Developers has their own local setups which they have fetched using svn checkout from the repository
- So when we make changes to our development Magento installation, they commit to the repository and changes are auto applied onto development server
- Production server is on its own dedicated server stationary in (CentOS). As it is now, there is no sync available between the two servers.
- We need the possibility to sync the changes which are committed to the repository on development server onto production
- Sync must, set production in maintenance mode, create snapshot, commit changes from repository (add, edit, delete), verify changes, clear cache, remove maintenance flag
Some issues I know that has been a problem, or is a problem:
- The new system admin did not think it through when he setup the production. As far as I know he did a copy of the development content and moved that to production without using svn checkout.
- The filestamp files/dir on production and development is not the same because he did it this way which results in conflicts
- He was not able to get the sync to delete files/dir on production which have been added to the development repository
- There are now several svn changesset waiting on getting deployed onto production from development server.
- There was issues with config files and backend configurations which changed files which was controlled by svn. They should now all be in the .svnignore list on both development and production.
You would need to understand svn quite good to be able to handle this job.
The script that our system admin tried to get working should have worked like this:
Here is how the script works, using SSH command: devsync update
- make backup of current files
- get the updated files from svn to buffer repository
- set maintenance flag
- sync files
- flush caches
- commit changes
- remove maintenance flag
Using SSH command: devsync revert - will revert changes
Using SSH command: devsync dbrevert - will restore previous database
Our webmaster suggesting another way to approach the sync:
Integrate Jenkins with Magento. Everytime we want to update live site, we go to Jenkins server (GUI) to click BUILD button and it will automatically backup the whole site, deploy changes, clear cache, etc.
Some final instructions:
- The sync needs to be easy to use for someone with little knowledge
- The job is urgent
- No room for any errors (the store is live)