Closed lonnc closed 3 years ago
Hi. Thanks for opening an issue. I'll look into it.
The parameters branch is most likely outdated by now since I updated a lot of things. I'll do a push into that so you can try again. :)
@lonnc Please try https://github.com/gaia-pipeline/go-example/tree/parameter_example_v2
Unfortunately still getting the same error when trying to start the pipeline:
Error: 400
invalid content provided in request
Available logs are below:
2020-11-27T17:15:45.828Z [INFO ] Gaia: worker gRPC server about to start on port: 8989
2020-11-27T17:16:32.999Z [DEBUG] plugin: starting plugin: path=/data/tmp/golang/src/67655188-e3bf-4126-b2fa-c5077809aaf4/test_golang args=[]
2020-11-27T17:16:33.000Z [DEBUG] plugin: waiting for RPC address: path=/data/tmp/golang/src/67655188-e3bf-4126-b2fa-c5077809aaf4/test_golang
2020-11-27T17:16:33.266Z [DEBUG] plugin: plugin process exited: path=/data/tmp/golang/src/67655188-e3bf-4126-b2fa-c5077809aaf4/test_golang
2020-11-27T17:16:36.706Z [DEBUG] plugin: starting plugin: path=/data/pipelines/test_golang args=[]
2020-11-27T17:16:36.706Z [DEBUG] plugin: waiting for RPC address: path=/data/pipelines/test_golang
2020-11-27T17:16:36.971Z [DEBUG] plugin: plugin process exited: path=/data/pipelines/test_golang
Ah, I see. I'll try it out later tonight
On Fri, 27 Nov 2020, 18:19 lonnc, notifications@github.com wrote:
Unfortunately still getting the same error when trying to start the pipeline:
- Repo: https://github.com/gaia-pipeline/go-example
- Branch: refs/heads/parameter_example_v2
Error: 400 invalid content provided in request
Available logs are below:
2020-11-27T17:15:45.828Z [INFO ] Gaia: worker gRPC server about to start on port: 8989 2020-11-27T17:16:32.999Z [DEBUG] plugin: starting plugin: path=/data/tmp/golang/src/67655188-e3bf-4126-b2fa-c5077809aaf4/test_golang args=[] 2020-11-27T17:16:33.000Z [DEBUG] plugin: waiting for RPC address: path=/data/tmp/golang/src/67655188-e3bf-4126-b2fa-c5077809aaf4/test_golang 2020-11-27T17:16:33.266Z [DEBUG] plugin: plugin process exited: path=/data/tmp/golang/src/67655188-e3bf-4126-b2fa-c5077809aaf4/test_golang 2020-11-27T17:16:36.706Z [DEBUG] plugin: starting plugin: path=/data/pipelines/test_golang args=[] 2020-11-27T17:16:36.706Z [DEBUG] plugin: waiting for RPC address: path=/data/pipelines/test_golang 2020-11-27T17:16:36.971Z [DEBUG] plugin: plugin process exited: path=/data/pipelines/test_golang
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/gaia-pipeline/gaia/issues/292#issuecomment-734928042, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABMUQTUCZW2ZAOVQZVUCSTSR7NRZANCNFSM4UECRIOA .
Uh, I found the problem. When the docker runner was introduced it wasn't tested with parameterised builds and the docker parameter code is conflicting with the regular parameter things. :/ I'll attempt a nice fix. :)
@lonnc I found out what was wrong. I still have to test the fix throughly first, but generally I think I fixed it in this PR: #294
Start gaia using docker:
docker run -d -p 8080:8080 -v $PWD:/data gaiapipeline/gaia:latest
Create pipeline using http://localhost:8080/#/pipeline/create with fields:
Status Output:
Pipelines with no arguments are working for me (e.g. https://github.com/gaia-pipeline/go-example Branch refs/heads/master), but any pipelines that I've tried to create which do have an argument are failing to start.