StackStorm / st2-packages

StackStorm deb/rpm packages (automated docker build pipeline)
https://stackstorm.com/
27 stars 59 forks source link

generate unit file for st2api, st2auth and st2stream #721

Open nzlosh opened 2 years ago

nzlosh commented 2 years ago

Move api, auth and stream service unit files to generator so st2.conf variables are used consistently for .socket and .service files.

cognifloyd commented 1 year ago

aargh. There's still no helpful output during yum install. I don't know which verbosity flag(s) to use (--verbose or --rpmverbosity or both?), but what if we add some verbose settings on this line:

https://github.com/StackStorm/st2-packages/blob/6fba8554f6a46992db49f7bc6a2a7b429005d1d8/scripts/install_os_packages.sh#L15

scripts/install_os_packages.sh gets called in the package tests here: https://github.com/StackStorm/st2-packages/blob/739d24ec47d1889670e57581c482a5bbcf8a60a8/rake/build/setup.rake#L13

We need to figure out why the %post bits aren't running like we expect. ☹️

nzlosh commented 1 year ago

I'm going to debug this on a VM, pushing and waiting for the CI to fail is a hindrance and unreasonably slow.