HTTP/REST Deploy

micah's Avatar

micah

11 Jan, 2016 01:05 AM

I would like it if there was an easy way to do REST/HTTP deploys. My plan for now is to use Powershell to do it, but I would rather avoid that if possible.

  1. Support Staff 1 Posted by Feodor Fitsner on 11 Jan, 2016 01:45 AM

    Feodor Fitsner's Avatar

    What kind of deploy is that? Could you give an example please?

  2. 2 Posted by micah on 11 Jan, 2016 02:18 AM

    micah's Avatar

    My specific example is uploading artifacts to Bintray. They have a REST API that allows me to publish my artifacts. I'm guessing a REST deploy would have to be pretty generic, basically just a way to supply headers, URI (with environment variable substitution) and method.

    I think the most important bit is making sure I can easily do Basic Authentication since it is pretty common. Bearer token authentication would also be nice. This can be achieved manually by allowing me to supply headers sourced from secure variables, that way I don't have to commit my API Key / Auth Token to version control.

    https://bintray.com/docs/api/#_upload_content

  3. Support Staff 3 Posted by Feodor Fitsner on 11 Jan, 2016 04:55 AM

    Feodor Fitsner's Avatar

    OK, I see, thanks. It's BinTray deployment provider we have an issue for: https://github.com/appveyor/ci/issues/250

  4. 4 Posted by micah on 11 Jan, 2016 05:30 AM

    micah's Avatar

    That would likely solve my immediate problem. My thought with a REST/HTTP deployment provider was that it would potentially fill a lot of small holes (like this one) rather than building a specific provider just for BinTray. That being said, perhaps deployment via HTTP is too uncommon to be worth having a low-level provider?

  5. Support Staff 5 Posted by Feodor Fitsner on 12 Jan, 2016 05:37 AM

    Feodor Fitsner's Avatar

    OK, that might have sense. Could you please submit a new issue here: https://github.com/appveyor/ci/issues

  6. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:03 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac