Commit Graph

706 Commits (739f328ee55ea2fddf565e5c09dad4b5d8d568d0)
 

Author SHA1 Message Date
Dirk Kok 739f328ee5
feat(http): optional query parameter to update only containers of a specified image (#1289)
* feat(http): optional query parameter to update only containers of a specified image

* fix style issues

* comma separated image parameter

* Support comma-separated query parameter as well as specifying it multiple times

Co-authored-by: nils måsén <nils@piksel.se>

* fixed compile error

* fixed FilterByImageTag

Not sure what changed in my testing setup, but Docker reports image names including the tag name now.

* consistent use of image/tag (use image)

* fixed multiple image queries

* assuming I'm right here, only block on lock when any images are specified.

* add unit tests for image filter. didn't add tests for update api because they didn't already exist

* whoops.

* use ImageName instead, add unit test for empty ImageName filter.

Co-authored-by: nils måsén <nils@piksel.se>
2 years ago
lyh16 33b8a9822c
fix(templates): fix typo in grafana dashboard.json (#1305) 2 years ago
nils måsén e983beb52a
fix: gracefully skip pinned images (#1277)
* move client args to opts struct
* gracefully skip pinned images
* replace newClientNoAPI with literals
3 years ago
allcontributors[bot] de40b0ce11
docs: add ksurl as a contributor for infra (#1293)
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
3 years ago
ksurl 3e4b26957d
ci: add pip caching for docs workflow (#1292) 3 years ago
nils måsén 56368a7207
fix: testing for flag files on windows (#1249)
* fix: testing for flag files on windows
* fix build script on windows/msys
3 years ago
nils måsén 2f4d58776d
fix(notifications): title customization (#1219) 3 years ago
nils måsén e9c83af533
fix: correctly handle non-stale restarts (#1220) 3 years ago
nils måsén d12ce7ce79
bump shoutrrr to v0.5.3 (#1271) 3 years ago
lazou a5c60a9fe6
feat(notifications): add general notification delay (#1246) 3 years ago
Simon Aronsson f79e4b5435
Update greetings.yml
closes #1230
3 years ago
dependabot[bot] 25a9639368
chore(deps): bump github.com/docker/distribution from 2.7.1+incompatible to 2.8.0+incompatible (#1223)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
Simon Aronsson 70ca4c2b44
bump vulnerable packages (#1196) 3 years ago
nils måsén be33c64afd
fix: move invalid token to log field (#1171)
* fix: move invalid token to log field

* escape invalid token in log field

* Update pkg/api/api.go

Co-authored-by: Simon Aronsson <simme@arcticbit.se>
3 years ago
nils måsén 04db93c770
fix: add missing portmap when needed (#1183) 3 years ago
James White a1bdd268c1
Fix typo on --http-api-update environment variable and add warning note for --http-api-periodic-polls (#1195)
* Update arguments.md

Fix a typo for the environment variable to enable HTTP API mode.

* Add note about http-api-periodic-polls

--http-api-periodic-polls is a new option which isn't available currently, until a new release is made.

* Update docs/arguments.md

Co-authored-by: nils måsén <nils@piksel.se>

Co-authored-by: Simon Aronsson <simme@arcticbit.se>
Co-authored-by: nils måsén <nils@piksel.se>
3 years ago
allcontributors[bot] 911444730f
docs: add jamesmacwhite as a contributor for doc (#1194)
* 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
James White 8590d88d0d
Add additional information for metrics.md (#1193)
Mention the specific endpoint and an example Promethes scrape_config.
3 years ago
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