Commit Graph

788 Commits (14b235a542d3ef6fb2eff89dc5123132cab9fd2d)
 

Author SHA1 Message Date
nils måsén 084249c5fc
fix: linked/depends-on container restarting (#1103) 3 years ago
nils måsén aa02d8d31b
feat(notifications): add title field to template data (#1125) 3 years ago
nils måsén 1d59fb83dd
feat(notifications): support delayed sending (#1142) 3 years ago
Mads Jensen 2fa8a2ad0c
Fix docker-compose syntax in quick-start. GH #1105 (#1169)
* Fix docker-compose syntax in quick-start. GH #1105

* use new mkdocs tabs

* fix indentation for tabs

Co-authored-by: nils måsén <nils@piksel.se>
3 years ago
nils måsén 93ccce8ed2
docs: add note about docker hub private images (#1132) 3 years ago
nils måsén ebdbe2994c
bump version of vulnerable dependencies (#1172) 3 years ago
Adrian Joian 6ff1d8ac17
chore: bump alpine version in dockerfile (#1151) 3 years ago
Mr.J d2f11850c1
docs: fix redirect link (#1146) 3 years ago
Juho-Pekka Kuitunen e14cc292ed
feat: improve HTTP API logging, honor no-startup-message (#1091)
Co-authored-by: nils måsén <nils@piksel.se>
3 years ago
allcontributors[bot] b3b45ab19e
docs: add patricegautier as a contributor for code (#1139)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
3 years ago
Patrice b4a225c8bb
Post update time out (#1124)
* adding post update timeout option

* removing extra word
3 years ago
nils måsén 782529ddbd
feat: improve session result logging (#1123)
- logs the session result as an info level message without notification instead of debug
- does not log that no notification was sent if there are no notifications enabled
3 years ago
Jeremy L. Morris d9d6f794a1
feat: use a more specific error type for no container info (#1115)
Co-authored-by: Jeremy L. Morris <jmorris@digitalocean.com>
3 years ago
allcontributors[bot] ac00e4844e
docs: add hypnoglow as a contributor for code (#1130)
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
3 years ago
Igor Zibarev 81036b078b
fix(api): return appropriate status for unauthorized requests (#1116) 3 years ago
Dimas Yudha P c0fd77d357
fixing flags usage text to first capital letter. (#1102)
Co-authored-by: dimas <dimas.prawira@mncgroup.com>
3 years ago
Rootul Patel cb4e60cffd
Prefer long flags in quick start example (#1029)
`--detach` is clearer (to a new Docker user) than `-d`. Similarly `--volume` is clearer than `-v`.

Motivation: https://changelog.com/posts/use-long-flags-when-scripting
Referred to: https://docs.docker.com/engine/reference/commandline/run/
3 years ago
nils måsén 0060cd6ee4
test: fully reset ghttp server (#1121) 3 years ago
nils måsén 1b405d4c77
test: container client tests refactor (#1117) 3 years ago
nils måsén 2c8695683d test: reduce test output noise 3 years ago
nils måsén ec43ecedc4 test: remove unused cross package dependency on mock api server 3 years ago
nils måsén 26fba69169 test: refactor client tests
should not be explicitly telling what they are testing and the requirements
fixed the test data so that it doesn't contain discrepancies
fully reset the mock client (no shared state) and only support the calls that is expected
3 years ago
Simon Aronsson 3bf934027f
Create pull_request_template.md (#1110) 3 years ago
nils måsén 4a66a693c6
chore(deps): bump shoutrrr and containrd (#1088)
- update containrrr/shoutrrr to latest v0.5 patch (v0.5.1 => v0.5.2)
- update containerd/containerd to a "safe" version (v1.5.5 => v1.5.7)
3 years ago
allcontributors[bot] db13bdec3c
docs: add modem7 as a contributor for doc (#1083)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
3 years ago
modem7 1ec5234898
Update README.md (#1077)
Added new line to Quick Start to make it easier to read at glance.
3 years ago
nils måsén 47a640b764
update dependencies (sane go.mod) (#1061) 3 years ago
nils måsén 697397f289
feat(log): add context fields to lifecycle events (#1007) 3 years ago
nils måsén cd0ec88764
fix(notifications): default templates and logic (#1010)
* fix(notifications): default templates and logic
* fix multi-entry report notifs and add test
* add tests for log queueing
3 years ago
nils måsén fc31c6eb26
feat(shoutrrr): update to v0.5 (#1055)
* feat(shoutrrr): update to v0.5
* fix slack URL and tests
* add tests for slack icon override
* bump shoutrrr to v0.5.1
3 years ago
Jeremiah Boby bd74c05614
Use golang:1.15 in ECR credential helper example (#965)
* Use golang:1.15 in ECR credential helper example

* Update docs/private-registries.md

Co-authored-by: Simon Aronsson <simme@arcticbit.se>

Co-authored-by: Simon Aronsson <simme@arcticbit.se>
3 years ago
allcontributors[bot] 52fe3656a6
docs: add djquan as a contributor for doc (#1038)
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
3 years ago
Dan Quan c33bb05396
docs: remove broken badge and fix docker-compose snippet (#1025)
* Remove microbadger badge as it is shutdown
  source: https://twitter.com/microscaling/status/1361054926399557644
  source: https://web.archive.org/web/20210409135814/https://microbadger.com/shutdown
* Remove trailing space that breaks yaml formatting
* Adjust indentation for docker-compose snippet
3 years ago
nils måsén 9bb8991a76
fix(digest): check container image info for nil (#1027) 3 years ago
nils måsén 7221704638
docs: link to versioned shoutrrr docs 3 years ago
nils måsén ea300b7a7f
ci: fix version in non-dev dockerfile 3 years ago
nils måsén 8b7b7d3b9b
ci: fix version in dev dockerfile 3 years ago
nils måsén 45dbfcade8
ci: add executable bit to build (#1006) 3 years ago
nils måsén 2f33620d2d
ci: build latest-dev with script (#1005)
currently `latest-dev` package is not built with version set and displays `v0.0.0-unknown`
3 years ago
Armando Lüscher e396711ae1
docs: fix note paragraph on Arguments page (#1001) 3 years ago
nils måsén e3dd8d688a
Session report collection and report templates (#981)
* wip: notification stats

* make report notifications optional

* linting/documentation fixes

* linting/documentation fixes

* merge types.Container and container.Interface

* smaller naming/format fixes

* use typed image/container IDs

* simplify notifier and update tests

* add missed doc comments

* lint fixes

* remove unused constructors

* rename old/new current/latest
3 years ago
nils måsén d0ecc23d72
docs: fix markdown lint issues (#995)
* fix list indents in notifications
* fix missing lang tag
* fix list indent and extra newlines
* further indentation experimentation
* fix remark lint-recommend warnings
3 years ago
yrien30 145fe6dbcb
Pre-update lifecycle hook (#793)
* Make watchtower skip update if pre-update lifecycle hook exits with a non-zero exit code
#649

* Make watchtower skip update if pre-update lifecycle hook exits with a non-zero exit code
#649

* Make watchtower skip update if pre-update lifecycle hook exits with a non-zero exit code
#649

* Make watchtower skip update if pre-update lifecycle hook exits with a non-zero exit code
#649

* Make watchtower skip update if pre-update lifecycle hook exits with a non-zero exit code #649

* Make watchtower skip update if pre-update lifecycle hook exits with a non-zero exit code #649

* Make watchtower skip update if pre-update lifecycle hook exits with a non-zero exit code #649

* Prevent starting new container if old one is not stopped because of lifecycle hook.

* Add null check for c.containerInfo.State in IsRunning

* Fixed that the container would not start

* Added test for preupdate

* EX_TEMPFAIL -> ExTempFail

* Added missing fuction ouput names

* Skip preupdate when container is restarting.
3 years ago
Amir Zarrinkafsh dc12a1ac7f
feat: allow hostname override for notifiers (#994)
* feat: allow hostname override for email notifier

As it currently stands all notifiers utilise `os.Hostname` to populate their titles/subjects.

When utilising Docker with a bridged network if you set the hostname for a container to an external DNS hostname Docker's internal DNS resolver will override said hostname for all containers within the bridged network.

This change allows a user to specify what hostname should be represented in the email notifications without having to change the `os.Hostname`.

* feat: allow custom hostname for all notifiers

* docs: adjust notification hostname flag
3 years ago
nils måsén f508c92ae0
* feat: custom user agent (#990)
* fix: move build meta to own package
  this allows it to be referenced from other packages without causing a cyclic dependency
* feat: custom user agent
3 years ago
allcontributors[bot] b196629d04
docs: add zenjabba as a contributor (#983)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
3 years ago
zenjabba 4e7b1e78dc
Update index.md (#976)
Fix up formatting for docker-compose.yml
3 years ago
nils måsén dec6f84a70
test: fix metrics api test stability (#930)
* use httptest instead of host port binding
* restore matrix and remove artificial delay
* fix metrics api test expect calls
4 years ago
nils måsén 61b715abec
docs: remove stray paragraph in notifications (#949)
* docs: remove stray paragraph in notifications

fixes #946

* docs: add the lost paragraph to own page
4 years ago
allcontributors[bot] 91bbe74796
docs: add DasSkelett as a contributor (#944)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
4 years ago