{"id":16179124,"url":"https://github.com/marcopaga/tekton-pipeline-and-task-test","last_synced_at":"2026-03-06T06:02:42.542Z","repository":{"id":36989121,"uuid":"403663330","full_name":"marcopaga/tekton-pipeline-and-task-test","owner":"marcopaga","description":"This Demo repository will deploy and configure a Tekton CI System. It uses GitHub Actions to validate the Tekton config on every commit. ","archived":false,"fork":false,"pushed_at":"2025-10-28T20:04:52.000Z","size":762,"stargazers_count":6,"open_issues_count":7,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-10-28T22:11:27.053Z","etag":null,"topics":["flux","github-actions","tasks","tekton","testing"],"latest_commit_sha":null,"homepage":"https://marco-paga.eu/articles/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marcopaga.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-09-06T15:00:03.000Z","updated_at":"2024-11-13T17:43:49.000Z","dependencies_parsed_at":"2023-09-24T13:47:07.731Z","dependency_job_id":"319fed37-b3ee-4b6b-a355-9d4177c724cb","html_url":"https://github.com/marcopaga/tekton-pipeline-and-task-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/marcopaga/tekton-pipeline-and-task-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcopaga%2Ftekton-pipeline-and-task-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcopaga%2Ftekton-pipeline-and-task-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcopaga%2Ftekton-pipeline-and-task-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcopaga%2Ftekton-pipeline-and-task-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcopaga","download_url":"https://codeload.github.com/marcopaga/tekton-pipeline-and-task-test/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcopaga%2Ftekton-pipeline-and-task-test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30164532,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T04:43:31.446Z","status":"ssl_error","status_checked_at":"2026-03-06T04:40:30.133Z","response_time":250,"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":["flux","github-actions","tasks","tekton","testing"],"created_at":"2024-10-10T05:25:31.659Z","updated_at":"2026-03-06T06:02:42.497Z","avatar_url":"https://github.com/marcopaga.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tekton CI Demo\n\nThis Demo repository will deploy and configure a Tekton CI System. The Project will automatically bootstrap a K3d cluster with Flux.\n\n![Layout of the Demo](demo.png)\n\n## CI of the Tekton CI\n\nThis repository uses GitHub Actions to validate the Tekton config. Every commit triggers a cluster creation and validation.\nThe up-to-date bootstrap process is documented in the GitHub Actions workflow you can find in [this repo](./.github/workflows/create-cluster.yml).\n\n## Cluster Bootstrap\n\nOn a high level you need to provide a Github token with the following scopes: `repo_status`, `public_repo`. You can find the management dialog [here](https://github.com/settings/tokens). This token is used by the flux operator to connect to the git repository and roll-out the desired cluster state based on this repository.\n\n#### 1. Create K3d cluster that exposes a http ingress\n\n```sh\nk3d cluster create -p \"8081:80@loadbalancer\" --agents 2\n```\n\nThis might take some time.\n\n#### 2. Switch kubectl to K3d context \u0026 inspect cluster-info\n\n```shell\nkubectl config use-context k3d-k3s-default\nkubectl cluster-info\n```\n\n#### 3. Install Flux components with flux bootstrap:\n\n ```sh\n   GITHUB_TOKEN=\u003ctoken\u003e GITHUB_USER=\u003cusername\u003e flux bootstrap github \\\n   --owner=\u003cusername-of-the-repo-owner\u003e \\\n   --repository=tekton-demo \\\n   --private=false \\\n   --personal=true \\\n   --branch=main \\\n   --path=clusters/local\n ```\n   \n#### 4. Check the progress of the deployment\n\n```shell\nkubectl get Kustomization -n flux-system -w\n```\n\n#### 5.(optional) Connect to the Tekton Dashboard\n\nThe Dashboard is deployed and accessible via the `tekton-dashboard` service on port 9097.\n\n```shell\nkubectl --namespace tekton-pipelines port-forward svc/tekton-dashboard 9097:9097\n```\n\n## Using the Tekton sample pipeline\n\nYou can inspect the deployed tasks and pipelines by issuing those commands. Before following along make sure to install the [CLI tools](https://tekton.dev/docs/getting-started/#set-up-the-cli).\n\n```shell\ntkn task list\ntkn pipeline list\n```\n\nCreate a pipeline run as follows and issue it via `kubectl create -f hello-goodbye-pipeline-run.yaml`. This command will return the created pipelinerun which you need for reference later. E.g. enter `tkn pr logs $PIPELINE_RUN_NAME` to get the log output of the pipeline.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcopaga%2Ftekton-pipeline-and-task-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcopaga%2Ftekton-pipeline-and-task-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcopaga%2Ftekton-pipeline-and-task-test/lists"}