public static async Task<Boolean> DeletePipeline(BuildRequest br, ILogger log) { // delete github repo await _githubUtils.DeleteGithubAsync(br.OutputRepoOrgName, br.OutputRepoName); await _githubUtils.DeleteGithubAsync(br.TestOutputRepoOrgName, br.TestOutputRepoName); // delete acr image /*_pipelineUtils.DeleteImage( "blimpacr", br.OutputImageName.Split(':')[0], br.OutputImageName.Split(':')[1], "blimpacr", _secretsUtils._acrPassword );*/ _pipelineUtils.DeleteImage( "blimpacr", br.TestOutputImageName.Split(':')[0], br.TestOutputImageName.Split(':')[1], "blimpacr", _secretsUtils._acrPassword ); // delete webapp //_pipelineUtils.DeleteWebapp(br.WebAppName, "blimp-python-plan"); _pipelineUtils.DeleteWebapp(br.TestWebAppName, "blimp-python-app-plan"); return true; }
public static async Task <Boolean> DeletePipeline(BuildRequest br, ILogger log) { // delete github repo await _githubUtils.DeleteGithubAsync(br.OutputRepoOrgName, br.OutputRepoName); // delete acr image _pipelineUtils.DeleteImage( "blimpacr", br.OutputImageName.Split(':')[0], br.OutputImageName.Split(':')[1], "blimpacr", _secretsUtils._acrPassword ); return(true); }