Skip to content

Instantly share code, notes, and snippets.

@nedSaf
Created October 27, 2015 13:57
Show Gist options
  • Save nedSaf/a4c45b814ab8e53558ca to your computer and use it in GitHub Desktop.
Save nedSaf/a4c45b814ab8e53558ca to your computer and use it in GitHub Desktop.
Probo CI
steps:
- name: Setup working directory
command: "drush fec --json-config='{\"settings_php.snippets\": []}' --local-environment=probo icenter 7 "
- name: Drop the old database
command: 'drush --root=/var/www/icenter/webroot sql-drop -y'
- name: Install grunt
command: "npm install -g grunt-cli"
- name: Install bower
command: "npm install -g bower"
- name: Install Sass and Compass for Grunt to work
command: "apt-get install ruby-dev ruby-compass -y"
- name: Install bundler
command: "gem install bundler"
- name: Install drupal
command: "cd $SRC_DIR ; cp probo.config.sh config.sh ; ./install -dy"
- name: Copy code into place
command: 'rm -rf /var/www/icenter ; mv -v $SRC_DIR /var/www/icenter ; ln -s /var/www/icenter/www /var/www/icenter/webroot'
- name: Clear caches
command: 'drush --root=/var/www/icenter/webroot cc all'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment