Skip to content

Commit 167dba2

Browse files
iapershinalexey-igrychev
authored andcommitted
fix
Signed-off-by: Yaroslav Pershin <[email protected]>
1 parent 513fe42 commit 167dba2

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

e2e/tests/flow_vault/complete_cycle_test.go

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ var _ = Describe("trdl flow test", Label("e2e", "trdl", "flow"), func() {
5454
ProjectName: testOpts.projectName,
5555
RepoURL: "/test_dir",
5656
TrdlChannelsBranch: testOpts.branchName,
57-
RequiredNumberOfVerifiedSignaturesOnCommit: 0,
57+
RequiredNumberOfVerifiedSignaturesOnCommit: 3,
5858
S3Endpoint: "http://minio:9000",
5959
S3Region: "ru-central1",
6060
S3AccessKeyID: "minioadmin",
@@ -82,15 +82,15 @@ var _ = Describe("trdl flow test", Label("e2e", "trdl", "flow"), func() {
8282
}
8383
By("[server] Publishing channels ...")
8484
{
85-
commit := gitAddTrdlChannelsConfiguration(
85+
_ = gitAddTrdlChannelsConfiguration(
8686
SuiteData.TestDir,
8787
testOpts.pgpKeys["developer"],
8888
TrdlChannelsConfiguration{
8989
Group: testOpts.group,
9090
Channel: testOpts.channel,
9191
Version: testOpts.version1,
9292
})
93-
quorumSignCommit(SuiteData.TestDir, testOpts.pgpKeys["tl"], testOpts.pgpKeys["pm"], commit)
93+
quorumSignCommit(SuiteData.TestDir, testOpts.pgpKeys["tl"], testOpts.pgpKeys["pm"], testOpts.branchName)
9494
serverPublish(testOpts.projectName)
9595
}
9696
By("[client] Using channel release ...")
@@ -113,21 +113,21 @@ var _ = Describe("trdl flow test", Label("e2e", "trdl", "flow"), func() {
113113
gitTag(SuiteData.TestDir, currentTag, testOpts.pgpKeys["developer"])
114114

115115
By(fmt.Sprintf("[server] Signing tag %q", currentTag))
116-
quorumSignTag(SuiteData.TestDir, testOpts.pgpKeys["tl"], testOpts.pgpKeys["pm"], testOpts.tag2)
116+
quorumSignTag(SuiteData.TestDir, testOpts.pgpKeys["tl"], testOpts.pgpKeys["pm"], currentTag)
117117

118118
By(fmt.Sprintf("[server] Releasing tag %q", currentTag))
119119
serverRelease(testOpts.projectName, currentTag)
120120

121121
By("[server] Publishing channels ...")
122-
commit := gitAddTrdlChannelsConfiguration(
122+
_ = gitAddTrdlChannelsConfiguration(
123123
SuiteData.TestDir,
124124
testOpts.pgpKeys["developer"],
125125
TrdlChannelsConfiguration{
126126
Group: testOpts.group,
127127
Channel: testOpts.channel,
128128
Version: curentVersion,
129129
})
130-
quorumSignCommit(SuiteData.TestDir, testOpts.pgpKeys["tl"], testOpts.pgpKeys["pm"], commit)
130+
quorumSignCommit(SuiteData.TestDir, testOpts.pgpKeys["tl"], testOpts.pgpKeys["pm"], testOpts.branchName)
131131
serverPublish(testOpts.projectName)
132132
}
133133

@@ -177,21 +177,21 @@ var _ = Describe("trdl flow test", Label("e2e", "trdl", "flow"), func() {
177177
gitTag(SuiteData.TestDir, currentTag, testOpts.pgpKeys["developer"])
178178

179179
By(fmt.Sprintf("[server] Signing tag %q", currentTag))
180-
quorumSignTag(SuiteData.TestDir, testOpts.pgpKeys["tl"], testOpts.pgpKeys["pm"], testOpts.tag2)
180+
quorumSignTag(SuiteData.TestDir, testOpts.pgpKeys["tl"], testOpts.pgpKeys["pm"], currentTag)
181181

182182
By(fmt.Sprintf("[server] Releasing tag %q", currentTag))
183183
serverRelease(testOpts.projectName, currentTag)
184184

185185
By("[server] Publishing channels ...")
186-
commit := gitAddTrdlChannelsConfiguration(
186+
_ = gitAddTrdlChannelsConfiguration(
187187
SuiteData.TestDir,
188188
testOpts.pgpKeys["developer"],
189189
TrdlChannelsConfiguration{
190190
Group: testOpts.group,
191191
Channel: testOpts.channel,
192192
Version: curentVersion,
193193
})
194-
quorumSignCommit(SuiteData.TestDir, testOpts.pgpKeys["tl"], testOpts.pgpKeys["pm"], commit)
194+
quorumSignCommit(SuiteData.TestDir, testOpts.pgpKeys["tl"], testOpts.pgpKeys["pm"], testOpts.branchName)
195195
serverPublish(testOpts.projectName)
196196
}
197197

0 commit comments

Comments
 (0)