Name: magento-deployscripts
Owner: AOE
Description: null
Created: 2014-11-18 19:23:57.0
Updated: 2017-09-24 20:44:34.0
Pushed: 2017-04-05 17:26:21.0
Homepage: null
Size: 14247
Language: Shell
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Author: Fabrizio Branca
This is a collection of scripts used to build/package, deploy and install Magento projects.
Import note: Never use the master branch in your build jobs. Instead clone a specific tag:
clone -b v1.0.0 https://github.com/AOEpeople/magento-deployscripts.git
Since these scripts might change significantly and your deployment process might fail otherwise.
Add the magento-deployment scripts to your project using Composer. Checkout composer.json example file below.
Checkout http://www.slideshare.net/aoepeople/rock-solid-magento/91 (and the next slides after that)
TODO: add more information here
e:
eploy.sh -r <packageUrl> -t <targetDir> -e <environment> [-u <downloadUsername>] [-p <downloadPassword>] [-a <awsCliProfile>] [-d]
Package url (http, S3 or local file)
Target dir
Download username
Download password
aws cli profile (defaults to 'default')
Also download and install .extra.tar.gz package
Generated files
Checkout http://www.slideshare.net/aoepeople/rock-solid-magento/55 (and the next slides after that)
Example Configuration/tar_excludes.txt content
*
docs/install.php
docs/includes
docs/downloader
docs/pkginfo
docs/LICENSE*
docs/RELEASE_NOTES.txt
docs/phpunit.xml*
docs/*.sample
docs/var
docs/media
ols/composer.phar
odman/Aoe_TemplateHints
odman/EcomDev_PHPUnit
Additionally install.sh expects/checks these files:
These files and folders can easily be constructud by using following composer.json as a basis for your project
"name": "my/project",
"minimum-stability": "dev",
"require": {
"aoepeople/composer-installers": "*",
"aoepeople/envsettingstool": "*",
"tmp/magento_community": "1.9.0.1"
"aoepeople/magento-deployscripts": "1.0.3"
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/AOEpeople/composer-installers.git"
},
{
"type": "vcs",
"url": "https://github.com/AOEpeople/EnvSettingsTool.git"
},
{
"type": "package",
"package": {
"name": "tmp/magento_community",
"type": "magento-source",
"version": "1.9.0.1",
"dist": {
"url": "https://github.com/OpenMage/magento-mirror/archive/1.9.0.1.zip",
"type": "zip"
}
}
},
{
"type": "vcs",
"url": "https://github.com/AOEpeople/magento-deployscripts.git"
}
],
"config" : {
"bin-dir": "tools"
}
Following files will be stored inside the base package