Strider CD/CI
-
@murgero Probably a dumb question, but do you know how I would automate inputs for this command? (this is the script strider used to make accounts):
node /app/code/apps/strider/bin/strider addUser
Theres also some console errors regarding mixed https/http content so I'll see if theres more config I'm missing. SMTP seems to be fairly straightforward too.
-
@atrilahiji Look into using
expect
: http://manpages.ubuntu.com/manpages/bionic/man1/expect.1.htmlIt allows you to automate interactive prompts like that.
-
@murgero said in Strider CD/CI:
http://manpages.ubuntu.com/manpages/bionic/man1/expect.1.html
Oh thanks! I tried a few things but they always seemed to get stuck on the y/n prompts. I'll take a look at that.
-
that looks like a regular adduser output.
can you look into what strider is actually doing? internal app vs OS user and any parameters available to the addUser function?
The OS adduser is scriptable using the
-gecos "Name"
parameter.I suspect it's just a strider aware, OS useradd process.
Also see if it checks for the existance of the user, which you can create beforehand.
-
@robi said in Strider CD/CI:
that looks like a regular adduser output.
can you look into what strider is actually doing? internal app vs OS user and any parameters available to the addUser function?It's internal users, not POSIX or admin afaik. Also, the output there looks nothing like adduser command on linux.
-
I have a demo up here: https://striderdemo.lahijiapps.dev/
And my latest code here: https://git.cloudron.io/AtriLahiji/strider-appOnly thing i'm noticing now is those mixed http/https content warning and that it seems to constantly be loading after logging in. Feel free to take a look. Admin infi is admin/changeme123
I'm realizing now that plugin support requires it to be in /app/data...
-
Yeah. Also plugins seem to trigger installs in other weird directories.