Brigade: Source code in job?

Created on 13 Mar 2018  路  2Comments  路  Source: brigadecore/brigade

Hi reading this tutorial on creating a CD/CI using brigade:

https://azure.github.io/brigade/intro/tutorial04.html

How does it get the source code. I can see that the project file is containing the repo. but how to set the folder location/path?

I am asking because I would need to set GOPATH etc. if it is a go program.

Thanks It looks really cool

question

All 2 comments

By default the project repo will clone to the /src/ path.
An example Running Tasks Against a Git Repository

As this example Job uses a node:8 container, likewise you could use a Go container, e.g. golang:1.9, for your Go app

For an example of working with GOPATH in a brigade.js, check out the CI setup for Brigade itself: https://github.com/Azure/brigade/blob/master/brigade.js#L9-L36

Was this page helpful?
0 / 5 - 0 ratings

Related issues

blimmer picture blimmer  路  6Comments

sathyatvrcbe picture sathyatvrcbe  路  6Comments

technosophos picture technosophos  路  8Comments

radu-matei picture radu-matei  路  4Comments

technosophos picture technosophos  路  7Comments