File tree Expand file tree Collapse file tree 18 files changed +30
-27
lines changed Expand file tree Collapse file tree 18 files changed +30
-27
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ WORKDIR /go/src
3
3
COPY . /go/src
4
4
RUN GIT_COMMIT=$(git rev-parse HEAD) && \
5
5
CGO_ENABLED=0 GOOS=linux go build -a \
6
- -ldflags "-X github.com/rhd-gitops-example /gitops-backend/pkg/health.GitRevision=${GIT_COMMIT}" ./cmd/backend-http
6
+ -ldflags "-X github.com/redhat-developer /gitops-backend/pkg/health.GitRevision=${GIT_COMMIT}" ./cmd/backend-http
7
7
8
8
FROM registry.access.redhat.com/ubi8/ubi-minimal
9
9
WORKDIR /root/
Original file line number Diff line number Diff line change 1
1
package main
2
2
3
3
import (
4
- "github.com/rhd-gitops-example /gitops-backend/pkg/cmd"
4
+ "github.com/redhat-developer /gitops-backend/pkg/cmd"
5
5
)
6
6
7
7
func main () {
Original file line number Diff line number Diff line change 1
- module github.com/rhd-gitops-example /gitops-backend
1
+ module github.com/redhat-developer /gitops-backend
2
2
3
3
go 1.14
4
4
@@ -28,6 +28,7 @@ require (
28
28
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4 // indirect
29
29
github.com/prometheus/common v0.7.0 // indirect
30
30
github.com/prometheus/procfs v0.0.5 // indirect
31
+ github.com/rhd-gitops-example/gitops-backend v0.0.0-20200922164111-e3fd3401e6cd
31
32
github.com/shurcooL/githubv4 v0.0.0-20191102174205-af46314aec7b // indirect
32
33
github.com/spf13/cast v1.3.1 // indirect
33
34
github.com/spf13/cobra v1.0.0
Original file line number Diff line number Diff line change @@ -319,6 +319,8 @@ github.com/prometheus/procfs v0.0.3/go.mod h1:4A/X28fw3Fc593LaREMrKMqOKvUAntwMDa
319
319
github.com/prometheus/procfs v0.0.5 h1:3+auTFlqw+ZaQYJARz6ArODtkaIwtvBTx3N2NehQlL8 =
320
320
github.com/prometheus/procfs v0.0.5 /go.mod h1:4A/X28fw3Fc593LaREMrKMqOKvUAntwMDaekg4FpcdQ =
321
321
github.com/prometheus/tsdb v0.7.1 /go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU =
322
+ github.com/rhd-gitops-example/gitops-backend v0.0.0-20200922164111-e3fd3401e6cd h1:5zjKaYoTfzqls/2CydXM8ls7ggGBu188x9Wcvj00vto =
323
+ github.com/rhd-gitops-example/gitops-backend v0.0.0-20200922164111-e3fd3401e6cd /go.mod h1:ENI/IrBm31kY23IiYK/Q1aC6CK5lgkm4NGoXOY+JQj4 =
322
324
github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af /go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg =
323
325
github.com/rogpeppe/go-internal v1.3.0 /go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4 =
324
326
github.com/russross/blackfriday/v2 v2.0.1 /go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM =
Original file line number Diff line number Diff line change @@ -10,11 +10,11 @@ import (
10
10
"k8s.io/client-go/rest"
11
11
12
12
"github.com/prometheus/client_golang/prometheus/promhttp"
13
- "github.com/rhd-gitops-example /gitops-backend/pkg/git"
14
- "github.com/rhd-gitops-example /gitops-backend/pkg/health"
15
- "github.com/rhd-gitops-example /gitops-backend/pkg/httpapi"
16
- "github.com/rhd-gitops-example /gitops-backend/pkg/httpapi/secrets"
17
- "github.com/rhd-gitops-example /gitops-backend/pkg/metrics"
13
+ "github.com/redhat-developer /gitops-backend/pkg/git"
14
+ "github.com/redhat-developer /gitops-backend/pkg/health"
15
+ "github.com/redhat-developer /gitops-backend/pkg/httpapi"
16
+ "github.com/redhat-developer /gitops-backend/pkg/httpapi/secrets"
17
+ "github.com/redhat-developer /gitops-backend/pkg/metrics"
18
18
)
19
19
20
20
const (
Original file line number Diff line number Diff line change 5
5
"fmt"
6
6
7
7
"github.com/jenkins-x/go-scm/scm"
8
- "github.com/rhd-gitops-example /gitops-backend/pkg/metrics"
8
+ "github.com/redhat-developer /gitops-backend/pkg/metrics"
9
9
)
10
10
11
11
// New creates and returns a new SCMClient.
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ import (
10
10
"github.com/google/go-cmp/cmp"
11
11
"github.com/jenkins-x/go-scm/scm/factory"
12
12
13
- "github.com/rhd-gitops-example /gitops-backend/pkg/metrics"
14
- "github.com/rhd-gitops-example /gitops-backend/test"
13
+ "github.com/redhat-developer /gitops-backend/pkg/metrics"
14
+ "github.com/redhat-developer /gitops-backend/test"
15
15
)
16
16
17
17
func TestFileContents (t * testing.T ) {
Original file line number Diff line number Diff line change 5
5
"net/url"
6
6
7
7
scmfactory "github.com/jenkins-x/go-scm/scm/factory"
8
- "github.com/rhd-gitops-example /gitops-backend/pkg/metrics"
8
+ "github.com/redhat-developer /gitops-backend/pkg/metrics"
9
9
)
10
10
11
11
// SCMClientFactory is an implementation of the GitClientFactory interface that can
Original file line number Diff line number Diff line change 4
4
"testing"
5
5
6
6
"github.com/jenkins-x/go-scm/scm"
7
- "github.com/rhd-gitops-example /gitops-backend/pkg/metrics"
8
- "github.com/rhd-gitops-example /gitops-backend/test"
7
+ "github.com/redhat-developer /gitops-backend/pkg/metrics"
8
+ "github.com/redhat-developer /gitops-backend/test"
9
9
)
10
10
11
11
var _ ClientFactory = (* SCMClientFactory )(nil )
Original file line number Diff line number Diff line change 7
7
"github.com/google/go-cmp/cmp"
8
8
"sigs.k8s.io/kustomize/pkg/fs"
9
9
10
- "github.com/rhd-gitops-example /gitops-backend/test"
10
+ "github.com/redhat-developer /gitops-backend/test"
11
11
)
12
12
13
13
var _ fs.FileSystem = gitFS {}
You can’t perform that action at this time.
0 commit comments