StackStorm / st2-packages

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

Ignore systemctl deamon-reload failure #710

Closed arm4b closed 2 years ago

arm4b commented 2 years ago

A follow-up to https://github.com/StackStorm/st2-packages/pull/706#discussion_r730419882 Fixes docker build where systemd is not available during the st2 package installation resulting in a failure.

https://app.circleci.com/pipelines/github/StackStorm/st2-dockerfiles/756/workflows/5fcaa169-2baa-4521-911e-5bc7f42ee300/jobs/1279

Setting up st2 (3.6dev-47) ...
System has not been booted with systemd as init system (PID 1). Can't operate.
dpkg: error processing package st2 (--configure):
 installed st2 package post-installation script subprocess returned error exit status 1
arm4b commented 2 years ago

Docker master build uses unstable packages, while we deploy to staging-unstable here. The scheduled promotion from staging to unstable may take some time.

Will need to follow-up on this once again and check if the new packages really fix the Docker build: https://app.circleci.com/pipelines/github/StackStorm/st2-dockerfiles?branch=master

arm4b commented 2 years ago

Docker build works OK now: https://app.circleci.com/pipelines/github/StackStorm/st2-dockerfiles/759/workflows/2932cb21-baf5-4e50-a6a5-b405f237c655/jobs/1283