i2group / analyze-deployment-tooling

Develop i2 Analyze configurations by using the configuration development environment. Review reference architectures for containerised deployments of i2 Analyze.
https://i2group.github.io/analyze-deployment-tooling/
Other
1 stars 1 forks source link

Rebuild of the plugin doesn't work #4

Closed stvdo closed 1 year ago

stvdo commented 1 year ago

Describe the bug I made some small changes to a React plugin but the plugin doesn't update. See https://github.com/i2group/notebook-sdk/issues/5 for more details.

To Reproduce

  1. Create a React plugin
  2. Add this the your config
  3. Deploy your config
  4. Change your plugin and create a new build
  5. Deploy your config again.

Expected behavior See https://github.com/i2group/notebook-sdk/issues/5

Screenshots See https://github.com/i2group/notebook-sdk/issues/5

Hardware and Software information Fill in the following information:

Oleksandr-Kushchak-i2 commented 1 year ago

Hi, I can see there is a resonable suggestion in the linked issue comment. As a workaround you can delete i2a-plugins/.i2a-plugins/{plugin_name}.sha512 file and redeploy your configuration. This will ensure that the plugin is rebuilt. If you still don't see your change - the new file didn't make it to the i2a-plugins/{plugin_name} directory and hence is not updated.

stvdo commented 1 year ago

Thank you very much Oleksandr. I found the issue.

Thanks for sharing the work around, this will be usefull one day.