Skip to content

Conversation

sarthakpurohit
Copy link
Contributor

No description provided.

@sarthakpurohit sarthakpurohit changed the title Automating release promotions using tekton pipelines OKD-244: Automate release promotion through cronjob in okd-release-pipeline Sep 26, 2025
@sarthakpurohit
Copy link
Contributor Author

Passing unused parameter like trigger-source is mandatory.

TriggerBinding Validation Rule:
Tekton's validation webhook enforces that TriggerBindings must have a meaningful spec section. This is by design.

@sarthakpurohit
Copy link
Contributor Author

sarthakpurohit commented Sep 26, 2025

Cron is set for Every Monday 10:30 AM IST / 5:00 AM UTC.

   - Add Tekton automation for release-next and release-stable pipelines
   - Schedule for Monday 10:30 AM IST (5:00 AM UTC) to avoid cleanup conflicts
@sarthakpurohit sarthakpurohit force-pushed the automate-release-promotion branch from ecb7734 to 22eeafa Compare September 26, 2025 22:43
echo "[INFO] Promoting OKD releases:"

echo "[INFO] Applying: okd-release-next-pipelinerun.yaml"
oc create -f https://raw.githubusercontent.com/okd-project/okd-release-pipeline/main/environments/moc/pipelineruns/okd-release-next-pipelinerun.yaml
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might want to consider making this a parameter so we can pass any value. Might be helpful during testing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants