hercules-ci / support

User feedback, questions and our public roadmap. help@hercules-ci.com
5 stars 1 forks source link

Build public + private repositories via the same agent deployment #50

Open brendanhay opened 3 years ago

brendanhay commented 3 years ago

A couple of questions regarding the mixing of public and private repositories within the same GitHub organisation:

roberth commented 3 years ago

Support for both use cases simultaneously isn't quite there yet.

  • Is it currently possible to (safely) build public + private repositories via the same agent deployment?

Yes, but it requires manual approval of PRs.

  • How does caching work in this instance - I don't want private artefacts being pushed to a public shared cache - would I need to ensure a singular private cache?

Not yet. Currently outputs are pushed to all configured caches. This will be configurable.

  • Is it possible to push the artefacts from the public repository to a public cache separately? Is it possible to dictate which repository's artefacts go where?

You'll be able to configure a default cache for public repos and a default cache for private repos separately, per account.