aboutsummaryrefslogtreecommitdiffstats
path: root/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/RunStatus.java
blob: 5d625285a7d9387fba2e2f61f1cd0eeedbd8124a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.controller.deployment;

/**
 * Status of jobs run by a {@link JobController}.
 *
 * @author jonmv
 */
public enum RunStatus {

    /** Run is still proceeding normally, i.e., without failures. */
    running,

    /** Deployment was rejected due node allocation failure. */
    nodeAllocationFailure,

    /** Deployment of the real application was rejected because the package is faulty. */
    invalidApplication,

    /** Deployment of the real application was rejected, for other reasons. */
    deploymentFailed,

    /** Deployment timed out waiting for endpoint certificate */
    endpointCertificateTimeout,

    /** Installation of the real application timed out. */
    installationFailed,

    /** The verification tests failed. */
    testFailure,

    /** No tests, for a test job. */
    noTests,

    /** An unexpected error occurred. */
    error,

    /** Everything completed with great success! */
    success,

    /** Run was abandoned, due to job timeout or blocking a newer target for the same job. */
    aborted,

    /** Cancelled by a human being. */
    cancelled,

    /** Run should be reset to its starting state. Used for production tests. */
    reset,

    /** Deployment of the real application was rejected due to exceeding quota. */
    quotaExceeded

}