-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathraceway.formula
More file actions
30 lines (28 loc) · 861 Bytes
/
raceway.formula
File metadata and controls
30 lines (28 loc) · 861 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
inputs:
"/":
type: "tar"
hash: "aLMH4qK1EdlPDavdhErOs0BPxqO0i6lUaeRE4DuUmnNMxhHtF56gkoeSulvwWNqT"
silo: "http+ca://repeatr.s3.amazonaws.com/assets/"
"/app/go":
type: "tar"
hash: "vg5TMw0aRSIQGPybkhMvZmwwI6rzAz6CoAOC0ecUUY02Cn2_7x9GM2DclHXutEPH"
silo: "https://storage.googleapis.com/golang/go1.9.linux-amd64.tar.gz"
action:
policy: sysad
escapes:
mounts:
"/task/meta/assets-mirror/": "./meta/assets-mirror"
command:
- "/bin/bash"
- "-c"
- |
set -euo pipefail
export GOROOT=/app/go/go
export PATH=$PATH:/app/go/go/bin
# Ensure existence of all system mounts containers use.
# Your bare host probably would've had these already, but this container doesn't.
./meta/cgroupfs-mount
# './fling init' unnecessary because repeatr already fetched submodules
./fling install-deps
./fling fetch-plugins
./fling