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
#!/bin/bash -x | |
log=$1 | |
shift | |
for try in 1 2 3 | |
do | |
"$@" 2>&1 | tee $log & | |
sleep 30 |
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
#!/bin/bash -x | |
if [ $CIRCLE_NODE_TOTAL -gt 1 ] | |
then | |
echo $CIRCLE_NODE_TOTAL 'Circle CI nodes. Running tests in parallel.' | |
echo 'This is Circle CI node' $CIRCLE_NODE_INDEX'.' | |
# First worker should just run unit tests | |
if [ $CIRCLE_NODE_INDEX -eq 0 ] | |
then |
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
'use strict'; | |
var https = require('https'); | |
var color = require('colors/safe'); | |
var Utils = require('nightwatch/lib/util/utils'); | |
var endSession = require('../../commands/endSession'); | |
var _client; | |
module.exports = { |
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
#!/bin/bash -x | |
if [ $CIRCLE_NODE_TOTAL -gt 1 ] | |
then | |
echo $CIRCLE_NODE_TOTAL 'Circle CI nodes. Running tests in parallel.' | |
echo 'This is Circle CI node' $CIRCLE_NODE_INDEX'.' | |
# First worker should just run unit tests | |
if [ $CIRCLE_NODE_INDEX -eq 0 ] | |
then |
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
# gronk | |
resource "aws_s3_bucket" "gronk-s3" { | |
bucket = "wi-gronk-${var.env}" | |
acl = "public-read" | |
website { | |
index_document = "index.html" | |
error_document = "index.html" | |
} | |
tags { | |
Name = "wi-gronk-${var.env}" |
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
const store = createStore( | |
combineReducers({ | |
...reducers, | |
routing: routerReducer | |
}) | |
) | |
const history = syncHistoryWithStore(browserHistory, store); | |
history.listen(location => trackPage(appName, location)); |
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
const _ = require('lodash'); | |
const argv = require('minimist')(process.argv.slice(2)); | |
const awspublish = require('gulp-awspublish'); | |
const dotenv = require('dotenv'); | |
const del = require('del'); | |
const GitHubApi = require('github'); | |
const git = require('git-rev') | |
const gulp = require('gulp'); | |
const gutil = require('gulp-util'); | |
const path = require('path'); |
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
'[C475] A template can be added to a template-set via drag and drop.'(client) { | |
const id = globals.templates[2].id; | |
templateSetEditor | |
.navigateTo(setId); | |
templateSetEditor | |
.dragTemplateToCurrent(id) | |
.assert.elementPresent('.wi-DestinationTemplates [data-id="' + id + '"]'); | |
}, |
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
var urls = require('../utils/urls'); | |
module.exports = { | |
elements: { | |
page: '#Templates', | |
linkTemplates: '.Header--Links a[href="/templates"]', | |
linkArchived: 'a[href="/templates/archived"]', | |
linkArchivedActive: 'a.active[href="/templates/archived"]', | |
buttonAddTemplate: '#wi-TemplateList-AddTemplate', | |
buttonAddTemplateSet: '#wi-TemplateList-AddTemplateSet', |
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
'[C469] Template-sets can be archived.'(client) { | |
templateList | |
.assert.elementPresent(rowId) | |
.archiveTemplateSet(templateSetId, client) | |
.assert.elementNotPresent(rowId) | |
.navigateToArchived() | |
.assert.elementPresent(rowId); | |
}, | |
'[C782] Template-sets can be unarchived.'(client) { |