Skip to content

Instantly share code, notes, and snippets.

@tomwhoiscontrary
Last active August 29, 2015 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomwhoiscontrary/6ceae7880f4770910077 to your computer and use it in GitHub Desktop.
Save tomwhoiscontrary/6ceae7880f4770910077 to your computer and use it in GitHub Desktop.
mah build
± |master ✗| → fly --atcURL=http://ci.initech.com:8080 configure | grep -A 32 'name: cm-service'
- name: cm-service
type: git
source:
branch: master
private_key: |
-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEAvhb3ZvptWhyjMJ5+w25idzvykM9c9OGok1zQwTpItkJ5MWe+
... snip crypto balls ...
Ulpm9T4G/DvQMtWCIaSPvI4+lAF5Vtl+nJZS3SrUyxt+BzEkQlQh
-----END RSA PRIVATE KEY-----
uri: milton@ci.initech.com:repositories/cm-service.git
#! /bin/bash -eu
export TERM=xterm-256color
cd "$(dirname "$0")/.."
git submodule init
git submodule update
(
cd cm-cockpit
grunt release
)
---
image: docker:///dockerfile/nodejs
inputs:
- name: cm-service
run:
path: cm-service/srcjs/script/deploy.sh
$ fly --atcURL=http://ci.initech.com:8080 execute -c deploy.yml
Connecting to 10.0.2.15:8080 (10.0.2.15:8080)
- 100% |*******************************| 53220k 0:00:00 ETA
initializing with docker:///dockerfile/nodejs
missing inputs: cm-service
errored
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment