Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Sep 2020 09:51:31 +0100
From:      Alexander Richardson <arichardson@freebsd.org>
To:        =?UTF-8?Q?Ulrich_Sp=C3=B6rlein?= <uqs@freebsd.org>
Cc:        Jessica Clarke <jrtc27@freebsd.org>, Ed Maste <emaste@freebsd.org>, freebsd-git@freebsd.org
Subject:   Re: svn commit: r366074 - in head/.github: . workflows
Message-ID:  <CA%2BZ_v8rOB=w67cm2zfLYZZwuQGk-TDU9DVaThPSJq0N12x52Hw@mail.gmail.com>
In-Reply-To: <CAJ9axoTDfJg_6src5BHe=tzWHBziWhHZ5mnguyMMzNfFdO%2B5tQ@mail.gmail.com>
References:  <202009231254.08NCsbvl097012@repo.freebsd.org> <CAJ9axoSm_6vh6zVkiQk-5J8-tRiq3SvehUrn3%2BssQ=mZ6QeacQ@mail.gmail.com> <17915865-DF2F-473D-AB52-4C69D7DB706F@freebsd.org> <CAJ9axoTEJ7wLKv%2Bu0FtmGB_fZ3RcOmQKtCWaC0b1i67VuipnZQ@mail.gmail.com> <CA%2BZ_v8o_kKB=oCQ5Ka=9rNCoVjjR57pFNKH%2B4_YujeELa9UBBQ@mail.gmail.com> <CAJ9axoRquESELDHxWpxivkh32Bx8sNh_V4nYb4sLRcc2KFn3qQ@mail.gmail.com> <CAJ9axoTDfJg_6src5BHe=tzWHBziWhHZ5mnguyMMzNfFdO%2B5tQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 24 Sep 2020 at 08:33, Ulrich Sp=C3=B6rlein <uqs@freebsd.org> wrote:
>
> I created the exact same workflow via the github UI (creating a brand new=
 commit on master) and then force-pushed over it, that seems to have gotten=
 it unstuck).
>
> Now where can one see these workflows in action and how are they triggere=
d?
>
> Under https://github.com/freebsd/freebsd/actions?query=3Dworkflow%3A%22Cr=
oss-build+CI%22 I see them taking only 10min? Is that true for a whole buil=
dkernel?
>
> What machines are these running on? How is this being paid for?
>

Thanks for fixing it and sorry again for the inconvenience.

GitHub actions is free for public repositories and I believe the VMs
used for building have 2 CPUs and 7GB RAM
(https://docs.github.com/en/actions/reference/specifications-for-github-hos=
ted-runners#supported-runners-and-hardware-resources)
and can run for up to 6 hours
(https://docs.github.com/en/actions/reference/usage-limits-billing-and-admi=
nistration).

It only takes 10 minutes because the buildkernel step does not include
modules so is significantly faster than the default configuration.
Also we don't need to bootstrap LLVM so that saves lots of time.


> On Wed, Sep 23, 2020 at 10:20 PM Ulrich Sp=C3=B6rlein <uqs@freebsd.org> w=
rote:
>>
>> On Wed, Sep 23, 2020 at 9:38 PM Alexander Richardson
>> <arichardson@freebsd.org> wrote:
>> >
>> > On Wed, 23 Sep 2020 at 20:20, Ulrich Sp=C3=B6rlein <uqs@freebsd.org> w=
rote:
>> > >
>> > > On Wed, Sep 23, 2020 at 4:33 PM Jessica Clarke <jrtc27@freebsd.org> =
wrote:
>> > > >
>> > > > On 23 Sep 2020, at 15:29, Ulrich Sp=C3=B6rlein <uqs@freebsd.org> w=
rote:
>> > > > >
>> > > > > This broke pushing to github, so the converter is currently halt=
ed
>> > > > >
>> > > > > ! [remote rejected]         trunk -> svn_head (refusing to allow=
 an
>> > > > > integration to create or update workflow
>> > > > > `.github/workflows/cross-bootstrap-tools.yml`)
>> > > > > error: failed to push some refs to 'base.github.com:freebsd/free=
bsd.git'
>> > > > > Error in pushing to github
>> > > > >
>> > > > > Do you know why?
>> > > >
>> > > > The authorisation token used for the converter needs to have the "=
workflow"
>> > > > scope added.
>> > >
>> > > All there is is a deploy key (SSH) on the repository and there's no
>> > > way to give it more or less access. Only write access AFAICS.
>> > >
>> > > Uli
>> >
>> > Sorry about the breakage! I did not expect this to cause any problems.
>> > Just to be sure, are GitHub actions enabled for the repository? Maybe
>> > the repository level setting that disables the actions is set? The URL
>> > should be https://github.com/freebsd/freebsd/settings/actions.
>> >
>> > Is it possible to manually push the latest changes using your personal
>> > user name + SSH key?
>> >
>> > Alex
>>
>> actions are enabled under that URL yes. And I don't have write access
>> with my key there's just 1 key that's allowed to push and even adding a =
new
>> key I can only flip the "write" bit, nothing else.
>>
>> I'll try to create the action in the UI now



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BZ_v8rOB=w67cm2zfLYZZwuQGk-TDU9DVaThPSJq0N12x52Hw>