Skip to content

Commit

Permalink
Made logging consistent between bash and powershell
Browse files Browse the repository at this point in the history
  • Loading branch information
mcasperson committed Nov 8, 2018
1 parent 554cd72 commit 4ae9cbf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/Calamari/Kubernetes/Scripts/KubectlBashContext.sh
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ get_kubectl
configure_kubectl_path
setup_context
create_namespace
cat $KUBECONFIG
echo "##octopus[stdout-verbose]"
cat $KUBECONFIG
echo "Invoking target script \"$(get_octopusvariable "OctopusKubernetesTargetScript")\" with $(get_octopusvariable "OctopusKubernetesTargetScriptParameters") parameters"
echo "##octopus[stdout-default]"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,9 @@ Write-Host "##octopus[stdout-verbose]"
ConfigureKubeCtlPath
SetupContext
CreateNamespace
echo "##octopus[stdout-verbose]"
Get-Content $env:KUBECONFIG
Write-Host "##octopus[stdout-default]"
Write-Verbose "Invoking target script $OctopusKubernetesTargetScript with $OctopusKubernetesTargetScriptParameters parameters"
echo "##octopus[stdout-default]"

Invoke-Expression ". `"$OctopusKubernetesTargetScript`" $OctopusKubernetesTargetScriptParameters"

0 comments on commit 4ae9cbf

Please sign in to comment.