--- /dev/null
+#!/bin/bash
+
+set -e
+
+source /etc/profile
+
+HOTPLUGGABLE_V4_PATH="./examples/fuel_plugin_example_v4_hotpluggable"
+rm -rf $HOTPLUGGABLE_V4_PATH
+cp -r ./examples/fuel_plugin_example_v4 $HOTPLUGGABLE_V4_PATH
+sed -i -e "s/is_hotpluggable: false/is_hotpluggable: true/g" $HOTPLUGGABLE_V4_PATH/metadata.yaml
+sed -i -e "s/fuel_plugin_example_v4/fuel_plugin_example_v4_hotpluggable/g" $HOTPLUGGABLE_V4_PATH/metadata.yaml
+
+./run_tests.sh -F
--- /dev/null
+- job-template:
+ name: '{version-id}.build-fuel-plugins'
+ id: mos/templates/build-fuel-plugins
+ description: |
+ Build {version-id}.plugins for Fuel plugins project.
+ builders:
+ - shell:
+ !include-raw-escape: ../scripts/build-fuel-plugins.sh
+ build-discarder:
+ artifactNumToKeep: 1
+ numToKeep: 1
+ node: jenkins-master
+ concurrent: true
+ properties:
+ - heavy-job:
+ weight: 1
+ publishers:
+ - archive:
+ allow-empty: true
+ artifacts: 'built_plugins/*.fp, built_plugins/*.rpm'
+ latest-only: false
+ - description-setter:
+ regexp: '(<a href=.*a>)'
+ scm:
+ - git:
+ url: 'https://opendev.org/openstack/fuel-plugins'
+ branches:
+ - origin/master
+ basedir: ''
+ credentials-id: openstack-ci-jenkins
+ - fuel-infra-gerrit:
+ reponame: fuel-plugin-detach-database
+ repobranch: origin/{repo_branch}
+ basedir: examples/fuel-plugin-detach-database
+ - fuel-infra-gerrit:
+ reponame: fuel-plugin-detach-rabbitmq
+ repobranch: origin/{repo_branch}
+ basedir: examples/fuel-plugin-detach-rabbitmq
+ - fuel-infra-gerrit:
+ reponame: fuel-plugin-detach-keystone
+ repobranch: origin/{repo_branch}
+ basedir: examples/fuel-plugin-detach-keystone
+ - fuel-infra-gerrit:
+ reponame: fuel-plugin-detach-haproxy
+ repobranch: origin/{repo_branch}
+ basedir: examples/fuel-plugin-detach-haproxy
+ - fuel-infra-gerrit:
+ reponame: fuel-plugin-external-lb
+ repobranch: origin/{repo_branch}
+ basedir: examples/fuel-plugin-external-lb
+ wrappers:
+ - ansicolor:
+ colormap: xterm
+ - timeout:
+ fail: true
+ timeout: 10