Skip to content

chore(deps): update konflux-ci/.fullsend digest to 9ee3c25 #634

chore(deps): update konflux-ci/.fullsend digest to 9ee3c25

chore(deps): update konflux-ci/.fullsend digest to 9ee3c25 #634

name: Validate Tasks and Pipelines YAMLs
"on":
pull_request:
branches: [main]
merge_group:
types: [checks_requested]
jobs:
validate:
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
with:
fetch-depth: 0
- name: Create k8s Kind Cluster
uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0
with:
cluster_name: kind
- name: Set up Tekton
id: setup-tektoncd
uses: tektoncd/actions/setup-tektoncd@2b126ef971bbfda195d8a6c9b7c4eb3bfda452bf # main
with:
pipeline_version: latest
continue-on-error: true
- name: Describe setup-tektoncd failure
if: steps.setup-tektoncd.outcome != 'success'
run: |
curl -s https://api.github.com/repos/tektoncd/pipeline/releases/latest | jq
echo "The previous action setup-tektoncd seems to have failed due to a known issue caused by hitting the rate-limit"
echo "For more information, follow the following issue: https://github.com/tektoncd/actions/issues/9"
echo "The only known workaround at the moment is to re-run this workflow."
exit 1
- name: Apply all Task & Pipelines
run: |
set -e
echo "Apply tasks"
find tasks/ -name "*.yaml" -type f | while read -r task_file; do
echo "Validating task: $task_file"
kubectl apply -f "$task_file" --dry-run=server
done
echo "Apply stepactions"
find stepactions/ -name "*.yaml" -type f | while read -r stepaction_file; do
echo "Validating stepaction: $stepaction_file"
kubectl apply -f "$stepaction_file" --dry-run=server
done
echo "Apply pipelines"
find pipelines/ -name "*.yaml" -type f | while read -r pipeline_file; do
echo "Validating pipeline: $pipeline_file"
kubectl apply -f "$pipeline_file" --dry-run=server
done