Skip to content

Commit b299c9f

Browse files
authored
ci: fix compare.sh script (#2045)
1 parent 7a586c1 commit b299c9f

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

bin/compare.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,13 @@ targetDirB="tmp/${branchB}"
1616
export NODE_ENV=test
1717
otomi values
1818
helmfile template $templateArgs --output-dir-template="../$targetDirB/{{.Release.Namespace}}-{{.Release.Name }}"
19-
rm tests/fixtures/values-repo.yaml
19+
mv tests/fixtures/values-repo.yaml $targetDirB/values-repo.yaml
2020
git checkout $branchA
2121
# we remove previously rendered manifests so they are not mixed up with newly rendered
2222
rm -rf $targetDirA
23+
otomi values
2324
helmfile template $templateArgs --output-dir-template="../$targetDirA/{{.Release.Namespace}}-{{.Release.Name}}"
25+
mv tests/fixtures/values-repo.yaml $targetDirA/values-repo.yaml
2426
git checkout $branchB
2527

2628
# order of arguments matters so new chanages are green color

versions.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
api: 4.2.0
2-
console: 4.1.0
3-
consoleLogin: v3.5.0
4-
tasks: 3.8.0
5-
tools: 2.8.7
1+
api: main
2+
console: main
3+
consoleLogin: main
4+
tasks: main
5+
tools: main

0 commit comments

Comments
 (0)