Skip to content

Conversation

@nick-whyatt
Copy link
Contributor

@nick-whyatt nick-whyatt commented Nov 2, 2023

Resolves #123
Resolves GT-253

This PR adds a build script that supersedes ssm-build-rpm.sh and ssm-build-deb.sh by adapting the FPM calls made in the original Debian script and adding configurable parameters. It works with Python 2.7 and >= 3.6, and requires FPM 1.14.2 and a version of Ruby at or above 2.7, as well as specifically Setuptools==51.3.3. It allows a version to be specified to pull from the repository and be setup.

Usage: ./ssm-build-dual.sh [options] (deb | rpm) <version> <iteration> <python_root_dir>

Currently, this should work for all future versions and all the past RPM versions: Debian, it doesn't work for before the coming 3.4.0 update due to CHANGELOG having a title.

@nick-whyatt
Copy link
Contributor Author

Build script is here! Finally working on EL8 and Debian systems, with service setup.

@nick-whyatt nick-whyatt marked this pull request as ready for review January 17, 2024 11:06
@nick-whyatt nick-whyatt requested a review from a team as a code owner January 17, 2024 11:06
@nick-whyatt
Copy link
Contributor Author

For some reason there's still a merge conflict - was the patch reverted? or is this due to my dev branch not being fast forwarded?

@tofu-rocketry tofu-rocketry self-assigned this Jan 17, 2024
@tofu-rocketry
Copy link
Member

For some reason there's still a merge conflict - was the patch reverted? or is this due to my dev branch not being fast forwarded?

That'll be because we merged the change to the CHANGELOG into the dev branch separately. I'll help you sort that out towards the end of the week.

Could you have a look at the code quality checks and see if you can improve that?

@nick-whyatt nick-whyatt changed the title Nick 123 FPM build script for SSM and SSM-Service for RPM and DEB Jan 17, 2024
@nick-whyatt nick-whyatt changed the title FPM build script for SSM and SSM-Service for RPM and DEB FPM build script for RPM and DEB Jan 17, 2024
@nick-whyatt nick-whyatt force-pushed the nick-123 branch 3 times, most recently from 4b5260b to fb8fd84 Compare January 18, 2024 10:29
@tofu-rocketry tofu-rocketry force-pushed the nick-123 branch 2 times, most recently from 0d2ef47 to 0da5063 Compare February 6, 2024 15:15
- Adds cryptography as a dependency before pyopenssl
- Modified pyopenssl to lower case to satisfy pip call
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Build and test on CentOS 8

2 participants