Codefresh Hello World using Go

There’s a Codefresh Hello World example using Go here:

https://github.com/codefreshdemo/cf-example-golang-hello-world

which unfortunately fails at the test stage with:

Status: Downloaded newer image for golang:latest                                                          

package github.com/nuveo/prest/cmd: cannot find package "github.com/nuveo/prest/cmd" in any of:           

        /usr/local/go/src/github.com/nuveo/prest/cmd (from $GOROOT)                                       

        /go/src/github.com/nuveo/prest/cmd (from $GOPATH)                                                 

[SYSTEM] Error: Failed to run freestyle step: perform_tests; caused by NonZeroExitCodeError: Container for

 step title: perform_tests, step type: freestyle, operation: Freestyle step failed with exit code: 1
Additional Notes:
Codefresh CLI:
brew tap codefresh-io/cli
brew install codefresh

Fully automated canary deployments in Kubernetes

See here for a Hello World example using Codefresh.

and a manual Canary deployment: https://github.com/codefresh-io/k8s-canary-deployment

which uses a bash script (`k8s-canary-rollout.sh`) with parameters.

 

Otherwise proceed to:

https://medium.com/containers-101/fully-automated-canary-deployments-in-kubernetes-70a671105273

This webinar also shows with / without Istio and using Helm for deployments: https://codefresh.io/webinars/istio-canary-deployment-with-helm-and-codefresh/

 

See