Skip to content

Commit

Permalink
Add Octopus Deploy to example config
Browse files Browse the repository at this point in the history
  • Loading branch information
patriksvensson committed Jan 22, 2020
1 parent 53f206c commit de6d905
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 7 deletions.
24 changes: 21 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Below is an example configuration that specifies multiple collectors and observe

```json
{
"$schema": "https://raw.githubusercontent.com/spectresystems/duck/master/config/schema.json",
"$schema": "https://raw.githubusercontent.com/spectresystems/duck/master/config/v0.3/schema.json",
"interval": 30,
"collectors": [
{
Expand All @@ -47,8 +47,8 @@ Below is an example configuration that specifies multiple collectors and observe
"serverUrl": "192.168.0.1:8111",
"credentials": {
"basic": {
"username": "foo",
"password": "bar"
"username": "admin",
"password": "hunter1!"
}
},
"builds": [
Expand Down Expand Up @@ -84,6 +84,24 @@ Below is an example configuration that specifies multiple collectors and observe
"refs/heads/master"
]
}
},
{
"octopus": {
"id": "octopus_local",
"serverUrl": "https://localhost:9000",
"credentials": {
"apiKey": "MY-API-KEY"
},
"projects": [
{
"projectId": "Project-1",
"environments": [
"Environment-1",
"Environment-2"
]
}
]
}
}
],
"observers": [
Expand Down
26 changes: 22 additions & 4 deletions config/example.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/spectresystems/duck/master/config/schema.json",
"$schema": "https://raw.githubusercontent.com/spectresystems/duck/master/config/v0.3/schema.json",
"interval": 30,
"collectors": [
{
Expand All @@ -20,8 +20,8 @@
"serverUrl": "192.168.0.1:8111",
"credentials": {
"basic": {
"username": "foo",
"password": "bar"
"username": "admin",
"password": "hunter1!"
}
},
"builds": [
Expand Down Expand Up @@ -50,13 +50,31 @@
"organization": "some-organization",
"project": "some-project",
"credentials": {
"pat": "SUPER-SECRET-PERSONAL-ACCESS-TOKEN"
"pat": "MY-PERSONAL-ACCESS-TOKEN"
},
"definitions": [ "1" ],
"branches": [
"refs/heads/master"
]
}
},
{
"octopus": {
"id": "octopus_local",
"serverUrl": "https://localhost:9000",
"credentials": {
"apiKey": "MY-API-KEY"
},
"projects": [
{
"projectId": "Project-1",
"environments": [
"Environment-1",
"Environment-2"
]
}
]
}
}
],
"observers": [
Expand Down

0 comments on commit de6d905

Please sign in to comment.