{"id":36454341,"url":"https://github.com/binliuk/tekton-pipeline-with-golang-https-server","last_synced_at":"2026-01-11T23:01:24.167Z","repository":{"id":85920975,"uuid":"247492648","full_name":"binliuk/tekton-pipeline-with-golang-https-server","owner":"binliuk","description":"Simple tekon pipeline to build and deploy hello openshift https server in Openshift 4.x","archived":false,"fork":false,"pushed_at":"2020-04-25T19:12:33.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-19T04:05:59.790Z","etag":null,"topics":["golang","https","https-server","openshift-4x","pipeline","tekon"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/binliuk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-15T15:20:25.000Z","updated_at":"2020-07-29T11:36:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"74593542-f015-4b67-b403-4fb2791924a6","html_url":"https://github.com/binliuk/tekton-pipeline-with-golang-https-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/binliuk/tekton-pipeline-with-golang-https-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binliuk%2Ftekton-pipeline-with-golang-https-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binliuk%2Ftekton-pipeline-with-golang-https-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binliuk%2Ftekton-pipeline-with-golang-https-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binliuk%2Ftekton-pipeline-with-golang-https-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/binliuk","download_url":"https://codeload.github.com/binliuk/tekton-pipeline-with-golang-https-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binliuk%2Ftekton-pipeline-with-golang-https-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28326166,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T22:11:01.104Z","status":"ssl_error","status_checked_at":"2026-01-11T22:10:58.990Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["golang","https","https-server","openshift-4x","pipeline","tekon"],"created_at":"2026-01-11T23:01:22.093Z","updated_at":"2026-01-11T23:01:24.159Z","avatar_url":"https://github.com/binliuk.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\nCreate Tekon pipeline with a simple goland https server in Openshift 4.x\n\n---\n\n####  prerequirements — `tekton operater and command line`\n\n```Tekton operator and cli\n see ref:  https://openshift.github.io/pipelines-docs/docs/0.10.5/assembly_installing-pipelines.html \n```\n\n#### Create project in ocp4 - `go-https-pipeline`\n\n```sh \n#New project:\noc new-project go-https-pipeline\n\n#Check tekon Service account:\n\noc get sa pipeline\n\n```\n#### Tekton resources — `image and git`\n\n```Tekton and oc\noc create -f https://raw.githubusercontent.com/binliuk/tekton-pipeline-with-golang-https-server/master/pipeline/resource.yaml\ntkn resource ls\n\n```\n\n#### Tekton tasks — `deploy and customization`\n\n```Tekton\noc create -f https://raw.githubusercontent.com/binliuk/tekton-pipeline-with-golang-https-server/master/pipeline/apply_manifest_task.yaml\noc create -f https://raw.githubusercontent.com/binliuk/tekton-pipeline-with-golang-https-server/master/pipeline/update_deployment_task.yaml\n\ntkn task ls\n\n```\n#### Tekton pipeline — `build and deploy`\n\n```Tekton\noc create -f https://raw.githubusercontent.com/binliuk/tekton-pipeline-with-golang-https-server/master/pipeline/pipeline.yaml\ntkn pipeline ls \n\n```\n#### Trigger pipeline from cli\n```bash\n#trigger\ntkn pipeline start build-and-deploy\n#track logs\ntkn pipelinerun logs \u003cpipelinerun ID\u003e -f -n pipelines-tutorial\n#retrigger pipeline\ntkn pipeline start build-and-deploy --last\n\n```\n\n##### Generate private key (.key)\n\n```sh\n# Key considerations for algorithm \"RSA\" ≥ 2048-bit\nopenssl genrsa -out server.key 2048\n\n# Key considerations for algorithm \"ECDSA\" (X25519 || ≥ secp384r1)\n# https://safecurves.cr.yp.to/\n# List ECDSA the supported curves (openssl ecparam -list_curves)\nopenssl ecparam -genkey -name secp384r1 -out server.key\n```\n\n##### Generation of self-signed(x509) public key (PEM-encodings `.pem`|`.crt`) based on the private (`.key`)\n\n```sh\nopenssl req -new -x509 -sha256 -key server.key -out server.crt -days 3650\n```\n\nReference Link\n---\n* https://getgophish.com/blog/post/2018-12-02-building-web-servers-in-go/\n* https://github.com/openshift-pipelines\n* https://github.com/openshift/pipelines-tutorial\n* https://openshift.github.io/pipelines-docs/docs/0.10.5/assembly_installing-pipelines.html\n* https://github.com/denji/golang-tls\n* …\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinliuk%2Ftekton-pipeline-with-golang-https-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbinliuk%2Ftekton-pipeline-with-golang-https-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinliuk%2Ftekton-pipeline-with-golang-https-server/lists"}