Issue reportplugin is not published

Report a problem

Steps to reproduce

  1. published plugin does not appear in Traefik plugins. help me figure out what the reason is GitHub - Miromani4/traefik-plugin-AdminAPI_WebUI: Admin API
  2. the problem doesn't appear in GitHub, I have no more ideas.

Version: Google Inc. 5.0 (Windows NT 10.0; Win64; x64; Chromium GOST) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36

Hello,

it's because your test rely on a non-Go file:

failed to run the plugin with Yaegi: the function New of the test produces a panic: panic during the call of the function: open /admin_panel/html/web_panel.zip: no such file or directory

this method is called after the specified path is created and the archive file containing the web interface to the API is downloaded from the repository.
Tell me, should I place this archive inside the release for testing?

Tell me, should I place this archive inside the release for testing?

No, it will have no impact because the plugin system uses the module itself (not the GitHub release).
Your test will never be able to work inside the plugin scrapper.

is there a way to place a web interface inside a plugin to pass the test?

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.