Skip to content
This repository has been archived by the owner on Apr 1, 2019. It is now read-only.

Latest commit

 

History

History
39 lines (24 loc) · 1.63 KB

CONTRIBUTING.md

File metadata and controls

39 lines (24 loc) · 1.63 KB

Contributing

Thanks for considering contributing to the project!

Here are some things that might help:

Local Integration Tests

To make development easier, run a local Octopus Deploy server on your machine. You can vagrant up this image to get a fully working Octopus Deploy Server.

When it comes up, login on http://localhost:8081 with username Administrator and password OctoVagrant!.

To get an API to use for local development, go to Administrator | Profile | My API Keys and click New API Key.

Set the two following environment variables:

# bash
export OCTOPUS_URL=http://localhost:8081/
export OCTOPUS_APIKEY=API-YOUR-API-KEY
# PowerShell
$env:OCTOPUS_URL = "http://localhost:8081/"
$env:OCTOPUS_APIKEY = "API-YOUR-API-KEY"

You can now run integration tests.

Tips

  • You can open up the Swagger UI of the Octopus Deploy Server at http://localhost:8081/swaggerui/index.html. This makes it easier to poke around with the API.

  • If you are trying to work out the API calls for something, use Chrome Developer Tools (or similar) to do them in the Octopus Web interface. You can then find out the data that was sent and which endpoints it was sent to.

Chrome Developer Tools