Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions tools/zos-update-worker/internal/update_worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,15 @@ func (w *Worker) updateZosVersion(network Network, manager client.Manager) error
return nil
}

// During a canary rollout (safe_to_upgrade == false) the version is delivered only to
// the configured test farms by the node upgrader. Keep the network `latest` symlink
// pointing at the last GA version so freshly bootstrapped nodes (and non-canary nodes)
// don't pick up the canary version.
if !chainVersion.SafeToUpgrade {
log.Debug().Msgf("skipping %v latest link update: version %v is not marked safe to upgrade yet", network, chainVersion.Version)
return nil
}

log.Debug().Msgf("getting substrate version %v for network %v", chainVersion.Version, network)

// now we need to find how dst is relative to src
Expand Down
Loading