in fast-build-update-tool/internal/runner/instance_updater.go [49:68]
func (s *instanceUpdater) Update(ctx context.Context) error {
remotePublicKey, err := s.enableSSH(ctx)
if err != nil {
return s.processError(err)
}
err = s.copyFilesToRemoteInstance(ctx, remotePublicKey)
if err != nil {
return s.processError(err)
}
err = s.runUpdateScript(ctx, remotePublicKey)
if err != nil {
return s.processError(err)
}
s.progressTracker.UpdateState(UpdateStateCount)
return nil
}