Stream: t-compiler

Topic: test-on-fork


Pietro Albini (Mar 19 2020 at 19:02, on Zulip):

Hello @T-compiler! In preparation for running GitHub Actions in parallel with Azure Pipelines, we changed how commits are tested. Now, try and auto builds will happen in the https://github.com/rust-lang-ci/rust fork instead of the main repository.

Pietro Albini (Mar 19 2020 at 19:03, on Zulip):

the only way this should affect y'all is if you want to browse the commits page to look for build logs

Pietro Albini (Mar 19 2020 at 19:03, on Zulip):

in that case you'll have to look in the rust-lang-ci/rust repository

Pietro Albini (Mar 19 2020 at 19:03, on Zulip):

otherwise everything should work as normal

Pietro Albini (Mar 19 2020 at 19:03, on Zulip):

unfortunately having this setup is something that's required for GitHub Actions, so we'll have to live with this for a while

Pietro Albini (Mar 19 2020 at 19:04, on Zulip):

expect a PR adding the GitHub Actions configuration soon(tm)

eddyb (Mar 19 2020 at 19:04, on Zulip):

what will run where?

eddyb (Mar 19 2020 at 19:04, on Zulip):

Azure on fork, GHA on main?

Pietro Albini (Mar 19 2020 at 19:04, on Zulip):

both of them on the fork

eddyb (Mar 19 2020 at 19:04, on Zulip):

that's... unexpected

Pietro Albini (Mar 19 2020 at 19:04, on Zulip):

it's for security reasons, I can elaborate more in private if anyone is extra curious

eddyb (Mar 19 2020 at 19:05, on Zulip):

I initially thought you meant you couldn't combine them both on the same repo

eddyb (Mar 19 2020 at 19:05, on Zulip):

ah that makes sense

eddyb (Mar 19 2020 at 19:05, on Zulip):

is this semi-permanent or would it go away after the transition to GHA?

Pietro Albini (Mar 19 2020 at 19:06, on Zulip):

semi-permanent, we're doing this because GHA lacks a security feature we need

eddyb (Mar 19 2020 at 19:06, on Zulip):

I'm mostly asking so I know GHA caveats in case I try to use it on my own repos

Pietro Albini (Mar 19 2020 at 19:07, on Zulip):

oh this is just because of our scale, it's not needed for most things

eddyb (Mar 19 2020 at 19:07, on Zulip):

@Pietro Albini so a separate org is required until GH adds that feature, right?

Pietro Albini (Mar 19 2020 at 19:07, on Zulip):

yep

simulacrum (Mar 19 2020 at 19:08, on Zulip):

(and to be clear, this is only important for self-hosted runners, right?)

simulacrum (Mar 19 2020 at 19:08, on Zulip):

so realistically no one should care for the default package

Josh Triplett (Mar 22 2020 at 10:02, on Zulip):

@Pietro Albini I would be interested in the security details in private.

Last update: May 29 2020 at 18:00UTC