svn commit: r366074 - in head/.github: . workflows
Alexander Richardson
arichardson at freebsd.org
Thu Sep 24 08:51:46 UTC 2020
On Thu, 24 Sep 2020 at 08:33, Ulrich Spörlein <uqs at 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 triggered?
>
> Under https://github.com/freebsd/freebsd/actions?query=workflow%3A%22Cross-build+CI%22 I see them taking only 10min? Is that true for a whole buildkernel?
>
> 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-hosted-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-administration).
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örlein <uqs at freebsd.org> wrote:
>>
>> On Wed, Sep 23, 2020 at 9:38 PM Alexander Richardson
>> <arichardson at freebsd.org> wrote:
>> >
>> > On Wed, 23 Sep 2020 at 20:20, Ulrich Spörlein <uqs at freebsd.org> wrote:
>> > >
>> > > On Wed, Sep 23, 2020 at 4:33 PM Jessica Clarke <jrtc27 at freebsd.org> wrote:
>> > > >
>> > > > On 23 Sep 2020, at 15:29, Ulrich Spörlein <uqs at freebsd.org> wrote:
>> > > > >
>> > > > > This broke pushing to github, so the converter is currently halted
>> > > > >
>> > > > > ! [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/freebsd.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
More information about the freebsd-git
mailing list