ez projects / ez-deploy
|UNIX name||Owner||Status||Version||Compatible with|
As well as cooking and deploying, eZ Deploy also comes with the following functionality:
This project will soon be available as a proper ezpublish extension and will be the first public alpha-release.
The extension in essence comprises several bash shell-scripts, invoked from a PHP class via the ezwebin website interface or from the command line itself.
The main script ezdeploy.sh takes several arguments and at its core, invokes wget, sed and one or two other shell commands to fetch (scrape) an ezpublish site, post-process it for links and dependencies such as CSS and RSS and if instructed to do so, rsync the entire directory to a remote server over SSH.
There are some .ini overrides and a new 'ezdeploy.ini' which pretty much configures everthing you'll need to instruct the shell scripts to do their thing. There are also one or two other config settings you'll need to assess in each individual script, but these should only need changing very rarely - for example if your entire deployment system is ported to another collection of servers or CDN.
This project was borne out of a need to deploy a high-burst traffic website as static HTML avoiding the overhead of a PHP, Python or other scripting engine on the webserver and came from a similar function of the Plone CMS called "CMFDeployment" hence the title.
ezdeploy assumes the use of eZ Publish v4.x and the ezwebin extension v1.3 in a Unix/Linux environment together with access to wget, sed, find and rsync via the command-line, although these are automatically checked before ezdeploy runs.