From: Jacob Lifshay <programmerjake@gmail.com>
To: Libre-RISCV General Development <libre-riscv-dev@lists.libre-riscv.org>
Subject: [libre-riscv-dev] gitlab-ci-archiver status
Date: Thu, 9 Apr 2020 13:03:26 -0700
Message-ID: <CAC2bXD6Ui4j9PiWkc1ofn_xek+HmsM0qr8VvrRah885Dp3gKPA@mail.gmail.com> (raw)
In-Reply-To: <CAPweEDwe6sRq6MqDGTZf=F61D6PUjcG5LMxRstAyhu3ZxjopkA@mail.gmail.com>
On Thu, Apr 9, 2020, 12:32 Luke Kenneth Casson Leighton <lkcl@lkcl.net>
wrote:
> On Thu, Apr 9, 2020 at 8:21 PM Jacob Lifshay <programmerjake@gmail.com>
> wrote:
> > I used gitlab-ci-archiver to copy the build logs to the git repo's demo
> > branch.
>
> ahh, fantastic.
>
> is that in a position to hand over to frieder or alain?
>
Currently it needs modification to respond properly to adding a new build
to an existing pipeline (if someone clicks rebuild), it currently ignores
all pipelines already committed to the archive git repo. I'd estimate maybe
an hour of work by an experienced Rust programmer is needed.
It also needs code to send out the build failure emails, or that could be
done by a shell script by parsing all the new commits -- so an hour of work
in either bash or Rust -- both should call out to sendmail or equivalent or
we could use something like lettre.at which is a Rust email library. I
would assume the encryption referred to on lettre.at is TLS for email and
not PGP. We should probably set all emails to be forwarded through
libre-soc.org since gmail doesn't like getting emails from a home internet
ip address.
Other than those two things, it should be ready for active service.
The cron job that runs it should also run git push
It has checks to make sure the git repo is set up correctly and that it
won't mess anything up, however it won't work correctly if the repo is
being modified while it runs, so only one instance should run at a time on
each repo.
It's designed to archive the build logs of several gitlab projects at once,
so we should only need to run one instance.
The readme contains instructions for setting it up and using it:
https://salsa.debian.org/Kazan-team/gitlab-ci-archiver/-/blob/master/README.md
Jacob
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
next prev parent reply index
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-09 19:21 [libre-riscv-dev] more build failures Jacob Lifshay
2020-04-09 19:31 ` Luke Kenneth Casson Leighton
2020-04-09 20:03 ` Jacob Lifshay [this message]
2020-04-09 20:24 ` [libre-riscv-dev] gitlab-ci-archiver status Luke Kenneth Casson Leighton
2020-04-09 20:31 ` Jacob Lifshay
2020-04-09 21:48 ` Luke Kenneth Casson Leighton
2020-04-09 21:54 ` Jacob Lifshay
2020-04-09 23:19 ` Luke Kenneth Casson Leighton
2020-04-10 1:56 ` Luke Kenneth Casson Leighton
2020-04-10 2:27 ` Jacob Lifshay
2020-04-10 12:08 ` Luke Kenneth Casson Leighton
2020-04-10 17:15 ` Jacob Lifshay
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=CAC2bXD6Ui4j9PiWkc1ofn_xek+HmsM0qr8VvrRah885Dp3gKPA@mail.gmail.com \
--to=programmerjake@gmail.com \
--cc=libre-riscv-dev@lists.libre-riscv.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
Libre RISC-V Mailing list Archives (accessible via public-inbox)
Archives are clonable: git clone --mirror https://inbox.libre-soc.org/libre-riscv-dev
Example config snippet for mirrors
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git