From owner-freebsd-git@freebsd.org Thu Sep 24 08:51:46 2020 Return-Path: Delivered-To: freebsd-git@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1150B3F118F for ; Thu, 24 Sep 2020 08:51:46 +0000 (UTC) (envelope-from arichardson.kde@gmail.com) Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bxpgj2fhrz47Y5; Thu, 24 Sep 2020 08:51:45 +0000 (UTC) (envelope-from arichardson.kde@gmail.com) Received: by mail-ej1-f48.google.com with SMTP id gr14so3414228ejb.1; Thu, 24 Sep 2020 01:51:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=97KIy8v6MeMSmb4Hx3B3Md2YZbZtV4cx77/rYYic4Q0=; b=SYVEE/2px+EzCI5XD1a+GmsY1GqXxpW6YfDyygnCRja5nwfYCpcWABs2SRmzeDvW+i hnDeLSEXKUuH1xMgV8JMIwlI3qaip6kB51AONyr+Nzo2G/ClZaok01Wo+147FI7PVAof XCUSrXxhLfEgleJH8N66m6zFTW7h2nkRyOifeNXazaPEqjZ5uBH175235ggV39e5aMBx maulBLuABCrfLWQm8iRtx4pHgrduaQwVOpF0xslPc/KD275LtncjV6jlcZUqds6iXS9o 4uZfBkZ1AwszlYPr2Zao/cJ/l1Y0T5C/xjS5qj3p7ncZz5Fg9qiYWTUiF9FDyC+ydr5N BQqg== X-Gm-Message-State: AOAM531gig9B46ACZn5DF+FuHcK5pzU32Py9fda5PMqj/ljdEQj33p36 uWXlGcDGVHJ+gXWv9ituJjdoZfQJ9kZR/A== X-Google-Smtp-Source: ABdhPJxpP4m4OlIyG+hhymoSZn/PmX+qecaPDSBUm2D4zIHiMfb4Mv576hTeizs5rpFP+fPFSiDDMw== X-Received: by 2002:a17:906:11d2:: with SMTP id o18mr3455801eja.420.1600937503666; Thu, 24 Sep 2020 01:51:43 -0700 (PDT) Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com. [209.85.221.45]) by smtp.gmail.com with ESMTPSA id d25sm2035347edq.52.2020.09.24.01.51.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 24 Sep 2020 01:51:43 -0700 (PDT) Received: by mail-wr1-f45.google.com with SMTP id o5so2814627wrn.13; Thu, 24 Sep 2020 01:51:43 -0700 (PDT) X-Received: by 2002:a5d:5751:: with SMTP id q17mr3908539wrw.409.1600937503054; Thu, 24 Sep 2020 01:51:43 -0700 (PDT) MIME-Version: 1.0 References: <202009231254.08NCsbvl097012@repo.freebsd.org> <17915865-DF2F-473D-AB52-4C69D7DB706F@freebsd.org> In-Reply-To: From: Alexander Richardson Date: Thu, 24 Sep 2020 09:51:31 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: svn commit: r366074 - in head/.github: . workflows To: =?UTF-8?Q?Ulrich_Sp=C3=B6rlein?= Cc: Jessica Clarke , Ed Maste , freebsd-git@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4Bxpgj2fhrz47Y5 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; TAGGED_FROM(0.00)[] X-BeenThere: freebsd-git@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussion of git use in the FreeBSD project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Sep 2020 08:51:46 -0000 On Thu, 24 Sep 2020 at 08:33, Ulrich Sp=C3=B6rlein 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 w= rote: >> >> On Wed, Sep 23, 2020 at 9:38 PM Alexander Richardson >> wrote: >> > >> > On Wed, 23 Sep 2020 at 20:20, Ulrich Sp=C3=B6rlein w= rote: >> > > >> > > On Wed, Sep 23, 2020 at 4:33 PM Jessica Clarke = wrote: >> > > > >> > > > On 23 Sep 2020, at 15:29, Ulrich Sp=C3=B6rlein 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