Commit Graph

706 Commits (fix/snakeswap)
 

Author SHA1 Message Date
nils måsén 8a9b1ab945 fix some linting and add comments 2 years ago
nils måsén b97de9dd0b remove unused flaghelper 2 years ago
nils måsén f198473714 const flags 2 years ago
nils måsén 1165f31ca0 fix tests, upgrade snakes 2 years ago
nils måsén aa50cdf9bc ignore cover profiles 2 years ago
nils måsén 385357bab5 fix rebase artifacts 2 years ago
nils måsén 909c90a558 fix environment variable names 2 years ago
nils måsén 859fd0c1c8 fix linting errors 2 years ago
nils måsén c305ee385c fix config marshalling and interval/schedule 2 years ago
lazou a5c60a9fe6
feat(notifications): add general notification delay (#1246) 2 years ago
Simon Aronsson f79e4b5435
Update greetings.yml
closes #1230
2 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>
2 years ago
Simon Aronsson 70ca4c2b44
bump vulnerable packages (#1196) 2 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>
2 years ago
nils måsén 04db93c770
fix: add missing portmap when needed (#1183) 2 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>
2 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>
2 years ago
James White 8590d88d0d
Add additional information for metrics.md (#1193)
Mention the specific endpoint and an example Promethes scrape_config.
2 years ago
nils måsén 084249c5fc
fix: linked/depends-on container restarting (#1103) 2 years ago
nils måsén aa02d8d31b
feat(notifications): add title field to template data (#1125) 2 years ago
nils måsén 1d59fb83dd
feat(notifications): support delayed sending (#1142) 2 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>
2 years ago
nils måsén 93ccce8ed2
docs: add note about docker hub private images (#1132) 2 years ago
nils måsén ebdbe2994c
bump version of vulnerable dependencies (#1172) 2 years ago
Adrian Joian 6ff1d8ac17
chore: bump alpine version in dockerfile (#1151) 2 years ago
Mr.J d2f11850c1
docs: fix redirect link (#1146) 2 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>
2 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