This file contains 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
ssh_authorized_keys: | |
- "github:mikebell" | |
hostname: k30s-master | |
write_files: | |
- enconding: "" | |
content: |- | |
#!/bin/bash | |
write_log () { | |
local message="${1}" | |
logger -t "run-cmd" "${message}" |
This file contains 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
#!/usr/bin/env groovy | |
pipeline { | |
agent any | |
stages { | |
stage('Composer install') { | |
steps { | |
sh 'composer install' | |
archiveArtifacts artifacts: '**', fingerprint: true |
This file contains 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
TASK [include_role] ************************************************************ | |
TASK [geerlingguy.drupal : Add backwards-compatibility shims.] ***************** | |
included: /home/digital/Vagrant/test-VM/vendor/geerlingguy/drupal-vm/provisioning/roles/geerlingguy.drupal/tasks/backwards-compatibility.yml for test-conviviovm | |
TASK [geerlingguy.drupal : build_makefile shim] ******************************** | |
skipping: [test-conviviovm] | |
TASK [geerlingguy.drupal : build_composer shim] ******************************** | |
skipping: [test-conviviovm] |
This file contains 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
--- | |
# `vagrant_box` can also be set to geerlingguy/centos6, geerlingguy/centos7, | |
# geerlingguy/ubuntu1404, geerlingguy/ubuntu1204, parallels/ubuntu-14.04, etc. | |
vagrant_box: geerlingguy/centos7 | |
vagrant_user: vagrant | |
vagrant_synced_folder_default_type: nfs | |
# If you need to run multiple instances of Drupal VM, set a unique hostname, | |
# machine name, and IP address for each instance. | |
vagrant_hostname: test-conviviovm.dev |
This file has been truncated, but you can view the full file.
This file contains 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
[{ | |
"seeds": [{ | |
"lat": "51.431454", | |
"type": "green", | |
"long": "0.031175" | |
}, { | |
"lat": "51.480920", | |
"type": "white", | |
"long": "-0.419318" | |
}, { |
This file contains 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
[{ | |
"seeds": [{ | |
"lat": "51.431454", | |
"type": "green", | |
"long": "0.031175" | |
}, { | |
"lat": "51.480920", | |
"type": "white", | |
"long": "-0.419318" | |
}, { |
This file contains 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
gulp.task('sass', function() { | |
gulp.src('./sass/*.scss') | |
.pipe(sourcemaps.init()) | |
.pipe(sass()) | |
.pipe(sourcemaps.write()) | |
.pipe(gulp.dest('./css')); | |
}); | |
gulp.task('sass:watch', function () { | |
gulp.watch('./sass/*.scss', ['sass']); |
This file contains 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
<?php | |
/** | |
* This is project's console commands configuration for Robo task runner. | |
* | |
* @see http://robo.li/ | |
*/ | |
class RoboFile extends \Robo\Tasks | |
{ | |
public $site = 'SITENAMEHERE'; | |
// Define public methods as commands |
This file contains 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
{ | |
"name": "drupal-composer/drupal-project", | |
"description": "Project template for Drupal 8 projects with composer", | |
"type": "project", | |
"license": "GPL-2.0+", | |
"authors": [ | |
{ | |
"name": "", | |
"role": "" | |
} |
This file contains 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
trap 'error=1' ERR | |
while true; do | |
slackin "ACCOUNTNAMEHERE" "KEYGOESHERE" -p 8002 -s | |
code="$?" | |
if [[ -n "$error" ]]; then | |
echo "Caught an error! Status = $code" | |
error= # reset the error | |
elif [[ "$code" != 0 ]]; then | |
echo "Program exited with non-zero code: $code" | |
fi |
NewerOlder