Create Tekon pipeline with a simple goland https server in Openshift 4.x
see ref: https://openshift.github.io/pipelines-docs/docs/0.10.5/assembly_installing-pipelines.html
#New project:
oc new-project go-https-pipeline
#Check tekon Service account:
oc get sa pipeline
oc create -f https://raw.githubusercontent.com/binliuk/tekton-pipeline-with-golang-https-server/master/pipeline/resource.yaml
tkn resource ls
oc create -f https://raw.githubusercontent.com/binliuk/tekton-pipeline-with-golang-https-server/master/pipeline/apply_manifest_task.yaml
oc create -f https://raw.githubusercontent.com/binliuk/tekton-pipeline-with-golang-https-server/master/pipeline/update_deployment_task.yaml
tkn task ls
oc create -f https://raw.githubusercontent.com/binliuk/tekton-pipeline-with-golang-https-server/master/pipeline/pipeline.yaml
tkn pipeline ls
#trigger
tkn pipeline start build-and-deploy
#track logs
tkn pipelinerun logs <pipelinerun ID> -f -n pipelines-tutorial
#retrigger pipeline
tkn pipeline start build-and-deploy --last
# Key considerations for algorithm "RSA" ≥ 2048-bit
openssl genrsa -out server.key 2048
# Key considerations for algorithm "ECDSA" (X25519 || ≥ secp384r1)
# https://safecurves.cr.yp.to/
# List ECDSA the supported curves (openssl ecparam -list_curves)
openssl ecparam -genkey -name secp384r1 -out server.key
openssl req -new -x509 -sha256 -key server.key -out server.crt -days 3650