Skip to content

San 5818 rerun containers#2200

Merged
henrymollman merged 6 commits intomasterfrom
SAN-5818-rerun-containers
May 2, 2017
Merged

San 5818 rerun containers#2200
henrymollman merged 6 commits intomasterfrom
SAN-5818-rerun-containers

Conversation

@henrymollman
Copy link
Copy Markdown
Contributor

This PR will add a way for users to redeploy a test cluster, rerunning tests without rebuilding the test container but still rebuilding the dependencies.

Copy link
Copy Markdown
Contributor

@damienrunnable damienrunnable left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM per discussion.

},
redeployCluster: function () {
$rootScope.$broadcast('close-popovers');
loading('main', true);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have a finally or equivalent to turn this back to false?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That exists, loading('main', false)

.catch(errs.handler)
.finally(function () {
loading('main', false);
return $state.go('base.instances.instance', {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason we are navigating the user?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The rebuild without cache method reloads the state for the user - I thought that the experience should be mirrored here, unless there is a reason not to.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's fine, I thought it does it by default though, we listen to the events.

Copy link
Copy Markdown
Contributor

@Myztiq Myztiq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 one question, but it's fine

@henrymollman henrymollman force-pushed the SAN-5818-rerun-containers branch from 55ddc29 to 9927015 Compare May 2, 2017 19:44
@henrymollman henrymollman merged commit a6e4e94 into master May 2, 2017
@henrymollman henrymollman deleted the SAN-5818-rerun-containers branch May 28, 2017 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants