[Libre-soc-bugs] [Bug 190] Setup Gitlab CI Runner for Kazan on a computer
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Tue Apr 19 08:47:45 BST 2022
https://bugs.libre-soc.org/show_bug.cgi?id=190
--- Comment #54 from Jacob Lifshay <programmerjake at gmail.com> ---
I got blinky to successfully program using gitlab-runner and docker on my
desktop, I'll put it on the build server tomorrow.
Took a while to get all the required stuff working (nextpnr-xilinx and all that
fun stuff).
I realized that ssh wouldn't really work since the docker container wouldn't
have any ssh keys that were valid for the host, and I didn't really want it to
have any...I realize that could be worked around, but it sounds like a pain.
So instead, I wrote a python program that tunnels out of docker using a unix
socket, the daemon outside runs xc3sprog (as well as saves a copy of the last
.bit file, came in handy for testing). the unix socket can be put inside the
docker container by using the gitlab-runner config to set up a docker volume
that is just the unix socket file.
apparently xc3sprog wants its stdout/stderr to be a terminal, so I had to
figure that out too.
I want to move program-fpga.py to another repo so we have a centralized
location for it so we don't have a bunch of copies getting out of sync, does
utils.git sound good?
https://salsa.debian.org/Kazan-team/gitlab-runner-test/-/commit/0447eefda9e443842e09b11672d73082a3df83c6
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list