Open johanvdw opened 3 years ago
That sounds more like an issue where golang fails to properly fetch the build dependencies.
@tboerger the gitea release plugin hasn't been migrated to the plugin library so I don't think whatever is there on dockerhub is right.
But the mentioned issue doesn't look like it's related to the plugin itself. It's simply go modules that fails to properly prepare the deps.
The drone-plugins repos that have been migrated use the exec runner for Windows builds. We don't support a docker runner build of any Windows variants of the plugins so if there is a request for this plugin to work on Windows the plugin should be updated and built properly.
But the mentioned issue is not related to the pipeline at all, go vet
fails to execute. To migrate it to the plugin lib is a different topic.
Hey @johanvdw could you please try and build out #29 for your uses?
I migrated this plugin to the plugin lib so we should be able to add Windows versions of the plugin but I don't have a Gitea server to actually test on. So if you could verify everything works that'd be great.
@donny-dont you can always do tests with try.gitea.io ;)
Hey @johanvdw could you please try and build out #29 for your uses?
I migrated this plugin to the plugin lib so we should be able to add Windows versions of the plugin but I don't have a Gitea server to actually test on. So if you could verify everything works that'd be great.
I'm a bit puzzled how I should test this. I see the Dockerfiles for windows, but where/how can I build the binary file: ADD release/windows/amd64/drone-gitea-release.exe
Note, I also posted this in the discourse group at : https://discourse.drone.io/t/gitea-release-plugin-on-windows-2019/9238
I'm not able to run the gitea release plugin for drone on windows 2019.
I tried to build the plugin myself by adjusting the .drone.windows.yml file, but it already fails in the first step:
but then I get