Skip to content

Commit

Permalink
Make it work locally
Browse files Browse the repository at this point in the history
  • Loading branch information
rguliyev committed Feb 12, 2024
1 parent 32c817c commit 31b257e
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ jobs:
- name: sign image
run: |
DIGEST=$(crane digest ghcr.io/cpanato/github_actions_exporter:${{ steps.get_tag.outputs.tag_name }})
cosign sign "ghcr.io/cpanato/github_actions_exporter@${DIGEST}"
DIGEST=$(crane digest ghcr.io/rguliyev/github_actions_exporter:${{ steps.get_tag.outputs.tag_name }})
cosign sign "ghcr.io/rguliyev/github_actions_exporter@${DIGEST}"
env:
COSIGN_YES: "true"

Expand Down
6 changes: 3 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ builds:
-X github.com/prometheus/common/version.Version={{.Version}}
-X github.com/prometheus/common/version.Revision={{.Commit}}
-X github.com/prometheus/common/version.Branch={{.Branch}}
-X github.com/prometheus/common/version.BuildUser=cpanato
-X github.com/prometheus/common/version.BuildUser=rguliyev
-X github.com/prometheus/common/version.BuildDate={{.Date}}
archives:
Expand All @@ -61,7 +61,7 @@ kos:
- id: ko-image
main: .
base_image: cgr.dev/chainguard/static
repository: ghcr.io/cpanato
repository: ghcr.io/rguliyev
platforms:
- all
tags:
Expand All @@ -74,7 +74,7 @@ kos:

release:
github:
owner: cpanato
owner: rguliyev
name: github_actions_exporter
draft: false
prerelease: allow
8 changes: 4 additions & 4 deletions charts/github-exporter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
description: GitHub exporter
name: github-exporter
version: 0.1.1
appVersion: 0.6.1
home: https://github.com/cpanato/github_actions_exporter
version: 0.1.2
appVersion: 0.6.2
home: https://github.com/rguliyev/github_actions_exporter
maintainers:
- name: cpanato
- name: rguliyev
6 changes: 3 additions & 3 deletions charts/github-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ secret:
deployment:
replicaCount: 1
image:
repository: ghcr.io/cpanato/github_actions_exporter
tag: v0.6.1
digest: sha256:39d4c45327d2ec0f4fbac3197f5a862da49d66f775d7844c899f5158db95f37e
repository: ghcr.io/rguliyev/github_actions_exporter
tag: v0.6.2
digest: sha256:5d200bc2c8c0cf5e98092c0fbeb56c0ecfdf7929e1bcc4892d5ff9846b755293
pullPolicy: IfNotPresent

podLabels: {}
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/cpanato/github_actions_exporter
module github.com/rguliyev/github_actions_exporter

go 1.20

Expand Down
2 changes: 1 addition & 1 deletion internal/server/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"testing"
"time"

"github.com/cpanato/github_actions_exporter/internal/server"
"github.com/go-kit/log"
"github.com/google/go-github/v58/github"
"github.com/rguliyev/github_actions_exporter/internal/server"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/server/workflow_metrics_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ import (
"net/http"
"strings"

"github.com/cpanato/github_actions_exporter/model"
"github.com/go-kit/log"
"github.com/go-kit/log/level"
"github.com/google/go-github/v58/github"
"github.com/rguliyev/github_actions_exporter/model"
)

// WorkflowMetricsExporter struct to hold some information
Expand Down
2 changes: 1 addition & 1 deletion internal/server/workflow_metrics_exporter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ import (
"testing"
"time"

"github.com/cpanato/github_actions_exporter/internal/server"
"github.com/go-kit/log"
"github.com/google/go-github/v58/github"
"github.com/rguliyev/github_actions_exporter/internal/server"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ import (
"syscall"

"github.com/alecthomas/kingpin/v2"
"github.com/cpanato/github_actions_exporter/internal/server"
"github.com/go-kit/log/level"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/common/promlog"
"github.com/prometheus/common/promlog/flag"
"github.com/prometheus/common/version"
"github.com/rguliyev/github_actions_exporter/internal/server"
)

var (
Expand Down

0 comments on commit 31b257e

Please sign in to comment.