From: "Roger Pau Monné" <roger.pau@citrix.com>
To: Andrew Cooper <andrew.cooper3@citrix.com>
Cc: xen-devel@lists.xenproject.org,
Anthony PERARD <anthony.perard@vates.tech>,
Michal Orzel <michal.orzel@amd.com>,
Jan Beulich <jbeulich@suse.com>, Julien Grall <julien@xen.org>,
Stefano Stabellini <sstabellini@kernel.org>
Subject: Re: [PATCH] automation/cirrus-ci: store xen/.config as an artifact
Date: Mon, 10 Mar 2025 19:38:18 +0100 [thread overview]
Message-ID: <Z88xmtUGw5k1nsBN@macbook.local> (raw)
In-Reply-To: <b95a2bcc-4ab8-46d5-9d92-1f2c37d4c279@citrix.com>
On Mon, Mar 10, 2025 at 06:30:15PM +0000, Andrew Cooper wrote:
> On 10/03/2025 6:16 pm, Roger Pau Monne wrote:
> > Always store xen/.config as an artifact, renamed to xen-config to match
> > the naming used in the Gitlab CI tests.
> >
> > Reported-by: Andrew Cooper <andrew.cooper3@citrix.com>
> > Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
>
> Looking at this, I suspect my failure was caused by trying to capture
> ".config" directly.
>
> > ---
> > .cirrus.yml | 12 ++++++++++++
> > 1 file changed, 12 insertions(+)
> >
> > diff --git a/.cirrus.yml b/.cirrus.yml
> > index e2949d99d73a..1a39f5026f9a 100644
> > --- a/.cirrus.yml
> > +++ b/.cirrus.yml
> > @@ -15,6 +15,14 @@ freebsd_template: &FREEBSD_ENV
> > APPEND_INCLUDES: /usr/local/include
> > CIRRUS_CLONE_DEPTH: 1
> >
> > +freebsd_artifacts: &FREEBSD_ARTIFACTS
> > + always:
> > + rename_script:
> > + - cp xen/.config xen-config
> > + config_artifacts:
> > + path: xen-config
> > + type: text/plain
>
> Can't this be part of freebsd_template directly?
>
> Or is there an ordering problem with the regular build_script ?
Exactly, that was my first attempt (placing it in freebsd_template),
but then the collection would be done before the build, as
freebsd_template sets the env variables ahead of the build, see:
https://cirrus-ci.com/task/5086615544004608
Thanks, Roger.
next prev parent reply other threads:[~2025-03-10 18:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-10 18:16 [PATCH] automation/cirrus-ci: store xen/.config as an artifact Roger Pau Monne
2025-03-10 18:30 ` Andrew Cooper
2025-03-10 18:38 ` Roger Pau Monné [this message]
2025-03-10 20:00 ` Andrew Cooper
2025-03-10 21:50 ` Stefano Stabellini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Z88xmtUGw5k1nsBN@macbook.local \
--to=roger.pau@citrix.com \
--cc=andrew.cooper3@citrix.com \
--cc=anthony.perard@vates.tech \
--cc=jbeulich@suse.com \
--cc=julien@xen.org \
--cc=michal.orzel@amd.com \
--cc=sstabellini@kernel.org \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.