Last active
March 28, 2016 14:11
-
-
Save gregarndt/ab8e2110fc7d214f7266 to your computer and use it in GitHub Desktop.
taskcluster-worker volumes spec
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
volumes: [ | |
// typical cache volume persisted on the host, basically a name -> path mapping | |
{ | |
type: persistent, | |
name: 'gecko-level-1-mozilla-inbound-dbg-linux64-workspace', | |
mountPath: '/home/worker/workspace', | |
}, | |
// ramdisk volume | |
{ | |
type: memory, | |
size: 2048, | |
mountPath: '/home/worker/tempfsmount', | |
}, | |
// list of secret names to retrieve from tc-secrets and store in files named | |
// after the key name in a tempfs volume that's destroy when the task is completed. | |
// Tasks can then just cat the file to get the contents of the secret. | |
{ | |
type: secret, | |
mountPath: '/home/worker/secrets', | |
secrets: ['my-secret-1', 'my-secret-2'] | |
}, | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment