Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions build/Build.TestCalamariFlavourProject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ partial class Build

DotNetTasks.DotNetTest(settings => settings
.SetProjectFile($"CalamariTests/{testProject}.dll")
.SetProcessWorkingDirectory("CalamariTests")
.SetFilter(CalamariFlavourTestCaseFilter)
.SetLoggers("trx")
.SetProcessExitHandler(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ static void LogMissingAnnotationsWarning(this ILog log, (ProjectSlug Project, En
{
log.WarnFormat(" - {0}: {1}", ArgoCDConstants.Annotations.OctopusTenantAnnotationKey("<sourcename>".ToApplicationSourceName()), deploymentScope.Tenant);
}
log.WarnFormat("Annotation creation documentation can be found {0}.", log.FormatShortLink("argo-cd-scoping-annotations", "here"));
log.WarnFormat("Annotation creation documentation can be found {0}.", log.FormatShortLink("argo-cd-annotations-docs", "here"));
}

public static void LogApplicationCounts(this ILog log, (ProjectSlug Project, EnvironmentSlug Environment, TenantSlug? Tenant) deploymentScope, ArgoCDApplicationDto[] applications)
Expand Down
4 changes: 3 additions & 1 deletion source/Calamari/ArgoCD/Git/RepositoryFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ RepositoryWrapper CheckoutGitRepository(IGitConnection gitConnection, string che
catch (Exception e)
{
timedOp.Abandon(e);
throw new CommandException($"Failed to clone Git repository at {gitConnection.Url}. Are you sure this is a Git repository?");
log.Error("Cloning repository failed");
log.Verbose(e.PrettyPrint());
throw new CommandException($"Failed to clone Git repository at {gitConnection.Url}. Are you sure this is a Git repository? {e.Message}", e);
}
}

Expand Down