Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
Require the undeployment of a DG's job from removed hosts
Browse files Browse the repository at this point in the history
This change will mark a deployment group FAILED if we fail to undeploy its job
from hosts that were removed during a HOSTS_CHANGED rolling update.
  • Loading branch information
Nic Cope committed Oct 6, 2016
1 parent ea43b2d commit c468b5c
Show file tree
Hide file tree
Showing 5 changed files with 238 additions and 67 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,21 @@

package com.spotify.helios.common.descriptors;

import static com.google.common.base.Preconditions.checkNotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

import static com.google.common.base.Preconditions.checkNotNull;

@JsonIgnoreProperties(ignoreUnknown = true)
public class RolloutTask extends Descriptor {

public enum Action {
UNDEPLOY_OLD_JOBS,
DEPLOY_NEW_JOB,
AWAIT_RUNNING,
FORCE_UNDEPLOY_JOBS,
AWAIT_STOPPED,
MARK_UNDEPLOYED,
}

public enum Status {
Expand Down
Loading

0 comments on commit c468b5c

Please sign in to comment.