Skip to content

Commit

Permalink
Merge pull request #2 from 1debit/fix-repo-url
Browse files Browse the repository at this point in the history
Use mani-diffy repo URL
  • Loading branch information
Nicolas-Richard authored Dec 13, 2023
2 parents 8995b89 + bf69e16 commit f72969e
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions demo/.zz.auto-generated/prod-app-group-1/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
server: https://kubernetes.default.svc
project: default
source:
repoURL: https://github.com/my-org/my-repo.git
repoURL: https://github.com/1debit/mani-diffy.git
path: charts/service
helm:
version: v3
Expand All @@ -34,7 +34,7 @@ spec:
server: https://kubernetes.default.svc
project: default
source:
repoURL: https://github.com/my-org/my-repo.git
repoURL: https://github.com/1debit/mani-diffy.git
path: charts/service
helm:
version: v3
Expand Down
2 changes: 1 addition & 1 deletion demo/.zz.auto-generated/prod-cluster/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
server: https://kubernetes.default.svc
project: default
source:
repoURL: https://github.com/my-org/my-repo.git
repoURL: https://github.com/1debit/mani-diffy.git
targetRevision: HEAD

path: charts/app-of-apps
Expand Down
6 changes: 3 additions & 3 deletions demo/.zz.auto-generated/test-app-group-1/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
server: https://kubernetes.default.svc
project: default
source:
repoURL: https://github.com/my-org/my-repo.git
repoURL: https://github.com/1debit/mani-diffy.git
path: charts/service
helm:
version: v3
Expand All @@ -34,7 +34,7 @@ spec:
server: https://kubernetes.default.svc
project: default
source:
repoURL: https://github.com/my-org/my-repo.git
repoURL: https://github.com/1debit/mani-diffy.git
path: charts/service
helm:
version: v3
Expand All @@ -58,7 +58,7 @@ spec:
server: https://kubernetes.default.svc
project: default
source:
repoURL: https://github.com/my-org/my-repo.git
repoURL: https://github.com/1debit/mani-diffy.git
path: charts/service
helm:
version: v3
Expand Down
2 changes: 1 addition & 1 deletion demo/.zz.auto-generated/test-cluster/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
server: https://kubernetes.default.svc
project: default
source:
repoURL: https://github.com/my-org/my-repo.git
repoURL: https://github.com/1debit/mani-diffy.git
targetRevision: HEAD

path: charts/app-of-apps
Expand Down
2 changes: 1 addition & 1 deletion demo/bootstrap/prod-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
valueFiles:
- ../../overrides/bootstrap/prod-cluster.yaml
path: charts/app-of-apps
repoURL: https://github.com/my-org/my-repo.git
repoURL: https://github.com/1debit/mani-diffy.git
targetRevision: HEAD
syncPolicy:
syncOptions:
Expand Down
2 changes: 1 addition & 1 deletion demo/bootstrap/test-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
valueFiles:
- ../../overrides/bootstrap/test-cluster.yaml
path: charts/app-of-apps
repoURL: https://github.com/my-org/my-repo.git
repoURL: https://github.com/1debit/mani-diffy.git
targetRevision: HEAD
syncPolicy:
syncOptions:
Expand Down
2 changes: 1 addition & 1 deletion demo/charts/app-of-apps/templates/app-of-apps.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
server: https://kubernetes.default.svc
project: default
source:
repoURL: https://github.com/my-org/my-repo.git
repoURL: https://github.com/1debit/mani-diffy.git
targetRevision: HEAD

path: charts/app-of-apps
Expand Down
2 changes: 1 addition & 1 deletion demo/charts/app-of-apps/templates/service.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
server: https://kubernetes.default.svc
project: default
source:
repoURL: https://github.com/my-org/my-repo.git
repoURL: https://github.com/1debit/mani-diffy.git
path: charts/service
helm:
version: v3
Expand Down
2 changes: 1 addition & 1 deletion pkg/helm/helm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ func TestDifferenceInTwoDifferentFiles(t *testing.T) {
func TestGenerateHashOnChart(t *testing.T) {
hash, _ := generalHashFunction("demo/charts/app-of-apps")
h := hex.EncodeToString(hash)
actualHash := "dcf6bb37066d9fdd5c790edbe765953e526ce0116f00ed3d1dce1ba7259f6770"
actualHash := "95630c1ec9b835536a3056d4dcbbd6e023111c5e4340ac80b945c2e3a4f8fc42"
if h != actualHash {
t.Errorf("Failed to generate a generic hash on a chart. got: %s wanted: %s", h, actualHash)
}
Expand Down

0 comments on commit f72969e

Please sign in to comment.