MCPcopy Create free account
hub / github.com/Qovery/engine / deploy_environment

Method deploy_environment

lib-engine/tests/helpers/database.rs:100–116  ·  view source on GitHub ↗
(
        &self,
        environment: &EnvironmentRequest,
        infra_ctx: &InfrastructureContext,
    )

Source from the content-addressed store, hash-verified

98 }
99
100 fn deploy_environment(
101 &self,
102 environment: &EnvironmentRequest,
103 infra_ctx: &InfrastructureContext,
104 ) -> Result<(), Box<EngineError>> {
105 let mut env = environment
106 .to_environment_domain(
107 infra_ctx.context(),
108 infra_ctx.cloud_provider(),
109 infra_ctx.container_registry(),
110 infra_ctx.kubernetes(),
111 )
112 .unwrap();
113
114 env.action = qovery_engine::infrastructure::models::cloud_provider::service::Action::Create;
115 EnvironmentTask::deploy_environment(env, infra_ctx, &|| AbortStatus::None)
116 }
117
118 fn pause_environment(
119 &self,

Calls 5

to_environment_domainMethod · 0.80
container_registryMethod · 0.80
kubernetesMethod · 0.80
contextMethod · 0.45
cloud_providerMethod · 0.45

Tested by

no test coverage detected