Commit graph

129 commits

Author SHA1 Message Date
dependabot[bot]
fdeaf5c7d2
Bump github.com/onsi/gomega from 1.27.2 to 1.27.6 (#71)
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.27.2 to 1.27.6.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.27.2...v1.27.6)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-08 13:11:53 +02:00
dependabot[bot]
dd9c197718
Bump github.com/onsi/ginkgo/v2 from 2.9.0 to 2.9.2 (#70)
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.9.0 to 2.9.2.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.9.0...v2.9.2)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-08 13:06:38 +02:00
dependabot[bot]
127840b98c
Bump actions/setup-go from 3 to 4 in /.github/workflows (#68)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3 to 4.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v3...v4)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-08 13:06:29 +02:00
dependabot[bot]
793d5909ff
Bump golang.org/x/crypto from 0.6.0 to 0.7.0 (#62)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/golang/crypto/releases)
- [Commits](https://github.com/golang/crypto/compare/v0.6.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-12 21:05:47 +01:00
dependabot[bot]
ae2633ad2b
Bump github.com/onsi/ginkgo/v2 from 2.8.4 to 2.9.0 (#63)
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.8.4 to 2.9.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.8.4...v2.9.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-12 20:53:16 +01:00
dependabot[bot]
250b7d0ec8
Bump github.com/hetznercloud/hcloud-go from 1.40.0 to 1.41.0 (#64)
Bumps [github.com/hetznercloud/hcloud-go](https://github.com/hetznercloud/hcloud-go) from 1.40.0 to 1.41.0.
- [Release notes](https://github.com/hetznercloud/hcloud-go/releases)
- [Changelog](https://github.com/hetznercloud/hcloud-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hetznercloud/hcloud-go/compare/v1.40.0...v1.41.0)

---
updated-dependencies:
- dependency-name: github.com/hetznercloud/hcloud-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-12 20:53:03 +01:00
dependabot[bot]
47758d1c63
Bump github.com/onsi/gomega from 1.27.1 to 1.27.2 (#60)
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.27.1 to 1.27.2.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.27.1...v1.27.2)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-28 19:55:02 +01:00
dependabot[bot]
062bdc6983
Bump github.com/hetznercloud/hcloud-go from 1.39.0 to 1.40.0 (#54)
Bumps [github.com/hetznercloud/hcloud-go](https://github.com/hetznercloud/hcloud-go) from 1.39.0 to 1.40.0.
- [Release notes](https://github.com/hetznercloud/hcloud-go/releases)
- [Changelog](https://github.com/hetznercloud/hcloud-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hetznercloud/hcloud-go/compare/v1.39.0...v1.40.0)

---
updated-dependencies:
- dependency-name: github.com/hetznercloud/hcloud-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-20 19:26:18 +01:00
dependabot[bot]
82d5991c86
Bump github.com/onsi/gomega from 1.26.0 to 1.27.1 (#57)
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.26.0 to 1.27.1.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.26.0...v1.27.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-20 19:26:01 +01:00
dependabot[bot]
38e354a16c
Bump github.com/onsi/ginkgo/v2 from 2.8.0 to 2.8.3 (#58)
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.8.0 to 2.8.3.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.8.0...v2.8.3)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-20 19:22:50 +01:00
dependabot[bot]
102e5a0b9f
Bump golang.org/x/crypto from 0.5.0 to 0.6.0 (#53)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/golang/crypto/releases)
- [Commits](https://github.com/golang/crypto/compare/v0.5.0...v0.6.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-11 21:39:02 +01:00
dependabot[bot]
fe86de61f0
Bump docker/build-push-action from 3 to 4 in /.github/workflows (#52)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-31 19:39:14 +01:00
dependabot[bot]
fe009db157
Bump github.com/onsi/ginkgo/v2 from 2.7.1 to 2.8.0 (#51)
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.7.1 to 2.8.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.7.1...v2.8.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-31 19:39:03 +01:00
dependabot[bot]
97115405e1
Bump github.com/onsi/ginkgo/v2 from 2.7.0 to 2.7.1 (#50)
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.7.0 to 2.7.1.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.7.0...v2.7.1)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-30 07:33:09 +01:00
Jan Graefen
3e6f85d47f fix: Correct settings for YAML files 2023-01-25 21:36:40 +01:00
Jan Graefen
f08c984062 Release Helm chart for v0.7.0 2023-01-25 21:35:45 +01:00
Jan Graefen
3bb06341c1 chore: Add new feature to the README 2023-01-25 21:27:50 +01:00
Jan Graefen
0e6fbf496b chore: Add tests for new additional labels feature 2023-01-25 21:23:54 +01:00
Rikard Gynnerstedt
fca0b5f77b
Add additional labels flag (#48)
* added additional tags flag

* move additional labels to base fetcher

* find label function instead of jump label

* bugfix to labels not correctly set when -additional-labels flag not present

* check for more than 0, instead of 1
2023-01-25 20:24:33 +01:00
dependabot[bot]
984c5e479e
Bump github.com/onsi/gomega from 1.25.0 to 1.26.0 (#49)
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.25.0 to 1.26.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.25.0...v1.26.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  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>
2023-01-24 19:06:49 +01:00
dependabot[bot]
6999c9816e
Bump github.com/onsi/gomega from 1.24.2 to 1.25.0 (#47)
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.24.2 to 1.25.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.24.2...v1.25.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  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>
2023-01-18 20:02:22 +01:00
dependabot[bot]
c85fb1026f
Bump helm/chart-releaser-action in /.github/workflows (#45)
Bumps [helm/chart-releaser-action](https://github.com/helm/chart-releaser-action) from 1.4.1 to 1.5.0.
- [Release notes](https://github.com/helm/chart-releaser-action/releases)
- [Commits](https://github.com/helm/chart-releaser-action/compare/v1.4.1...v1.5.0)

---
updated-dependencies:
- dependency-name: helm/chart-releaser-action
  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>
2023-01-09 21:12:12 +01:00
Jan Gräfen
579acc7287
chore: Run test only on main 2023-01-05 18:34:46 +01:00
dependabot[bot]
0693b57201
Bump golang.org/x/crypto from 0.4.0 to 0.5.0 (#43)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/golang/crypto/releases)
- [Commits](https://github.com/golang/crypto/compare/v0.4.0...v0.5.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  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>
2023-01-05 18:31:12 +01:00
Jan Gräfen
a1f4153d13 Release helm chart 2022-12-29 16:14:16 +01:00
Jan Gräfen
954c98f013
feat: Add type label for IPs (#41)
* feat: Add type label for IPs
* Fix tests
2022-12-29 15:58:04 +01:00
Jan Gräfen
154bcd2d3e chore: Enable test for primary IPs 2022-12-29 15:44:23 +01:00
Jan Gräfen
f11439b7ba Merge branch 'main' of github.com:jangraefen/hcloud-pricing-exporter 2022-12-29 14:48:38 +01:00
Jan Gräfen
fef11efe58 chore: Fix linting issue since hcloud upgrade 2022-12-29 14:47:54 +01:00
Nils
ce48c3f951
fix: Adjust for new primary ip pricing format and ignore v6 (#40) 2022-12-29 14:45:14 +01:00
Jan Gräfen
1ab16d7a81 chore: Upgrade hcloud-go to latest version 2022-12-29 14:44:20 +01:00
Jan Gräfen
7ae251751f
chore: Add test suite draft for most of the fetchers (#42)
* Add test suite draft for most of the fetchers
* Make the tests passing
* Suppress code duplication warning
* Add tests to actions
* Add hcloud token to test action
* Move test files to own folder
* Rename tests to e2e tests
* Fix wrong type guard
2022-12-29 00:56:37 +01:00
Jan Graefen
3600616dda Fix versioning of docker images 2022-12-27 13:42:41 +01:00
Jan Graefen
077338b90e Merge branch 'main' of github.com:jangraefen/hcloud-pricing-exporter 2022-12-15 22:02:07 +01:00
Jan Graefen
9663bcced0 Fix build status shield 2022-12-15 22:01:47 +01:00
dependabot[bot]
8a2c64957a Bump docker/setup-buildx-action from 1 to 2 in /.github/workflows
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 2.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-15 21:49:11 +01:00
dependabot[bot]
32c7168878 Bump docker/build-push-action from 2 to 3 in /.github/workflows
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2 to 3.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-15 21:49:03 +01:00
dependabot[bot]
e6bdbcf2e5 Bump github/codeql-action from 1 to 2 in /.github/workflows
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-15 21:48:55 +01:00
Jan Graefen
b8186f6b3c Release of helm chart for v0.5.0 2022-12-14 16:02:05 +01:00
Jan Graefen
268d1f9f57 Fix constructor for primary IP collector 2022-12-14 15:37:54 +01:00
Jan Graefen
8df2d29893 Fix line endings 2022-12-14 15:36:50 +01:00
Jan Graefen
05dc439f7f Add support for primary IPs 2022-12-14 15:29:15 +01:00
dependabot[bot]
5d61524891 Bump github.com/prometheus/client_golang from 1.13.0 to 1.14.0
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.13.0 to 1.14.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.13.0...v1.14.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-14 14:47:52 +01:00
Jan Graefen
074e0cd860 Fix golangci issue 2022-12-14 14:45:48 +01:00
dependabot[bot]
7c7234fe8e Bump github.com/hetznercloud/hcloud-go from 1.35.2 to 1.38.0
Bumps [github.com/hetznercloud/hcloud-go](https://github.com/hetznercloud/hcloud-go) from 1.35.2 to 1.38.0.
- [Release notes](https://github.com/hetznercloud/hcloud-go/releases)
- [Changelog](https://github.com/hetznercloud/hcloud-go/blob/main/CHANGES.md)
- [Commits](https://github.com/hetznercloud/hcloud-go/compare/v1.35.2...v1.38.0)

---
updated-dependencies:
- dependency-name: github.com/hetznercloud/hcloud-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-14 14:41:31 +01:00
Jan Graefen
6f5fa2c782 Merge branch 'main' of github.com:jangraefen/hcloud-pricing-exporter 2022-12-14 14:39:04 +01:00
Jan Graefen
bf2ae7a0f4 Adapt go linting 2022-12-14 14:38:40 +01:00
dependabot[bot]
07caf20dc4 Bump goreleaser/goreleaser-action from 2 to 4 in /.github/workflows
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 2 to 4.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v2...v4)

---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-14 14:36:04 +01:00
dependabot[bot]
d717f703b8 Bump docker/login-action from 1 to 2 in /.github/workflows
Bumps [docker/login-action](https://github.com/docker/login-action) from 1 to 2.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-14 14:35:55 +01:00
dependabot[bot]
9a86f71039 Bump helm/chart-releaser-action in /.github/workflows
Bumps [helm/chart-releaser-action](https://github.com/helm/chart-releaser-action) from 1.2.0 to 1.4.1.
- [Release notes](https://github.com/helm/chart-releaser-action/releases)
- [Commits](https://github.com/helm/chart-releaser-action/compare/v1.2.0...v1.4.1)

---
updated-dependencies:
- dependency-name: helm/chart-releaser-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-14 14:35:45 +01:00