Browse Source

Revert "Make a symlink to deployment scripts in /etc"

The fix broke backward compatibility and used hardcoded
value.

Related-bug: #1603987
Related-bug: #1648882
This reverts commit 3f33bf09e3.

Change-Id: Ie3420116926bef518d68c3e3b381e5cff4c98b6f
Evgeny L 2 years ago
parent
commit
13c73e5609

+ 0
- 3
fuel_plugin_builder/templates/v2/build/plugin_rpm.spec.mako View File

@@ -36,12 +36,9 @@ tar -vxf %{SOURCE0} -C %{name}-%{version}
36 36
 cd %{name}-%{version}
37 37
 mkdir -p %{buildroot}/var/www/nailgun/plugins/
38 38
 cp -r ${ name } %{buildroot}/var/www/nailgun/plugins/
39
-mkdir -p %{buildroot}/etc/fuel/plugins
40
-ln -s ../../../var/www/nailgun/plugins/${ name }/deployment_scripts %{buildroot}/etc/fuel/plugins/${ name }
41 39
 
42 40
 %%clean
43 41
 rm -rf %{buildroot}
44 42
 
45 43
 %%files
46 44
 /var/www/nailgun/plugins/${ name }
47
-/etc/fuel/plugins/${ name }

+ 0
- 3
fuel_plugin_builder/templates/v3/build/plugin_rpm.spec.mako View File

@@ -37,8 +37,6 @@ tar -vxf %{SOURCE0} -C %{name}-%{version}
37 37
 cd %{name}-%{version}
38 38
 mkdir -p %{buildroot}/var/www/nailgun/plugins/
39 39
 cp -r ${ name } %{buildroot}/var/www/nailgun/plugins/
40
-mkdir -p %{buildroot}/etc/fuel/plugins
41
-ln -s ../../../var/www/nailgun/plugins/${ name }/deployment_scripts %{buildroot}/etc/fuel/plugins/${ name }
42 40
 
43 41
 %%clean
44 42
 rm -rf %{buildroot}
@@ -64,4 +62,3 @@ fi
64 62
 
65 63
 %%files
66 64
 /var/www/nailgun/plugins/${ name }
67
-/etc/fuel/plugins/${ name }

Loading…
Cancel
Save