Skip to content

Commit 058952d

Browse files
committed
feat : migration of code to fork
migration of code to fork at github.com/Monitoring-Projects/process-exporter Signed-off-by: Pratik Raj <[email protected]>
1 parent 2ecbdb3 commit 058952d

File tree

12 files changed

+19
-18
lines changed

12 files changed

+19
-18
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
FROM --platform=$BUILDPLATFORM golang:1.23.8 AS build
44
ARG TARGETARCH
55
ARG BUILDPLATFORM
6-
WORKDIR /go/src/github.com/ncabatoff/process-exporter
6+
WORKDIR /go/src/github.com/Monitoring-Projects/process-exporter
77
ADD . .
88

99
# Build the process-exporter command inside the container.
1010
RUN CGO_ENABLED=0 GOARCH=$TARGETARCH make build
1111

1212
FROM scratch
1313

14-
COPY --from=build /go/src/github.com/ncabatoff/process-exporter/process-exporter /bin/process-exporter
14+
COPY --from=build /go/src/github.com/Monitoring-Projects/process-exporter/process-exporter /bin/process-exporter
1515

1616
# Run the process-exporter command by default when the container starts.
1717
ENTRYPOINT ["/bin/process-exporter"]

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ docker:
6464
docker run --rm --volumes-from configs "$(DOCKER_IMAGE_NAME):$(TAG_VERSION)" $(SMOKE_TEST)
6565

6666
dockertest:
67-
docker run --rm -it -v `pwd`:/go/src/github.com/ncabatoff/process-exporter golang:1.23.8 make -C /go/src/github.com/ncabatoff/process-exporter test
67+
docker run --rm -it -v `pwd`:/go/src/github.com/Monitoring-Projects/process-exporter golang:1.23.8 make -C /go/src/github.com/Monitoring-Projects/process-exporter test
6868

6969
dockerinteg:
70-
docker run --rm -it -v `pwd`:/go/src/github.com/ncabatoff/process-exporter golang:1.23.8 make -C /go/src/github.com/ncabatoff/process-exporter build integ
70+
docker run --rm -it -v `pwd`:/go/src/github.com/Monitoring-Projects/process-exporter golang:1.23.8 make -C /go/src/github.com/Monitoring-Projects/process-exporter build integ
7171

7272
.PHONY: update-go-deps
7373
update-go-deps:

cloudbuild.release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ steps:
1010

1111
# Setup the workspace
1212
- name: gcr.io/cloud-builders/go
13-
env: ['PROJECT_ROOT=github.com/ncabatoff/process-exporter']
13+
env: ['PROJECT_ROOT=github.com/Monitoring-Projects/process-exporter']
1414
args: ['env']
1515

1616
# Build project

cloudbuild.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ steps:
1313
# args: ['chmod', '+x', 'dep']
1414
# Setup the workspace
1515
- name: gcr.io/cloud-builders/go
16-
env: ['PROJECT_ROOT=github.com/ncabatoff/process-exporter']
16+
env: ['PROJECT_ROOT=github.com/Monitoring-Projects/process-exporter']
1717
args: ['env']
1818
# Run dep in the workspace created in previous step
1919
# - name: gcr.io/cloud-builders/go

cmd/process-exporter/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ import (
1414
"syscall"
1515
"time"
1616

17+
common "github.com/Monitoring-Projects/process-exporter"
18+
"github.com/Monitoring-Projects/process-exporter/collector"
19+
"github.com/Monitoring-Projects/process-exporter/config"
1720
"github.com/ncabatoff/fakescraper"
18-
common "github.com/ncabatoff/process-exporter"
19-
"github.com/ncabatoff/process-exporter/collector"
20-
"github.com/ncabatoff/process-exporter/config"
2121
"github.com/prometheus/client_golang/prometheus"
2222
verCollector "github.com/prometheus/client_golang/prometheus/collectors/version"
2323
"github.com/prometheus/client_golang/prometheus/promhttp"

collector/process_collector.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"log"
55
"time"
66

7-
common "github.com/ncabatoff/process-exporter"
8-
"github.com/ncabatoff/process-exporter/proc"
7+
common "github.com/Monitoring-Projects/process-exporter"
8+
"github.com/Monitoring-Projects/process-exporter/proc"
99
"github.com/prometheus/client_golang/prometheus"
1010
)
1111

config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"text/template"
1212
"time"
1313

14-
common "github.com/ncabatoff/process-exporter"
14+
common "github.com/Monitoring-Projects/process-exporter"
1515
"gopkg.in/yaml.v2"
1616
)
1717

config/config_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ package config
22

33
import (
44
// "github.com/kylelemons/godebug/pretty"
5-
common "github.com/ncabatoff/process-exporter"
6-
. "gopkg.in/check.v1"
75
"time"
6+
7+
common "github.com/Monitoring-Projects/process-exporter"
8+
. "gopkg.in/check.v1"
89
)
910

1011
func (s MySuite) TestConfigBasic(c *C) {

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/ncabatoff/process-exporter
1+
module github.com/Monitoring-Projects/process-exporter
22

33
go 1.23.0
44

proc/base_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"time"
66

7-
common "github.com/ncabatoff/process-exporter"
7+
common "github.com/Monitoring-Projects/process-exporter"
88
)
99

1010
type msi map[string]int

0 commit comments

Comments
 (0)