Skip to content

Instantly share code, notes, and snippets.

ssh_authorized_keys:
- "github:mikebell"
hostname: k30s-master
write_files:
- enconding: ""
content: |-
#!/bin/bash
write_log () {
local message="${1}"
logger -t "run-cmd" "${message}"
#!/usr/bin/env groovy
pipeline {
agent any
stages {
stage('Composer install') {
steps {
sh 'composer install'
archiveArtifacts artifacts: '**', fingerprint: true
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]
---
# `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.
[{
"seeds": [{
"lat": "51.431454",
"type": "green",
"long": "0.031175"
}, {
"lat": "51.480920",
"type": "white",
"long": "-0.419318"
}, {
[{
"seeds": [{
"lat": "51.431454",
"type": "green",
"long": "0.031175"
}, {
"lat": "51.480920",
"type": "white",
"long": "-0.419318"
}, {
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']);
<?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
{
"name": "drupal-composer/drupal-project",
"description": "Project template for Drupal 8 projects with composer",
"type": "project",
"license": "GPL-2.0+",
"authors": [
{
"name": "",
"role": ""
}
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