docker network create --attachable --driver overlay data
docker volume create --driver local \
--opt type=nfs --opt o=addr=192.168.1.17,rw \
--opt device=:/volume1/docker/influxdb influxdb
| package main | |
| import ( | |
| "crypto/rand" | |
| "encoding/base64" | |
| "fmt" | |
| "os" | |
| "time" | |
| "golang.org/x/crypto/ssh" |
docker network create --attachable --driver overlay data
docker volume create --driver local \
--opt type=nfs --opt o=addr=192.168.1.17,rw \
--opt device=:/volume1/docker/influxdb influxdb
| pipeline { | |
| agent { | |
| // "node" is a new agent type that works the same as "label" but allows | |
| // additional parameters, such as "customWorkspace" below. | |
| node { | |
| label "some-label" | |
| // This is equivalent to the "ws(...)" step - sets the workspace on the | |
| // agent to a hard-coded path. If it's not an absolute path, it'll be | |
| // relative to the agent's workspace root. | |
| customWorkspace "/use/this/path/instead" |
| require 'angelo' | |
| class BG < Angelo::Base | |
| websocket '/' do |ws| | |
| websockets << ws | |
| end | |
| end |
| #### | |
| # | |
| # Script to pull and display useful node information. OHAI! | |
| # Author: E Camden Fisher <[email protected]> | |
| #### | |
| # require 'formatador' | |
| require 'colorize' | |
| require 'pp' |
| { | |
| "vars": { | |
| "@gray-base": "#000", | |
| "@gray-darker": "lighten(@gray-base, 13.5%)", | |
| "@gray-dark": "lighten(@gray-base, 20%)", | |
| "@gray": "lighten(@gray-base, 33.5%)", | |
| "@gray-light": "lighten(@gray-base, 46.7%)", | |
| "@gray-lighter": "lighten(@gray-base, 93.5%)", | |
| "@brand-primary": "#df077a", | |
| "@brand-success": "#5cb85c", |
| mvn clean install -DskipTests -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true -Dmaven.wagon.http.ssl.ignore.validity.dates=true |
rsync (Everyone seems to like -z, but it is much slower for me)
| secret_key = "some secret key" | |
| access_key = 'some access key' | |
| or | |
| access_key = "some access key" | |
| secret_key = 'some secret key' | |
| or |