This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
machine: | |
python: | |
version: 2.7.6 | |
environment: | |
BEETBOX_HOME: /home/ubuntu/beetbox | |
BEETBOX_DEPENDENCIES: https://raw.githubusercontent.com/drupalmel/beetbox/master/tests/dependencies.sh | |
dependencies: | |
pre: | |
- curl -fsSL $BEETBOX_DEPENDENCIES | bash |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'open-uri' | |
conf_files = ["config.yml", "drupal8.make.yml"] | |
conf_files.each do |conf| | |
open(conf, 'wb') do |file| | |
file << open("https://raw.githubusercontent.com/drupalmel/beetbox/master/#{conf}").read | |
end | |
end | |
eval(open("https://raw.githubusercontent.com/drupalmel/beetbox/master/Vagrantfile") {|f| f.read }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# Custom project config. | |
drush_version: "7.0.0-rc2" | |
drush_keep_updated: yes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Find all boxes which have updates | |
AVAILABLE_UPDATES=`vagrant box outdated --global | grep outdated | tr -d "*'" | cut -d ' ' -f 2` | |
if [ ! ${#AVAILABLE_UPDATES[@]} -eq 0 ]; then | |
for box in $AVAILABLE_UPDATES ; do | |
echo "Found an update for $box" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: "tag_UID_{{ (branch+project) | checksum }}" | |
gather_facts: True | |
connection: local | |
vars: | |
- dns_zones: | |
- domain1.com | |
- domain2.com | |
- branch_shortname: "{{ branch | basename }}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: "tag_UID_{{ (branch+project) | checksum }}" | |
connection: local | |
gather_facts: no | |
tasks: | |
- name: Terminate existing instance | |
local_action: ec2 | |
state=absent |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
git clone https://github.com/thom8/drupal8-vagrant.git | |
cd drupal8-vagrant | |
if !(vagrant plugin list | grep -q vagrant-hostsupdater); then | |
vagrant plugin install vagrant-hostupdater | |
fi | |
vagrant up |
NewerOlder