Added setup script in test/support/ci.sh that can be used on drone.io for running tests. This is setup on my repo and working with nothing more than go project and that script: https://drone.io/github.com/spheromak/chef-golang/30
Also there is a refactor here on the API backend that supports passing a pointer to a http.Request around the backend methods. This enables the body/form values to be properly setup per-method, and ultimately fixes POST. This also enables the next step of Chef object uploads to server.
@marpaia fixes #5 and #11 I would merge it myself, but i still feel weird about that. If you have the time can you add drone to your project and add the script so I can start using your repo/feature branch for the continuation of this work.
Added setup script in
test/support/ci.sh
that can be used on drone.io for running tests. This is setup on my repo and working with nothing more than go project and that script: https://drone.io/github.com/spheromak/chef-golang/30Also there is a refactor here on the API backend that supports passing a pointer to a http.Request around the backend methods. This enables the body/form values to be properly setup per-method, and ultimately fixes POST. This also enables the next step of Chef object uploads to server.
@marpaia fixes #5 and #11 I would merge it myself, but i still feel weird about that. If you have the time can you add drone to your project and add the script so I can start using your repo/feature branch for the continuation of this work.
Thanks