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

Add sonic-host-services and sonic-host-services-data packages #5694

Merged
merged 7 commits into from
Oct 23, 2020
Merged

Add sonic-host-services and sonic-host-services-data packages #5694

merged 7 commits into from
Oct 23, 2020

Conversation

jleveque
Copy link
Contributor

- Why I did it

Install all host services and their data files in package format rather than file-by-file

- How I did it

  • Create sonic-host-services Python wheel package, currently including procdockerstatsd
    • Also add the framework for unit tests by adding one simple procdockerstatsd test case
  • Create sonic-host-services-data Debian package which is responsible for installing the related systemd unit files to control the services in the Python wheel. This package will also be responsible for installing any Jinja2 templates and other data files needed by the host services.

- How to verify it

Build and install an image. Ensure the procdockerstatsd service is installed, enabled and running using systemctl status procdockerstatsd.service

- Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006

@jleveque jleveque added the Build label Oct 22, 2020
@jleveque jleveque requested a review from lguohan October 22, 2020 01:47
@jleveque jleveque self-assigned this Oct 22, 2020
@jleveque jleveque marked this pull request as ready for review October 23, 2020 16:51
@jleveque jleveque merged commit 3a4435e into sonic-net:master Oct 23, 2020
@jleveque jleveque deleted the host_services_packages branch October 23, 2020 16:52
santhosh-kt pushed a commit to santhosh-kt/sonic-buildimage that referenced this pull request Feb 25, 2021
…net#5694)

**- Why I did it**

Install all host services and their data files in package format rather than file-by-file

**- How I did it**

- Create sonic-host-services Python wheel package, currently including procdockerstatsd
  - Also add the framework for unit tests by adding one simple procdockerstatsd test case
- Create sonic-host-services-data Debian package which is responsible for installing the related systemd unit files to control the services in the Python wheel. This package will also be responsible for installing any Jinja2 templates and other data files needed by the host services.
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.

2 participants