Commit Graph

10 Commits

Author SHA1 Message Date
Jim Gauld 443681e209 Support dockerd in-service patching with EXAMPLE_DOCKER script
This adds the EXAMPLE_DOCKER in-service patching script.
Packaging currently for CentOS, but script itself is generic.

The docker.service has required patching, so this supports future
patching.

Closes-Bug: 1996916
Depends-On: https://review.opendev.org/c/starlingx/utilities/+/865731

Test Plan:
PASS: CentOS: Apply/remove designer in-service patch including
      EXAMPLE_DOCKER and verify docker.service restarts.

Signed-off-by: Jim Gauld <james.gauld@windriver.com>
Change-Id: I2c630eac88da030af69240a2badd11f06cbd5475
2022-11-27 18:51:12 +00:00
Jim Gauld 426486ce05 Patch script for restarting kubelet and isolcpus_plugin services
This provides an example patch script for restarting kubelet and
isolcpus_plugin services.

TESTING:
- PASS: Verified restart of kubelet and isolcpus_plugin services
        with designer patch install and remove.

Story: 2008760
Task: 44541

Signed-off-by: Jim Gauld <james.gauld@windriver.com>
Change-Id: Idf624051b7238f39c4238ad72a7d7ffe14395b8b
2022-02-28 17:06:34 -05:00
albailey 73c948f9e3 Add an example restart script for distributed cloud
This is the type of script that can be invoked when
applying designer patches to test distributed cloud changes.

Change-Id: I3c743bf550e28f54f5dd4b1100ef561573e88e1a
Story: 2008137
Task: 41178
Signed-off-by: albailey <Al.Bailey@windriver.com>
2020-11-02 16:25:57 -06:00
Scott Little 78036250b6 Config file changes to remove 'tsconfig ' after relocation to 'stx-config'
Story: 2006166
Task: 35687
Depends-On: I665dc7fabbfffc798ad57843eb74dca16e7647a3
Depends-On: I8f53bf7717282828e68cb3862b1ebb21e9f5f37d
Change-Id: I5618547e7e74b76d174f10897b1c747931738cd6
Signed-off-by: Scott Little <scott.little@windriver.com>
2019-09-04 15:36:52 -04:00
Scott Little 556395e24b Config file changes to remove 'requests-toolbelt ' after relocation to 'stx-integ'
Story: 2006166
Task: 35687
Depends-On: I665dc7fabbfffc798ad57843eb74dca16e7647a3
Change-Id: I8f53bf7717282828e68cb3862b1ebb21e9f5f37d
Signed-off-by: Scott Little <scott.little@windriver.com>
2019-09-04 15:36:44 -04:00
Al Bailey 16b393f3ab Cleanup openstack components from patch scripts and tests
There were several example patch templates that demonstrated
how to patch some of the openstack processes.
Most of those openstack processes have been removed from bare
metal, so these scripts have been updated or removed.

Story: 2004764
Task: 30343
Change-Id: Ie6339d9f2dbf12e7d1a2b689676cca866b844a83
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
2019-04-04 09:39:18 -05:00
Scott Little 0769009eb6 Relocate enable-dev-patch to stx-update/enable-dev-patch
Move content from stx-utils into stx-integ or stx-update

Packages will be relocated to

stx-update:
    enable-dev-patch
    extras

stx-integ:
    config-files/
        io-scheduler

    filesystem/
        filesystem-scripts

    grub/
        grubby

    logging/
        logmgmt

    tools/
        collector
        monitor-tools

    tools/engtools/
        hostdata-collectors
        parsers

    utilities/
        build-info
        branding   (formerly wrs-branding)
        platform-util

Change-Id: I9edf4ede0369646500c6bcc5a54c9627093a96fb
Story: 2002801
Task: 22687
Signed-off-by: Scott Little <scott.little@windriver.com>
2018-08-01 12:46:56 -04:00
Eric MacDonald fdc2cc4ade Collectd+InfluxDb-RMON Replacement(ALL METRICS) P1
This update introduces a non-reboot patch example script for a service
whose patch modified its service file thereby requiring a system
daemon-reload as a precursor to the service process restart.
This new RPM was introduced in support of no-reboot patching of the
'influxdb' and 'collectd' processes ; so those are the default processes
used in this script.
Note that there is nothing that prevents a designer from using this as a
more general example script for any service that requires the same
patching operations after replacing the default process names with their
own.

Change-Id: I9f261509f16490f986722b47b0f92db4ef735609
Signed-off-by: Jack Ding <jack.ding@windriver.com>
2018-07-03 11:00:35 -04:00
Abraham Arce 2b860975b5 EXAMPLE_SERVICE: No such directory
patch-scripts/EXAMPLE_SERVICE directory does not exist, remove
from centos_pkg_dirs list.

Change-Id: I2f3690c68f5f73bd6f4fdc9ef47f193e995535b0
Signed-off-by: Abraham Arce <abraham.arce.moreno@intel.com>
2018-06-29 05:35:25 -07:00
Scott Little 58c497826a Split centos-pkg-dirs along git boundaries.
Problem:
The centos-pkg-dirs files should only reference packages with
compilation instructions hosted in the same git.

Solution:
Create centos-pkg-dirs files in other stx-* gits, and relocate
the relevant entries from the stx-utils centos-pkg-dirs into
the appropriate destination git.

Change-Id: I451ba2fd3fbd5914b65ba1f679ad366a9ae1e445
Signed-off-by: Scott Little <scott.little@windriver.com>
2018-06-20 16:26:00 -04:00