-
Notifications
You must be signed in to change notification settings - Fork 428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation and package building process #689
Comments
We have to remember to create the installation in a way that keeps logs, mnesia, cfg files (maybe sth else) files in directories like:
Basically follow the "good practices" for software packages whatever they are. |
Re repo, I would say that this |
The remark from #448 applies:
Therefore, |
We have package building scripts in our repo now. |
We need a repeatable .deb and .rpm package building process. Ideally, as much of the support scripts and configuration between the two should be shared. The first checkpoint on this path would be to make sure the standard procedure of cloning followed by:
works as expected. Then, during the package building process we can use the above procedure to generate the files which will be shipped in the package. The
install
rule will most probably need to define an extra level of parameters (e.g.DESTDIR
used in Debian package building process) which ought to have sane defaults for the case of installing directly from source, but be overridden for installation in a sandbox when building a package.A convenient interface for triggering a build would be a repository following the Infrastructure as Code pattern. To build a package, we would:
build deb
,build rpm
, ...For as long as the working directory of this repo is intact, we retain all logs and generated artifacts locally. Artifacts may, but don't have to be stored remotely on the build host (I'm not sure what's the current approach).
The text was updated successfully, but these errors were encountered: