Skip to content

Commit

Permalink
Merge pull request #166 from eschizoid/bugfix/inventory
Browse files Browse the repository at this point in the history
Fixed url hook validation
  • Loading branch information
eschizoid authored Jan 19, 2019
2 parents b4c0021 + 1b7eba8 commit 8a7d067
Show file tree
Hide file tree
Showing 12 changed files with 531 additions and 597 deletions.
10 changes: 5 additions & 5 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion aws/glacier/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,6 @@ func getJobParameters(archiveID string) *glacier.JobParameters {
} else {
jobParameters = &glacier.JobParameters{
ArchiveId: aws.String(archiveID),
Tier: aws.String("Expedited"),
Type: aws.String(archiveRetrievalJob),
}
}
Expand Down
Binary file modified infrastructure/database/storm/library.db
Binary file not shown.
8 changes: 4 additions & 4 deletions infrastructure/hooks/admin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,23 +68,23 @@ case $# in
echo "{\"certificates_updated\": \"true\"}"
;;
restart)
for plex_service in plexmediaservice \
for plex_service in plexmediaserver \
tautulli \
ombi \
sonarr \
radarr \
jackett \
nzbget \
transmission; do
sudo systemtctl service restart ${plex_service}
transmission-daemon; do
sudo systemctl restart ${plex_service}
done
echo "{\"services_restarted\": \"true\"}"
;;
upgrade)
rm -rf /home/webhook/go/src/github.com/eschizoid/flixctl
/usr/local/go/bin/go get -u github.com/eschizoid/flixctl
cd /home/webhook/go/src/github.com/eschizoid/flixctl
cp -r infrastructure/hooks/*.sh /opt/webhook-linux-amd64/
cp -r infrastructure/hooks/*.sh infrastructure/hooks/*.json /opt/webhook-linux-amd64/
/bin/make install
rm -rf /home/webhook/go/src/github.com/eschizoid/flixctl/infrastructure/database/storm/library.db
/home/webhook/go/bin/flixctl version
Expand Down
6 changes: 3 additions & 3 deletions infrastructure/hooks/hooks.json
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@
"type": "value",
"value": "{{getenv "SLACK_STATUS_TOKEN"}}",
"parameter": {
"source": "payload",
"name": "url"
"source": "url",
"name": "token"
}
}
}
Expand Down Expand Up @@ -354,7 +354,7 @@
}
}
}
}
},
{
"id": "library-upload",
"execute-command": "/opt/webhook-linux-amd64/library.sh",
Expand Down
28 changes: 28 additions & 0 deletions vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

58 changes: 36 additions & 22 deletions vendor/github.com/aws/aws-sdk-go/aws/request/request.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/github.com/aws/aws-sdk-go/aws/version.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 0 additions & 12 deletions vendor/github.com/aws/aws-sdk-go/service/ec2/api.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8a7d067

Please sign in to comment.