You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yaegi testing is done when the plugin is released but I disabled it as it has no dependency support. You have to vendor plugins, but we have to then copy them all to keep the build stable in our repo:
Go modules are not supported yet. Until that, it is necessary to install the source into $GOPATH/src/github.com/traefik/yaegi to pass all the tests.
I had a really hard time finding examples that worked and without access to the repo, the cycle time was too slow as our build files don't run and they won't run on a fork.
A lot of plugins just test w/ go as the traefik plugin workflow will catch any issues before publishing.
The text was updated successfully, but these errors were encountered:
jasongoodwin
changed the title
Re-enable Yaegi testing
Re-enable Yaegi testing (maybe)
Feb 5, 2024
jasongoodwin
changed the title
Re-enable Yaegi testing (maybe)
Re-enable Yaegi testing (maybe?)
Feb 5, 2024
I agree. We should introduce this back into the CI/CD to test more principally during Ci/CD. It is worth noting that now traefik provides the pipeline to both build and release... see here, and for example on how to use it see this.
Yeah you have to copy the vendored plugins into the go src and I just couldn't iterate on it easily enough without admin access to the project to get it to work. I was wasting a lot of time waiting for approval to run the pipeline. It should be as easy as restoring that to the workflow and just copying everything but I couldn't find an example that worked and couldn't get a pass.
Yaegi testing is done when the plugin is released but I disabled it as it has no dependency support. You have to vendor plugins, but we have to then copy them all to keep the build stable in our repo:
I had a really hard time finding examples that worked and without access to the repo, the cycle time was too slow as our build files don't run and they won't run on a fork.
A lot of plugins just test w/ go as the traefik plugin workflow will catch any issues before publishing.
The text was updated successfully, but these errors were encountered: