Skip to content
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

Move build.sh execution from %posttrans to rockstor-build.service #61 #63

Conversation

phillxnet
Copy link
Member

Move the execution of build.sh from outside of the constraints of the rpm packaging system, to the level of OS orchestration: systemd.

Fixes #61

Includes:

  • Removal of redundant Poetry install/update. We now assume this of our build host, and assert rockstor-build.service / build.sh as the sole source of truth for this.
  • Simplify %check scriptlet by similarly removing redundancy re GNUPG & 'pass' setup/config. Referencing rockstor-build.service / build.sh, and rockstor-pre.service for these build host assumptions.
  • Minor comment corrections /updates.
  • Remove redundant poetry paths for readability.
  • Align poetry install logging, during %check with current build.sh.

Partner Pull Request:

…kstor#61

Move the execution of build.sh from outside of the constraints of
the rpm packaging system, to the level of OS orchestration: systemd.

## Includes:
- Removal of redundant Poetry install/update. We now assume this of our
build host, and assert rockstor-build.service / build.sh as the sole
source of truth for this.
- Simplify %check scriptlet by similarly removing redundancy re GNUPG &
'pass' setup/config. Referencing rockstor-build.service / build.sh, and
rockstor-pre.service for these build host assumptions.
- Minor comment corrections /updates.
- Remove redundant poetry paths for readability.
- Align poetry install logging, during %check with current build.sh.
@phillxnet
Copy link
Member Author

Testing

See the linked rockstor-core partner pull request from the following comment onwards:
rockstor/rockstor-core#2795 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant