2018-10-15 17:17:35 -05:00
|
|
|
#!/bin/bash
|
|
|
|
# Devstack settings
|
|
|
|
|
2019-02-20 14:08:07 -06:00
|
|
|
# This plugin enables StarlingX stx-update services and follows the
|
|
|
|
# DevStack plugin contract:
|
|
|
|
# https://docs.openstack.org/devstack/latest/plugins.html#plugin-sh-contract
|
|
|
|
|
|
|
|
# Services
|
|
|
|
# sw-patch
|
|
|
|
# tsconfig
|
|
|
|
|
2018-10-15 17:17:35 -05:00
|
|
|
# Defaults
|
|
|
|
# --------
|
|
|
|
|
|
|
|
STX_UPDATE_NAME=stx-update
|
|
|
|
|
|
|
|
######### Plugin Specific ##########
|
2018-10-30 08:47:32 -05:00
|
|
|
enable_service $STX_UPDATE_NAME
|
2019-02-20 14:08:07 -06:00
|
|
|
|
|
|
|
# This must not use any variables to work properly in OpenStack's DevStack playbook
|
|
|
|
define_plugin stx-update
|
|
|
|
# This works for Zuul jobs using OpenStack's DevStack roles
|
|
|
|
#plugin_requires stx-update stx-xxxx
|
2018-10-30 08:47:32 -05:00
|
|
|
|
|
|
|
# Initial source of lib script
|
|
|
|
source $DEST/stx-update/devstack/lib/stx-update
|