mirror of
https://github.com/jlengrand/engine.git
synced 2026-03-10 08:11:21 +00:00
Add minimal phase tests
This commit is contained in:
13
Cargo.toml
13
Cargo.toml
@@ -80,7 +80,13 @@ tracing-test = "0.1.0"
|
||||
|
||||
[features]
|
||||
default = []
|
||||
test-all = ["test-all-self-hosted", "test-all-infra", "test-all-managed-services", "test-all-whole-enchilada"]
|
||||
test-all = ["test-all-minimal", "test-all-self-hosted", "test-all-infra", "test-all-managed-services", "test-all-whole-enchilada"]
|
||||
|
||||
# Minimal depencies test (i.e: build, deploy nothing managed)
|
||||
test-aws-minimal = []
|
||||
test-do-minimal = []
|
||||
test-scw-minimal = []
|
||||
test-all-minimal = ["test-aws-minimal", "test-do-minimal", "test-scw-minimal"]
|
||||
|
||||
# functionnal tests by type
|
||||
test-aws-self-hosted = []
|
||||
@@ -109,5 +115,6 @@ test-do-all = ["test-do-infra", "test-do-managed-services", "test-do-self-hosted
|
||||
test-scw-all = ["test-scw-infra", "test-scw-managed-services", "test-scw-self-hosted", "test-scw-whole-enchilada"]
|
||||
|
||||
# functionnal test with only a k8s cluster as a dependency
|
||||
test-with-kube = []
|
||||
test-with-docker = []
|
||||
test-local-kube = []
|
||||
test-local-docker = []
|
||||
test-all-local = ["test-local-kube", "test-local-docker"]
|
||||
|
||||
@@ -16,7 +16,7 @@ use test_utilities::aws::aws_default_engine_config;
|
||||
use test_utilities::utilities::{context, init, kubernetes_config_path};
|
||||
use tracing::{span, Level};
|
||||
|
||||
#[cfg(feature = "test-aws-self-hosted")]
|
||||
#[cfg(feature = "test-aws-minimal")]
|
||||
#[named]
|
||||
#[test]
|
||||
fn aws_test_build_phase() {
|
||||
@@ -67,7 +67,7 @@ fn aws_test_build_phase() {
|
||||
})
|
||||
}
|
||||
|
||||
#[cfg(feature = "test-aws-self-hosted")]
|
||||
#[cfg(feature = "test-aws-minimal")]
|
||||
#[named]
|
||||
#[test]
|
||||
fn deploy_a_working_environment_with_no_router_on_aws_eks() {
|
||||
|
||||
@@ -20,7 +20,7 @@ use tracing::{span, warn, Level};
|
||||
// Note: All those tests relies on a test cluster running on DigitalOcean infrastructure.
|
||||
// This cluster should be live in order to have those tests passing properly.
|
||||
|
||||
#[cfg(feature = "test-do-self-hosted")]
|
||||
#[cfg(feature = "test-do-minimal")]
|
||||
#[named]
|
||||
#[test]
|
||||
fn digitalocean_test_build_phase() {
|
||||
@@ -68,7 +68,7 @@ fn digitalocean_test_build_phase() {
|
||||
})
|
||||
}
|
||||
|
||||
#[cfg(feature = "test-do-self-hosted")]
|
||||
#[cfg(feature = "test-do-minimal")]
|
||||
#[named]
|
||||
#[test]
|
||||
fn digitalocean_doks_deploy_a_working_environment_with_no_router() {
|
||||
|
||||
@@ -19,7 +19,7 @@ use tracing::{span, warn, Level};
|
||||
// Note: All those tests relies on a test cluster running on Scaleway infrastructure.
|
||||
// This cluster should be live in order to have those tests passing properly.
|
||||
|
||||
#[cfg(feature = "test-scw-self-hosted")]
|
||||
#[cfg(feature = "test-scw-minimal")]
|
||||
#[named]
|
||||
#[test]
|
||||
fn scaleway_test_build_phase() {
|
||||
@@ -69,7 +69,7 @@ fn scaleway_test_build_phase() {
|
||||
})
|
||||
}
|
||||
|
||||
#[cfg(feature = "test-scw-self-hosted")]
|
||||
#[cfg(feature = "test-scw-minimal")]
|
||||
#[named]
|
||||
#[test]
|
||||
fn scaleway_kapsule_deploy_a_working_environment_with_no_router() {
|
||||
|
||||
Reference in New Issue
Block a user