Gitea: Slow CI builds

Created on 24 May 2017  路  8Comments  路  Source: go-gitea/gitea

Our CI builds are very slow (can take up to an hour). #1783 will help, but that will only reduce the durations of some CI builds (and those builds will still take >20 minutes).

make release usually takes about 20 minutes to complete in Drone. Is it absolutely necessary for us to compile to every supported architecture in every build? What is running make release supposed to ensure/accomplish?

kinbuild

Most helpful comment

@DblK @lunny I will make new PR to fix @tboerger comments https://github.com/go-gitea/gitea/pull/1783#issuecomment-304476001

All 8 comments

for Pull Request, make release is no need I think.

Only for tag builds?

@ethantkoenig Not only tags. Also master and other branches since we provides these downloads on https://dl.gitea.io

@tboerger @bkcsoft @appleboy

Is this linked to #1783? If yes, maybe we can close it.

@DblK @lunny I will make new PR to fix @tboerger comments https://github.com/go-gitea/gitea/pull/1783#issuecomment-304476001

Would it be possible to cache compiled vendor/ packages that are generated in make release, and reuse them across different builds? The contents of vendor/ rarely change, so it seems like a waste to repeatedly recompile them (multiple times, once for each supported architecture) every build.

This has been resolved.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jonasfranz picture jonasfranz  路  3Comments

lunny picture lunny  路  3Comments

tuxfanou picture tuxfanou  路  3Comments

kifirkin picture kifirkin  路  3Comments

jakimfett picture jakimfett  路  3Comments