tests: create tag for AWS EC2 infra tests

AWS EC2 infrastructure tests will have a dedicated CI pipeline bucket.

Ticket: ENG-1179
This commit is contained in:
Benjamin Chastanier
2022-04-27 11:28:11 +02:00
parent f0f8100090
commit 0856a7b8a4
2 changed files with 5 additions and 4 deletions

View File

@@ -101,9 +101,10 @@ test-scw-managed-services = []
test-all-managed-services = ["test-aws-managed-services", "test-do-managed-services", "test-scw-managed-services"]
test-aws-infra = []
test-aws-infra-ec2 = []
test-do-infra = []
test-scw-infra = []
test-all-infra = ["test-aws-infra", "test-do-infra", "test-scw-infra"]
test-all-infra = ["test-aws-infra", "test-aws-infra-ec2", "test-do-infra", "test-scw-infra"]
test-aws-whole-enchilada = []
test-do-whole-enchilada = []
@@ -111,7 +112,7 @@ test-scw-whole-enchilada = []
test-all-whole-enchilada = ["test-aws-whole-enchilada", "test-do-whole-enchilada", "test-scw-whole-enchilada"]
# functionnal tests by provider
test-aws-all = ["test-aws-infra", "test-aws-managed-services", "test-aws-self-hosted", "test-aws-whole-enchilada"]
test-aws-all = ["test-aws-infra", "test-aws-infra-ec2", "test-aws-managed-services", "test-aws-self-hosted", "test-aws-whole-enchilada"]
test-do-all = ["test-do-infra", "test-do-managed-services", "test-do-self-hosted", "test-do-whole-enchilada"]
test-scw-all = ["test-scw-infra", "test-scw-managed-services", "test-scw-self-hosted", "test-scw-whole-enchilada"]

View File

@@ -14,7 +14,7 @@ use test_utilities::common::{cluster_test, ClusterDomain, ClusterTestType};
pub const AWS_K3S_VERSION: &str = "v1.20.15+k3s1";
#[cfg(feature = "test-aws-infra")]
#[cfg(feature = "test-aws-infra-ec2")]
fn create_and_destroy_aws_ec2_k3s_cluster(
region: String,
test_type: ClusterTestType,
@@ -52,7 +52,7 @@ fn create_and_destroy_aws_ec2_k3s_cluster(
It is useful to keep 2 clusters deployment tests to run in // to validate there is no name collision (overlaping)
*/
#[cfg(feature = "test-aws-infra")]
#[cfg(feature = "test-aws-infra-ec2")]
#[named]
#[test]
fn create_and_destroy_aws_ec2_k3s_cluster_eu_west_3() {