Commit graph

744 commits

Author SHA1 Message Date
nils måsén
cc40a3c3a7 simplify legacy notifications
removes all code related to log levels and title, since that is not used anyway
this also gets rid of slackrus dependency
2022-09-07 16:14:00 +02:00
nils måsén
42b65b42f3 add notify-upgrade command 2022-09-07 15:26:52 +02:00
nils måsén
d30cfabbcb add GetURLs for notifier 2022-09-07 15:22:46 +02:00
nils måsén
7579740d38 use combined flags for notifications 2022-09-07 15:05:48 +02:00
nils måsén
f817098cd5 make notify log hook opt-in 2022-09-07 15:03:08 +02:00
nils måsén
102566032a add GetRunningContainerID 2022-09-07 14:59:26 +02:00
dependabot[bot]
626bd547e9
chore(deps): bump github.com/onsi/gomega from 1.20.1 to 1.20.2 (#1375)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-06 11:33:48 +02:00
dependabot[bot]
6c215cc4f8
chore(deps): bump github.com/prometheus/client_golang from 1.7.1 to 1.13.0 (#1365)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-04 20:07:01 +02:00
nils måsén
f047d75dcc
fix(flags): detect schedule set from env (#1373) 2022-09-04 20:05:13 +02:00
Jauder Ho
e04a107694
chore(deps): update go version to 1.18 (#1363)
Co-authored-by: nils måsén <nils@piksel.se>
2022-09-04 13:56:29 +02:00
dependabot[bot]
964879d228
chore(deps): bump actions/setup-go from 2 to 3 (#1354)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-04 12:52:25 +02:00
dependabot[bot]
ab7f8233bb
chore(deps): bump actions/checkout from 2 to 3 (#1368)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-02 19:19:44 +02:00
dependabot[bot]
a15c0e3440
chore(deps): bump github.com/spf13/viper from 1.6.3 to 1.12.0 (#1367)
Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.6.3 to 1.12.0.
- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](https://github.com/spf13/viper/compare/v1.6.3...v1.12.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/viper
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-02 19:18:35 +02:00
dependabot[bot]
ccc7878179
chore(deps): bump github.com/docker/distribution from 2.8.0+incompatible to 2.8.1+incompatible (#1366)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-30 15:24:29 +02:00
dependabot[bot]
1745704163
chore(deps): bump codecov/codecov-action from 1 to 3 (#1369)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-30 13:48:07 +02:00
dependabot[bot]
77b8f82678
chore(deps): bump github.com/onsi/gomega from 1.20.0 to 1.20.1 (#1364)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-30 13:46:57 +02:00
dependabot[bot]
146576818c
chore(deps): bump github.com/stretchr/testify from 1.6.1 to 1.8.0 (#1357)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-24 09:08:38 +02:00
dependabot[bot]
7f808d8b1c
chore(deps): bump goreleaser/goreleaser-action from 2 to 3 (#1351)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-24 09:08:26 +02:00
dependabot[bot]
cf307db473
chore(deps): bump alpine from 3.15 to 3.16.2 in /dockerfiles (#1352)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-24 09:08:13 +02:00
dependabot[bot]
063e7247b9
chore(deps): bump github.com/onsi/gomega from 1.10.3 to 1.20.0 (#1360)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: nils måsén <nils@piksel.se>
2022-08-24 09:03:06 +02:00
dependabot[bot]
6b2ef10ab2
chore(deps): bump github.com/sirupsen/logrus from 1.8.1 to 1.9.0 (#1358)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-23 20:07:02 +02:00
dependabot[bot]
d860016335
chore(deps): bump actions/setup-python from 3 to 4 (#1356)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-23 20:03:13 +02:00
dependabot[bot]
e02227fed0
chore(deps): bump docker/login-action from 1 to 2 (#1355)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-23 20:03:03 +02:00
dependabot[bot]
54f19df491
chore(deps): bump github.com/spf13/cobra from 1.4.0 to 1.5.0 (#1359)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-23 20:01:32 +02:00
dependabot[bot]
e316f9eaae
chore(deps): bump github.com/onsi/ginkgo from 1.14.2 to 1.16.5 (#1361)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-23 20:00:58 +02:00
allcontributors[bot]
3849b48468
docs: add jauderho as a contributor for code (#1350)
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2022-08-23 11:29:05 +02:00
Jauder Ho
27e936c16d
Create dependabot.yml to update versions for GitHub Actions, Go modules and Docker images (#1347) 2022-08-23 11:28:47 +02:00
nils måsén
7900471f88
feat: add porcelain output (#1337)
* feat: add porcaline output

* feat(du-cli): add create-stale action

add create-stale action

Signed-off-by: nils måsén

* test(flags): add alias tests

* fix stray format string ref

* fix shell liniting problems

* feat(du-cli): remove created images

* add test for common template

* fix interval/schedule logic

* use porcelain arg as template version

* fix editor save artifacts

* use simpler v1 template

Signed-off-by: nils måsén
2022-08-14 10:11:31 +02:00
Mateusz Drab
a429c373ff
feat: regex container name filtering (#1241)
* Allow container name regex filtering

* make regex names backwards compatible

Co-authored-by: Mateusz Drab <mateuszd@mpd.pw>
Co-authored-by: nils måsén <nils@piksel.se>
2022-08-14 10:08:45 +02:00
allcontributors[bot]
36d3569c4a
docs: add EDIflyer as a contributor for doc (#1339)
* docs: update README.md [skip ci]

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

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2022-08-04 14:43:46 +02:00
EDIflyer
1569445e6a
Expand docker.config section (#1316)
Highlight the benefit of doing this if using 2FA on Docker Hub
2022-08-04 14:43:14 +02:00
James Laska
bd2adf6e5f
Support secrets for notification_url (#1300)
Co-authored-by: nils måsén <nils@piksel.se>
2022-08-01 20:10:36 +02:00
Brian Choromanski
489356aa42
fix(notifications): include icon in slack legacy url (#1303) 2022-08-01 18:40:12 +02:00
nils måsén
08831f798c
feat(shoutrrr): update shoutrrr to v0.6.1 (#1326) 2022-07-19 18:05:36 +02:00
Frinze Erin Lapuz
5f8565570c
docs(private-regs): change example region to a replace-me token (#1264) 2022-07-19 13:30:25 +02:00
nils måsén
ae33e77de5
feat(shoutrrr): update shoutrrr to v0.6.1 (#1325) 2022-07-19 13:10:12 +02:00
EDIflyer
2aa01da608
docs: clarify container label usage (#1319)
Co-authored-by: nils måsén <nils@piksel.se>
2022-07-18 11:54:34 +02:00
allcontributors[bot]
30f36b3ca2
docs: add Foxite as a contributor for code (#1307)
* docs: update README.md [skip ci]

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

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2022-06-14 09:16:11 +02:00
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>
2022-06-14 09:13:14 +02:00
lyh16
33b8a9822c
fix(templates): fix typo in grafana dashboard.json (#1305) 2022-06-10 10:09:25 +02:00
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
2022-05-27 12:16:18 +02:00
allcontributors[bot]
de40b0ce11
docs: add ksurl as a contributor for infra (#1293)
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2022-05-24 11:20:37 +02:00
ksurl
3e4b26957d
ci: add pip caching for docs workflow (#1292) 2022-05-24 10:28:48 +02:00
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
2022-04-18 19:38:19 +02:00
nils måsén
2f4d58776d
fix(notifications): title customization (#1219) 2022-04-18 19:37:13 +02:00
nils måsén
e9c83af533
fix: correctly handle non-stale restarts (#1220) 2022-04-18 19:36:38 +02:00
nils måsén
d12ce7ce79
bump shoutrrr to v0.5.3 (#1271) 2022-04-11 16:09:24 +02:00
lazou
a5c60a9fe6
feat(notifications): add general notification delay (#1246) 2022-03-09 11:03:06 +01:00
Simon Aronsson
f79e4b5435
Update greetings.yml
closes #1230
2022-02-20 15:08:51 +01:00
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>
2022-02-14 16:11:53 +01:00