6be5a751c9
This makes some cleanup changes to the DevStack plugin for the change to master and bionic. * Define values for precedence handling by the upstream devstack playbook * Add STX_INST_DIR for a deterministic install location * Update the linters job in tox.ini to correctly include the devstack plugin Change-Id: Ida3a6c07d49510a6ec0276e83a3f966b826de26e Signed-off-by: Dean Troyer <dtroyer@gmail.com>
27 lines
648 B
Bash
27 lines
648 B
Bash
#!/bin/bash
|
|
# Devstack settings
|
|
|
|
# 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
|
|
|
|
# Defaults
|
|
# --------
|
|
|
|
STX_UPDATE_NAME=stx-update
|
|
|
|
######### Plugin Specific ##########
|
|
enable_service $STX_UPDATE_NAME
|
|
|
|
# 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
|
|
|
|
# Initial source of lib script
|
|
source $DEST/stx-update/devstack/lib/stx-update
|