Skip to content

Conversation

@igorpeshansky
Copy link
Contributor

Also make the RPM build honor the OUTPUT_DIR setting, and make the DEB builds a bit more uniform with the RPM ones.

This is a rebase of the sles-build branch on top of the latest stackdriver-agent-5.5.2 (with version support), but with additional fixes that allow building all of the RPM packages from it. It encapsulates the SLES-specific bits into the main configs.

I will be doing some additional testing of this tomorrow, but this is ready for an initial review.

@igorpeshansky igorpeshansky requested a review from a team October 31, 2019 22:22
@ghost ghost requested review from qingling128 and removed request for a team October 31, 2019 22:23
Copy link
Contributor Author

@igorpeshansky igorpeshansky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the review. PTAL.

Copy link
Contributor

@qingling128 qingling128 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Copy link
Contributor Author

@igorpeshansky igorpeshansky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This breaks on some older platforms (wheezy, CentOS 6). I'll fix this and ask for another review once done.

@qingling128
Copy link
Contributor

Sounds good. Let me know when it's ready for another look.

Copy link
Contributor Author

@igorpeshansky igorpeshansky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, this should be good to review now.

Copy link
Contributor

@qingling128 qingling128 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@igorpeshansky igorpeshansky force-pushed the igorpeshansky-sles-build branch 2 times, most recently from b196940 to d479209 Compare November 5, 2019 00:53
Copy link
Contributor Author

@igorpeshansky igorpeshansky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some fixes to the Provides/Requires dependencies. Should be good now.

Copy link
Contributor

@qingling128 qingling128 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@igorpeshansky igorpeshansky merged commit 14fdaa1 into stackdriver-agent-5.5.2 Nov 5, 2019
@igorpeshansky igorpeshansky deleted the igorpeshansky-sles-build branch November 5, 2019 19:53
igorpeshansky added a commit that referenced this pull request Dec 9, 2019
Fixes the breakage introduced by #71, and includes the following changes:

- Add ENABLE_COREFILES to the RPM script
- Use pidfile to properly manage (start/stop) the daemon in the RPM script
  - Remove the now-redundant lockfile code
- Allow using /etc/default/stackdriver-agent in the RPM script
- Implement try_restart in the DEB script
- Change the RPM script to use force-reload instead of reload
- Remove unused legacy genhostid command
- Remove broken and unused collectdmon support from the DEB script
- Remove unused "wait-for-stop" functionality from the DEB script
- Remove unused "disable via defaults" functionality from the DEB script
igorpeshansky added a commit that referenced this pull request Jan 2, 2020
Fixes the breakage introduced by #71, and includes the following changes:

- Add ENABLE_COREFILES to the RPM script
- Use pidfile to properly manage (start/stop) the daemon in the RPM script
  - Remove the now-redundant lockfile code
- Allow using /etc/default/stackdriver-agent in the RPM script
- Implement try_restart in the DEB script
- Change the RPM script to use force-reload instead of reload
- Remove unused legacy genhostid command
- Remove broken and unused collectdmon support from the DEB script
- Remove unused "wait-for-stop" functionality from the DEB script
- Remove unused "disable via defaults" functionality from the DEB script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants