Skip to main content

ci:build.moriod.rpm

The ci:build.moriod.rpm builds a RedHat package (.rpm) for moriod, the morio distribution.

Run npm run ci:build.moriod.rpm in the root to trigger this script.

Under the hood, this will run:

Terminal
./scripts/ci-build-moriod-rpm.sh

Publish the built package

This script takes an optional parameter publish that will publish the newly built .rpm package on packagecloud.io/morio/rocky-9:

Terminal
npm run ci:build.moriod.rpm publish

To make this work, the following environment variables should be available:

NameDescription
PACKAGECLOUD_TOKENThe token to access the packagecloud.io API (docs)