diff options
author | Morten Tokle <mortent@verizonmedia.com> | 2020-06-10 14:56:07 +0200 |
---|---|---|
committer | Morten Tokle <mortent@verizonmedia.com> | 2020-06-15 12:34:46 +0200 |
commit | 71d24e5944fae958383cdb4fa63e37f4bbe1f2a0 (patch) | |
tree | e60feaf88d5d284fdfa9cc9d97b7f482479173a8 /tenant-cd-api/src/main/java/ai/vespa/hosted/cd/StagingSetup.java | |
parent | a19da10e4ab5997e3398754cdffc4e948f5ede60 (diff) |
tenant-cd -> tenant-cd-api
Diffstat (limited to 'tenant-cd-api/src/main/java/ai/vespa/hosted/cd/StagingSetup.java')
-rw-r--r-- | tenant-cd-api/src/main/java/ai/vespa/hosted/cd/StagingSetup.java | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/tenant-cd-api/src/main/java/ai/vespa/hosted/cd/StagingSetup.java b/tenant-cd-api/src/main/java/ai/vespa/hosted/cd/StagingSetup.java new file mode 100644 index 00000000000..bef3eabcef6 --- /dev/null +++ b/tenant-cd-api/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">Vespa cloud documentation</a>. + * + * @author jonmv + */ +@Target({TYPE, ANNOTATION_TYPE}) +@Retention(RUNTIME) +@IntegrationTest +@Tag("staging-setup") +public @interface StagingSetup { } |