diff --git a/.gitignore b/.gitignore index 5e180a751..a27739870 100644 --- a/.gitignore +++ b/.gitignore @@ -120,7 +120,7 @@ main /bin/ update-ui-assets* /plugins/kms/assets/ -/plugins/host/assets/ +/plugins/host/assets/boundary-plugin* # Test config file test*.hcl diff --git a/packages-oss.yml b/packages-oss.yml index 012bd79bc..c5be83d7b 100644 --- a/packages-oss.yml +++ b/packages-oss.yml @@ -105,7 +105,7 @@ build-command: VERSION_PKG_PATH=github.com/hashicorp/boundary/version; cd $ORIG_PATH; done; cd $ORIG_PATH/plugins/$PLUGIN_TYPE/assets; - for CURR_PLUGIN in $(ls); do + for CURR_PLUGIN in $(ls boundary-plugin*); do gzip -9 $CURR_PLUGIN; done; cd $ORIG_PATH; diff --git a/plugins/host/assets/README.md b/plugins/host/assets/README.md new file mode 100644 index 000000000..89b31ac58 --- /dev/null +++ b/plugins/host/assets/README.md @@ -0,0 +1,3 @@ +This directory contains assets for host plugins. This file in particular exists +so that the Go embed package does not throw errors when importing this module +outside of the main tree. diff --git a/scripts/build.sh b/scripts/build.sh index edd91e553..abf3d0308 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -53,7 +53,7 @@ for PLUGIN_TYPE in host; do cd $ORIG_PATH; done; cd $ORIG_PATH/plugins/$PLUGIN_TYPE/assets; - for CURR_PLUGIN in $(ls); do + for CURR_PLUGIN in $(ls boundary-plugin*); do gzip -f -9 $CURR_PLUGIN; done; cd $ORIG_PATH;