You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pipeline Structure
- Task1
- Task2 has Run After Task1
- Task3 has Run After Task2
- Task4 as Finally Task
where
Task1 (maven) will execute a maven goal able to generate k8s yaml resources and save it in a workspace/volume mounted
Task2 (kube-action) will execute a kubectl command to deploy in a namespace the generated resources (= what comes from Task1 in a shared volume)
Task3 (kube-action) will execute a test case to verify if the k8s service (= created with Task2) is replying. If test succeeded then we should return "succeed". If no "failure".
Task4 (kube-action). We must remove the deployed k8s resources no matter if task3 succeeded or failed using shared volume
Todo
Design a new
build & test
PipelineRun "pipelinerun-build-test.yml" for a Quarkus Hello application under the folderhttps://github.com/redhat-buildpacks/tekton-pac-poc/tree/main/k8s
This Pipeline will executed top of the git repo - https://github.com/redhat-buildpacks/tekton-pac-poc using a PR created from a
testing-xxx
branch.When the PR is created, then the Tekton PipelineAsCode controller running on the Hetzner cluster - https://pac.65.108.212.158.nip.io/ will be notified from the GitHub App - https://github.com/organizations/redhat-buildpacks/settings/apps/tektonci-on-hetzner and the pipeline will be launched using as input the github repo hosting the quarkus app.
where
Maven task: https://github.com/tektoncd/catalog/tree/main/task/maven
Kubernetes-action: https://github.com/tektoncd/catalog/tree/main/task/kubernetes-actions
The text was updated successfully, but these errors were encountered: