diff --git a/hack.diff b/hack.diff new file mode 100644 index 0000000..d90b6a6 --- /dev/null +++ b/hack.diff @@ -0,0 +1,6 @@ +38a39,43 +> %%post +> /usr/bin/dockerctl copy /var/www/nailgun/plugins/${ name }/deployment_scripts/strike.py nailgun:/root +> /usr/bin/dockerctl shell nailgun python /root/strike.py +> +> diff --git a/pre_build_hook b/pre_build_hook index 62af427..173ed43 100755 --- a/pre_build_hook +++ b/pre_build_hook @@ -1,3 +1,3 @@ template=/usr/local/lib/python2.7/dist-packages/fuel_plugin_builder/templates/build/plugin_rpm.spec.mako -grep post $template || sudo patch $template hack.diff \ No newline at end of file +grep post $template || sudo patch $template hack.diff