daniels changed the topic of #freedesktop to: https://www.freedesktop.org infrastructure and online services || for questions about freedesktop.org projects, please see each project's contact || for discussions about specifications, please use https://gitlab.freedesktop.org/xdg or xdg@lists.freedesktop.org
ximion has quit [Remote host closed the connection]
ximion has joined #freedesktop
Haaninjo has quit [Quit: Ex-Chat]
usc has joined #freedesktop
psychon has quit [Read error: Connection reset by peer]
vulpes2[m] has joined #freedesktop
privacy has quit [Quit: Leaving]
ximion has quit [Quit: Detached from the Matrix]
tlwoerner_ has joined #freedesktop
tlwoerner has quit [Read error: Connection reset by peer]
privacy has joined #freedesktop
AbleBacon has quit [Read error: Connection reset by peer]
GNUmoon has quit [Remote host closed the connection]
GNUmoon has joined #freedesktop
strugee has quit [Ping timeout: 480 seconds]
strugee has joined #freedesktop
damian has quit []
i509vcb has quit [Quit: Connection closed for inactivity]
tlwoerner__ has joined #freedesktop
tlwoerner_ has quit [Read error: Connection reset by peer]
Haaninjo has joined #freedesktop
<pinchartl>
what's a typical workflow for CI on merge requests, when testing on real hardware ? my understanding is that a merge request from a fork runs the pipeline in the fork (otherwise it could steal secrets and do lots of bad things). do maintainers of the parent project need to manual trigger a pipeline run after reviewing the merge request to make sure it doesn't contain malicious code ?
<pinchartl>
and does this also mean that I should consider all variables defined in the project's configuration to be readable by any user who has permission to run pipelines ?
<ishitatsuyuki>
pinchartl: only trusted developers will be able to run CI anyway, even for forks. drive-by contributors will need to ask someone to run CI for them
<ishitatsuyuki>
I believe if you trigger a "Merge Request Pipeline", it runs with the secrets of the main project
<pinchartl>
thanks for the link
<pinchartl>
my understanding is that a developer trusted by gitlab.fd.o will be able to use the standard runners in their fork
<pinchartl>
but their fork won't contain the secrets of the parent project
<ishitatsuyuki>
yes
<pinchartl>
so the jobs in the forked .gitlab-ci.yml that depend on those secrets (such as submitting test jobs to a LAVA farm for instance) won't run successfully
<ishitatsuyuki>
i think you are right
<pinchartl>
while developers trusted by the parent project will be allowed to run pipelines in the parent project, accessing the secrets
<pinchartl>
which means that any such trusted developer could see the secret variables
<ishitatsuyuki>
I guess yes
<ishitatsuyuki>
but I don't think secrets are dumped by default and they will need to explicitly push a malicious commit to dump it
<pinchartl>
I need to study the permission model in more details. obviously gitlab users who are maintainers of the parent project can access the variables in the gitlab UI, but I wonder how users who are granted developer membership will be treated
<pinchartl>
yes, they would need to push a malicious commit to a test branch and run the pipeline on it
Haaninjo has quit [Quit: Ex-Chat]
colinmarc has joined #freedesktop
<colinmarc>
hi, I am trying to create a gitlab.freedesktop.org account to submit a patch to mesa, but the confirmation never sent (email: hi@colinmarc.com; I signed up an hour ago). I clicked the resend button a few times in that time. Sorry if this is the wrong channel to ask about this issue.
<DavidHeidelberg>
colinmarc: Heya! Nice to see new Mesa contributor. Don't worry, it takes some time, but you get confirmation (I guess no later than on Monday)
<colinmarc>
oh ok, thanks!
ximion has joined #freedesktop
colinmarc has quit [Remote host closed the connection]
Inline has quit []
martink has quit [Quit: Leaving]
alpernebbi has quit [Ping timeout: 480 seconds]
alpernebbi has joined #freedesktop
<lumag>
mupuf: I stumbled upon unpredictable delays between turning 220V off and the PSU capacitors actually being drained enough to power off the device (especially if the device is in some low-power state).
<lumag>
So my definite vote is for cutting 12V / 5V via the relay instead of 220V.
<lumag>
But this way I end up with the mess of wires
<mupuf>
I keep thinking about making a PCB like this... But it always feels like too much
<pinchartl>
the USB-to-UART chip on that board has host-controllable GPIOs connected to the reset signal, the power on signal, and the boot mode selection signal
<pinchartl>
I want the same everywhere
<pinchartl>
it's sooooooo nice to use
<pinchartl>
you can control power and reflash everything, including a bricked boot loader, without any external equipment nor manual intervention
<lumag>
heh. 96boards uart mezz had ability to reset the board IIRC
<lumag>
But 96b is mostly dead
<mupuf>
Asahi made something like that already
<pinchartl>
given the amount of people who need to perform automated testing, why can't we pool resources and create something that would be reasonably cheap to manufacture ?
<mupuf>
The issue is that if we want to support all kind of boards, we'll end up building a monster PCB :D
<lumag>
mupuf, IMO, detachable FTDI might be better. e.g. most of the boards that I care about have onboard FTDI. But then we loose FTDI GPIO.
<pinchartl>
mupuf: that's why I think this should be a 80/20 project. 20% of the effort and cost to cover 80% of the use cases
<lumag>
and don't forget that the board ideally should be sourced from PoE
<pinchartl>
I would give it an external 24V power
<pinchartl>
that will allow high power USB PD
<pinchartl>
it's easily available
<pinchartl>
solving just the USB power problem should be reasonably cheap
<pinchartl>
and that would help a lot
<lumag>
PoE is 48V
<pinchartl>
yes, but more hardware
<lumag>
and it remove 90% of the cabling
<lumag>
Yes. And the price goes to the sky
<pinchartl>
I'd go for CAN for the control interface. easy cabling, the devices can be daisy-chained, and easy to program in a small µC
<pinchartl>
"How to Design an Isolated CAN Port for Space
<pinchartl>
Constrained Industrial Applications"
<pinchartl>
RS422 could also be an option
<pinchartl>
sorry, RS485
<lumag>
Anyway, both CAN and RS485 will require some configuration, won't they?
<mupuf>
We need HDMI IN too, 8k compatible!
<lumag>
I mean you can not just plug the new controller. It should be addressable
* mupuf
sees himself out
<lumag>
mupuf, no!
<mupuf>
:D
<lumag>
I ordered tesmart 16-port switch. I would like to try it out
<lumag>
Other solutions are mostly crap or cost a lot
<mupuf>
lumag: cool!
<pinchartl>
lumag: correct, but that's doable relatively easily. make all devices reply to a broadcast address, with a protocol to set the device address
<lumag>
This starts to look like WiFi or 802.15.4 over the wire
<mupuf>
The problem with buses is what happens when one connection gets broken, you lose many devices
<lumag>
like old 10base2 eth
<mupuf>
Maybe it makes sense if the PCB is panelized and seccable
<lumag>
Thank you, I had that in the physical lab in my school times
<mupuf>
This way, you could add ports to your PDU by just soldering more ports
<lumag>
mupuf, I'd toss another feature into the list: USB-C switch. Ideally we should be able to switch between basic USB-PD + USB passthrough to the host and another USB-C device attached to the dongle.
<lumag>
So that we can test USB-C altmodes
<pinchartl>
lumag: that's not 80/20 anymore :-)
<lumag>
Yep :-(
<mupuf>
Why have USB-PD though?
<lumag>
I think that was pinchartl's requirement?
<mupuf>
Why not just cutting the power and data pins?
<lumag>
And SBU, and CC?
<pinchartl>
mupuf: because lots of dev boards are nowadays using USB for power, and they consume more than 500mA
<pinchartl>
some work fine with a dumb USB power block that delivers a few amps with USB-PD
<pinchartl>
but others don't
<pinchartl>
so it's a mess
<mupuf>
Of course, but I meant to say that we could just cut the power/data pins
<lumag>
mupuf, and pass through the external power supply?
<lumag>
this means more and more cabling for single DUT
<mupuf>
lumag: yes, and yes
<lumag>
well. having external supply + stusb4761 sounds like a better solution.
<mupuf>
Will need to look into it :)
damian has joined #freedesktop
psykose has joined #freedesktop
thaller has joined #freedesktop
GNUmoon has quit [Remote host closed the connection]
GNUmoon has joined #freedesktop
Leopold_ has joined #freedesktop
f_ is now known as Guest9872
Guest9872 is now known as f_
Leopold_ has quit [Remote host closed the connection]
Leopold has joined #freedesktop
Leopold has quit [Remote host closed the connection]
Leopold has joined #freedesktop
CrEddy has quit [Ping timeout: 480 seconds]
alanc has quit [Remote host closed the connection]
alanc has joined #freedesktop
Haaninjo has joined #freedesktop
<daniels>
mupuf: I’ve asked Doug from our team about PD switches - he’s apparently found a good one
<mupuf>
daniels: sweet! Let us know when you get the model name :) Thanks!
thaller has quit [Remote host closed the connection]
sima has quit [Ping timeout: 480 seconds]
Haaninjo has quit [Quit: Ex-Chat]
psykose has quit [Ping timeout: 480 seconds]
pjakobsson_ has quit [Ping timeout: 480 seconds]
pjakobsson has joined #freedesktop
psykose has joined #freedesktop
Leopold has quit [Remote host closed the connection]
Leopold_ has joined #freedesktop
nektro has quit [Remote host closed the connection]