On Sun, Feb 18, 2024 at 10:02 AM irreallich@126.com wrote:
Hi, Milosz, Thank you for your help ,I will try it and update soon, I think it should be work. we need Another questions:
- Why don't you recommend using scp to deploy, because deploying using scp looks very beautiful.
I've never used it and I don't know how/if it works. You might be lucky though :)
- Is there a way to add worker to lava-server through worker? since our test device is limited and in the hands of different engineers, I hope to be able to add these devices to lava-server when the device is free, i want to make a docker on the engineer's pc, the docker is lava-dispatcher, when a run the docker, how to add it to lava-server on lava-dispatcher?
You need to setup worker as 'auto-registration'. This is done by creating a user with proper privileges to create auth tokens and workers. Then lava-worker script accepts the parameters --username and --password. You need to send the username and password to people who are going to run the dispatcher. Sadly I didn't find this in the docs, so I can't point you to any examples. Alternatively you just generate workers (with tokens) in the admin interface and send them (tokens) out to your colleagues. Both methods do pretty much the same thing.
Best Regards, Milosz
lava-users mailing list -- lava-users@lists.lavasoftware.org To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s