Skip to content

Commit

Permalink
New release update (#85)
Browse files Browse the repository at this point in the history
Signed-off-by: oluwole fadeyi <[email protected]>
  • Loading branch information
tfadeyi authored Sep 16, 2023
1 parent 02cc5a0 commit a60abd8
Show file tree
Hide file tree
Showing 11 changed files with 30 additions and 31 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: 1.19.x
go-version: 1.20.x
cache: true

- name: Licenses
Expand Down
6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,10 @@ build-all-platforms:
$(MAKE) GOOS=windows GOARCH=amd64 ./builds/$(BIN_NAME)-windows-amd64

# generates all documentation: openapi spec, helm-docs
docs:
generate:
cd $(ROOT_DIR) && go generate ./... && \
helm-docs --chart-search-root=deploy/charts/

# used to generate struct mocks
generate:
cd $(ROOT_DIR) && go generate ./...

test: build
cd $(ROOT_DIR) && go test $(GOFLAGS) $(TEST_TAGS) ./...

Expand Down
2 changes: 1 addition & 1 deletion default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

pkgs.buildGoApplication {
pname = "auth0-simple-exporter";
version = "v0.1.0";
version = "v0.1.1";
pwd = ./.;
src = ./.;
modules = ./gomod2nix.toml;
Expand Down
4 changes: 2 additions & 2 deletions deploy/charts/auth0-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0
version: 0.1.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "0.1.0"
appVersion: "0.1.1"

home: https://github.com/tfadeyi/auth0-simple-exporter
maintainers:
Expand Down
2 changes: 1 addition & 1 deletion deploy/charts/auth0-exporter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ on the `/metrics` endpoint.
| exporter.tls.disabled | bool | `false` | Run exporter without TLS. |
| exporter.tls.keyFile | string | `""` | The key file for the exporter TLS connection. |
| fullnameOverride | string | `""` | Helm default setting, use this to shorten install name |
| image | object | `{"pullPolicy":"IfNotPresent","repository":"ghcr.io/tfadeyi/auth0-simple-exporter","tag":"v0.1.0"}` | image settings |
| image | object | `{"pullPolicy":"IfNotPresent","repository":"ghcr.io/tfadeyi/auth0-simple-exporter","tag":"v0.1.1"}` | image settings |
| imagePullSecrets | list | `[]` | specify credentials if pulling from a customer registry |
| labels | object | `{}` | |
| nameOverride | string | `""` | Helm default setting to override release name, leave blank |
Expand Down
2 changes: 1 addition & 1 deletion deploy/charts/auth0-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ image:
repository: ghcr.io/tfadeyi/auth0-simple-exporter
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "v0.1.0"
tag: "v0.1.1"

# -- specify credentials if pulling from a customer registry
imagePullSecrets: []
Expand Down
35 changes: 19 additions & 16 deletions gomod2nix.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ schema = 3
version = "v0.0.0-20170810143723-de5bf2ad4578"
hash = "sha256-nL0/0QM0Pec83vBlwXvQ8g5SvvZnCQgzD1apxfHNGlg="
[mod."github.com/auth0/go-auth0"]
version = "v1.0.0"
hash = "sha256-OxK6jiOQVHGjtpH0f1I25XVrM9cypDDVkhw/sFLTHEY="
version = "v1.1.0"
hash = "sha256-NPS83BiyvNoKeQ/uSKDOT+gEFGW1tqkACLwkCML/h/I="
[mod."github.com/beorn7/perks"]
version = "v1.0.1"
hash = "sha256-h75GUqfwJKngCJQVE5Ao5wnO3cfKD9lSIteoLp/3xJ4="
Expand All @@ -25,6 +25,9 @@ schema = 3
[mod."github.com/davecgh/go-spew"]
version = "v1.1.1"
hash = "sha256-nhzSUrE1fCkN0+RL04N4h8jWmRFPPPWbCuDc7Ss0akI="
[mod."github.com/ghodss/yaml"]
version = "v1.0.0"
hash = "sha256-D+2i+EwF2YptR0m/OG4WIVVLL7tUC7XvgRQef2usfGo="
[mod."github.com/go-kit/log"]
version = "v0.2.1"
hash = "sha256-puLJ+up45X2j9E3lXvBPKqHPKOA/sFAhfCqGxsITW/Y="
Expand Down Expand Up @@ -104,14 +107,14 @@ schema = 3
version = "v1.8.4"
hash = "sha256-MoOmRzbz9QgiJ+OOBo5h5/LbilhJfRUryvzHJmXAWjo="
[mod."github.com/swaggo/echo-swagger"]
version = "v1.4.0"
hash = "sha256-mzhArTueD68sd8PoLrVEOuVrULqeNZQihAJiwZeoEzo="
version = "v1.4.1"
hash = "sha256-dE/4ICl5wtMkX0vHzaUmgLfy59kIDPQhNq44E1zNAa4="
[mod."github.com/swaggo/files/v2"]
version = "v2.0.0"
hash = "sha256-OJZ0tJn68mn/LBgLnmfb4UsMoviGTpT4sBfa8S9fVrY="
[mod."github.com/swaggo/swag"]
version = "v1.16.1"
hash = "sha256-phcrc0rA3pqIl+AzjCv173mfSPFHKhkAv97I/n6y9P0="
version = "v1.16.2"
hash = "sha256-KBC/L2/pIjhrhUbf0jGLVO7J+TKu/MNMXEEibf9iYkk="
[mod."github.com/tonglil/gokitlogr"]
version = "v1.0.0"
hash = "sha256-MnIddosmhYQ8dCmLH9Q0cbRktCjj6uRkLBv3IbpfnOg="
Expand All @@ -125,23 +128,23 @@ schema = 3
version = "v1.11.0"
hash = "sha256-Lb6rHHfR62Ozg2j2JZy3MKOMKdsfzd1IYTR57r3Mhp0="
[mod."golang.org/x/crypto"]
version = "v0.11.0"
hash = "sha256-aFI8cpvSZRiQO2HQm6+a4e9OiSf7GUfj69SSta2iZ44="
version = "v0.13.0"
hash = "sha256-4ThyrEJI4i9XBwx/q/R4jR41VJBZ/TSR0+UCkjTH95A="
[mod."golang.org/x/net"]
version = "v0.12.0"
hash = "sha256-zQZBj42+wLLxXwS/e+KNbu8+SukMDxxW23WSi5XQXAA="
version = "v0.15.0"
hash = "sha256-k0hgSwNmZz9nN9cqqACNHdnejV50AAwzxnoyTs9liXw="
[mod."golang.org/x/oauth2"]
version = "v0.10.0"
hash = "sha256-fKUwQ8HPEP4y6ZAtNHHHMDMYn2Fo6qTMcY45BbpE+Eg="
version = "v0.12.0"
hash = "sha256-tjNUICkISajnbZ03I3nsWEPLGqb4ZBIJE7FomynLykQ="
[mod."golang.org/x/sync"]
version = "v0.3.0"
hash = "sha256-bCJKLvwExhYacH2ZrWlZ38lr1d6oNenNt2m1QqDCs0o="
[mod."golang.org/x/sys"]
version = "v0.10.0"
hash = "sha256-eeifyHj8IcTAruekJAGMCcjFyU2GAIAgvxS36hPZM1U="
version = "v0.12.0"
hash = "sha256-Ht/PhBJGWNBg4ksmdUu4+7hJjFypSwoUN/8DJricd+0="
[mod."golang.org/x/text"]
version = "v0.11.0"
hash = "sha256-W/XvTPAGIOlFVwZ7rTaEid7pdRtb4wc6a+nyOW99/ks="
version = "v0.13.0"
hash = "sha256-J34dbc8UNVIdRJUZP7jPt11oxuwG8VvrOOylxE7V3oA="
[mod."golang.org/x/time"]
version = "v0.3.0"
hash = "sha256-/hmc9skIswMYbivxNS7R8A6vCTUF9k2/7tr/ACkcEaM="
Expand Down
2 changes: 1 addition & 1 deletion pkg/docs/docs.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"name": "Apache 2.0",
"url": "https://github.com/tfadeyi/auth0-simple-exporter/blob/main/LICENSE"
},
"version": "0.1.0"
"version": "0.1.1"
},
"host": "localhost:8080",
"basePath": "/",
Expand Down
2 changes: 1 addition & 1 deletion pkg/docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ info:
name: Apache 2.0
url: https://github.com/tfadeyi/auth0-simple-exporter/blob/main/LICENSE
title: Auth0 simple exporter
version: 0.1.0
version: 0.1.1
paths:
/metrics:
get:
Expand Down
2 changes: 1 addition & 1 deletion pkg/exporter/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
)

// @title Auth0 simple exporter
// @version 0.1.0
// @version 0.1.1
// @description A simple Prometheus exporter for Auth0 log [events](https://auth0.com/docs/api/management/v2#!/Logs/get_logs),
// @description which allows you to collect metrics from Auth0 and expose them in a format that can be consumed by Prometheus.

Expand Down

0 comments on commit a60abd8

Please sign in to comment.