async fn helm_template() -> Result<()> {
    setup();
    let (conf, reg) = Config::new(ConfigState::Base, "dev-uk").await?;
    let mf = shipcat_filebacked::load_manifest("fake-storage", &conf, &reg)
        .await?
        .stub(&reg)
        .await?;

    let res = helm::template(&mf, None).await?;

    // verify we have deferred to helm for templating
    assert!(res.contains("image: \"quay.io/babylonhealth/fake-ask:1.6.0\""));
    Ok(())
}
// This test requires helm cli - not on circle
This test requires helm cli - not on circle
This test requires helm cli - not on circle
async fn helm_template() -> Result<()> {
    setup();
    let (conf, reg) = Config::new(ConfigState::Base, "dev-uk").await?;
    let mf = shipcat_filebacked::load_manifest("fake-storage", &conf, &reg)
        .await?
        .stub(&reg)
        .await?;
    let res = helm::template(&mf, None).await?;
    // verify we have deferred to helm for templating
    assert!(res.contains("image: \"quay.io/babylonhealth/fake-ask:1.6.0\""));
    Ok(())
}
async fn helm_template ( ) -> Result < ( ) > { setup ( ) ; let ( conf , reg ) = Config :: new ( ConfigState :: Base , " " ) . await ? ; let mf = shipcat_filebacked :: load_manifest ( " " , & conf , & reg ) . await ? . stub ( & reg ) . await ? ; let res = helm :: template ( & mf , None ) . await ? ; // verify we have deferred to helm for templating assert ! ( res contains ( " \" \" " ) ) ; Ok ( ( ) ) }
This test requires helm cli - not on circle
This test requires helm cli - not on circle