diff options
author | Jon Marius Venstad <venstad@gmail.com> | 2020-01-17 12:28:28 +0100 |
---|---|---|
committer | Jon Marius Venstad <venstad@gmail.com> | 2020-01-17 12:28:28 +0100 |
commit | af32b913879398868025c4d2462186d657feaf15 (patch) | |
tree | caaaa475badbe4f743e1bcdcd3c68b2223f3b7d4 /tenant-cd/src/main/java | |
parent | 17cc18a0fe6a94f086d2d25d04f7d8a7030c85db (diff) |
Add missing StagingSetup.java file
Diffstat (limited to 'tenant-cd/src/main/java')
-rw-r--r-- | tenant-cd/src/main/java/ai/vespa/hosted/cd/StagingSetup.java | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/tenant-cd/src/main/java/ai/vespa/hosted/cd/StagingSetup.java b/tenant-cd/src/main/java/ai/vespa/hosted/cd/StagingSetup.java new file mode 100644 index 00000000000..6853ebfc008 --- /dev/null +++ b/tenant-cd/src/main/java/ai/vespa/hosted/cd/StagingSetup.java @@ -0,0 +1,26 @@ +// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +package ai.vespa.hosted.cd; + +import org.junit.jupiter.api.Tag; + +import java.lang.annotation.Retention; +import java.lang.annotation.Target; + +import static java.lang.annotation.ElementType.ANNOTATION_TYPE; +import static java.lang.annotation.ElementType.TYPE; +import static java.lang.annotation.RetentionPolicy.RUNTIME; + +/** + * Setup for tests that assert continuity of behaviour for Vespa application deployments, through upgrades. + * + * Test classes annotated with this annotation are run in the first phase of automated staging tests, + * to make the initial deployment similar to a production one. + * See <a href="https://cloud.vespa.ai/automated-deployments.html#staging-tests">Vespa cloud documentation</a>. + * + * @author jonmv + */ +@Target({TYPE, ANNOTATION_TYPE}) +@Retention(RUNTIME) +@IntegrationTest +@Tag("staging-setup") +public @interface StagingSetup { } |