e2e: Install workflow before starting continuous rolling-updates of runners
This commit is contained in:
parent
c143fd50b5
commit
4925880e5e
|
|
@ -207,6 +207,14 @@ func TestE2E(t *testing.T) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
t.Run("Install workflow", func(t *testing.T) {
|
||||||
|
env.installActionsWorkflow(t, RunnerSets, testID)
|
||||||
|
})
|
||||||
|
|
||||||
|
if t.Failed() {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
ctx, cancel := context.WithCancel(context.Background())
|
ctx, cancel := context.WithCancel(context.Background())
|
||||||
go func() {
|
go func() {
|
||||||
for i := 1; ; i++ {
|
for i := 1; ; i++ {
|
||||||
|
|
@ -228,14 +236,6 @@ func TestE2E(t *testing.T) {
|
||||||
cancel()
|
cancel()
|
||||||
})
|
})
|
||||||
|
|
||||||
t.Run("Install workflow", func(t *testing.T) {
|
|
||||||
env.installActionsWorkflow(t, RunnerSets, testID)
|
|
||||||
})
|
|
||||||
|
|
||||||
if t.Failed() {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
t.Run("Verify workflow run result", func(t *testing.T) {
|
t.Run("Verify workflow run result", func(t *testing.T) {
|
||||||
env.verifyActionsWorkflowRun(t, testID)
|
env.verifyActionsWorkflowRun(t, testID)
|
||||||
})
|
})
|
||||||
|
|
@ -307,6 +307,14 @@ func TestE2E(t *testing.T) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
t.Run("Install workflow", func(t *testing.T) {
|
||||||
|
env.installActionsWorkflow(t, RunnerDeployments, testID)
|
||||||
|
})
|
||||||
|
|
||||||
|
if t.Failed() {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
ctx, cancel := context.WithCancel(context.Background())
|
ctx, cancel := context.WithCancel(context.Background())
|
||||||
go func() {
|
go func() {
|
||||||
for i := 1; ; i++ {
|
for i := 1; ; i++ {
|
||||||
|
|
@ -328,14 +336,6 @@ func TestE2E(t *testing.T) {
|
||||||
cancel()
|
cancel()
|
||||||
})
|
})
|
||||||
|
|
||||||
t.Run("Install workflow", func(t *testing.T) {
|
|
||||||
env.installActionsWorkflow(t, RunnerDeployments, testID)
|
|
||||||
})
|
|
||||||
|
|
||||||
if t.Failed() {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
t.Run("Verify workflow run result", func(t *testing.T) {
|
t.Run("Verify workflow run result", func(t *testing.T) {
|
||||||
env.verifyActionsWorkflowRun(t, testID)
|
env.verifyActionsWorkflowRun(t, testID)
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue