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

Updating RPM build script and spec file #693

Merged
merged 2 commits into from
Oct 20, 2022

Conversation

alkavan
Copy link
Contributor

@alkavan alkavan commented Jul 31, 2021

This PR contains two updates to the RPM build script file and spec.

Firstly, I updated the rpm_build.sh script to work from inside the os-build/linux-rpm/ directory. Before it worked only if it was moved to os-build/. Also, updated the version and summary of the spec file.

The second commit is more of a nice-to-have but I think it's pretty useful. Now you can pass --release option to rpm_build.sh and it will build RPM packages from the tag archive (github) corresponding to the version defined in sozu.spec. This is more safe method for production since it will 100% take the tagged sources from github and not your local code.

I'm making this changes so we could more easily produce production builds of sozu for our company needs. I will be glad to keep maintain this section when need, and plan on contributing other ways as well.

* Updating description and version in spec file.
* Updating RPM build script, so you can run it from its current directory.
* Adding .gitignore to exclude *.rpm files from commit.
* Refactoring build script with BASH conventions.
* First one we behave like before - build sozu from the current checked-out sources, and it is the default one.
* Second option will build the version defined in the spec file by downloading the corresponding tag archive from gituhb.
@CLAassistant
Copy link

CLAassistant commented Jul 31, 2021

CLA assistant check
All committers have signed the CLA.

@Keksoj
Copy link
Member

Keksoj commented Dec 27, 2021

@Keruspe could you have a look at this? You being the build expert ;-)

@Keksoj Keksoj added this to In progress in Roadmap via automation Dec 27, 2021
@Keksoj Keksoj moved this from In progress to Review in progress in Roadmap Dec 27, 2021
@FlorentinDUBOIS FlorentinDUBOIS merged commit a23d7fa into sozu-proxy:main Oct 20, 2022
Roadmap automation moved this from Review in progress to Done Oct 20, 2022
@alkavan alkavan deleted the linux-rpm-update branch October 20, 2022 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Roadmap
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

4 participants