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
| commit 99cbcd6031c5d09d32798457af0b44bce7e8473d | |
| Author: Daniel Nephin <[email protected]> | |
| Date: Wed Aug 17 12:30:47 2016 -0400 | |
| WIP adding cpu profiling to integration test suite runner. | |
| Signed-off-by: Daniel Nephin <[email protected]> | |
| diff --git a/hack/make/.integration-test-helpers b/hack/make/.integration-test-helpers | |
| index af7cfed..fcc1641 100644 |
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
| # | |
| # Reference: http://dnephin.github.io/dobi/config.html | |
| # | |
| # To build the minimal dist image: | |
| # | |
| # dobi dist-img | |
| # | |
| mount=source: | |
| bind: . |
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 | |
| set -e | |
| function handle_event() { | |
| local entry="$1" | |
| local action=$(echo $entry | jq -r '.action') | |
| local service=$(echo $entry | jq -r '.service') | |
| local hook="./hooks/$service/$action" | |
| if [ -x "$hook" ]; then | |
| "$hook" "$entry" |
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 | |
| set -x | |
| cat > tmp.py <<EOF | |
| import os, signal | |
| print os.getpid() |
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
| FROM golang:1.5 | |
| ARG GLIDE_VERSION=0.8.2 | |
| RUN curl -sL \ | |
| https://github.com/Masterminds/glide/releases/download/${GLIDE_VERSION}/glide-${GLIDE_VERSION}-linux-amd64.tar.gz | \ | |
| tar -xz linux-amd64/glide && \ | |
| mv linux-amd64/glide /usr/bin/glide && \ | |
| chmod +x /usr/bin/glide |
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 | |
| set -e | |
| VERSION=1.6.0 | |
| GITHUB_API=https://api.github.com/repos/ | |
| REPO=docker/compose | |
| function handle_failure() { | |
| echo "Cherry-pick failed. Entering a new shell to merge." |
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
| javascript: (function(e, a, g, h, f, c, b, d) { | |
| if (!(f = e.jQuery) || g > f.fn.jquery || h(f)) { | |
| c = a.createElement("script"); | |
| c.type = "text/javascript"; | |
| c.src = "//ajax.googleapis.com/ajax/libs/jquery/" + g + "/jquery.min.js"; | |
| c.onload = c.onreadystatechange = function() { | |
| if (!b && (!(d = this.readyState) || d == "loaded" || d == "complete")) { | |
| h((f = e.jQuery).noConflict(1), b = 1); | |
| f(c).remove() | |
| } |
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
| TEST_ONE=common-env-file | |
| TEST_TWO=common-env-file | |
| TEST_TREE=common-env-file | |
| TEST_FOUR=common-env-file |
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
| # |
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
| web: | |
| image: alpine:edge | |
| environment: | |
| - NAME: thename | |
| command: echo $NAME |