mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-07-23 23:40:44 -04:00
upgrade: fix 2.6 -> 2.7 migration for 2.7.1 patch
Also correctly set microservice version from config. Previously the key was ignored and microservices were always tried for an upgrade.
This commit is contained in:
parent
1d24036f21
commit
4a0d531821
4 changed files with 79 additions and 36 deletions
|
@ -101,7 +101,7 @@ func TestUpgrade(t *testing.T) {
|
|||
log.Println(string(data))
|
||||
|
||||
log.Println("Triggering upgrade.")
|
||||
cmd := exec.CommandContext(context.Background(), cli, "upgrade", "apply", "--force", "--debug")
|
||||
cmd := exec.CommandContext(context.Background(), cli, "upgrade", "apply", "--force", "--debug", "-y")
|
||||
msg, err := cmd.CombinedOutput()
|
||||
require.NoErrorf(err, "%s", string(msg))
|
||||
require.NoError(containsUnexepectedMsg(string(msg)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue