-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support CRON trigger type for pipeline #39
Comments
have date for solve this issue? |
What is the estimated delivery of this issue? |
@dustinvanbuskirk is there any documentation on how this works from an API perspective? I had a look around the CRON triggers configuration and this is something that is not directly attached to the pipeline. Adding the feature in the resource_pipeline would go against the recommended practices https://www.terraform.io/docs/extend/hashicorp-provider-design-principles.html#resources-should-represent-a-single-api-object I can help on the implementation of this but I would like to know if you had any thought around how this would look like from a resource perspective in terraform. |
@sandrogattuso any update here? I'm happy to help. From an API perspective this is:
from a Terraform resource perspective this would ideally be:
But as designed the trigger block is pretty overloaded. I could see either a separate |
@yaroslav-codefresh @denis-codefresh @pasha-codefresh (sorry; still unclear who maintainers are) How can we move this forward; the main questions seem to be around design of the pipeline:trigger resource with the addition of CRON type triggers. I (and possibly @sandrogattuso) have offered time to help implement; but I wouldn't want to dig in without design guidance from maintainers. |
From my perspective it's better to embed |
@denis-codefresh any update here? Can you make the call on a preferred design? If I were to put in the work for a trigger_cron would that be accepted? |
@denis-codefresh any update here? |
@denis-codefresh We are still waiting on an update. |
@kpurdon Let's create a new trigger type block in addition to a regular |
Hi all. Sorry for the huge delay. We didn't really have a maintainer assigned to this repo (until now). Basically, @denis-codefresh and I agreed that the git_trigger block should be deprecated, and standalone resources for each of our triggers should be supported:
By the way, git triggers and the other 3 types of triggers use completely different APIs. Just something to note. The last 3 triggers in the list are based on something called hermes and thus use the hermes API in Codefresh. There is some WIP stuff here in my fork https://github.com/korenyoni/terraform-provider-codefresh. We are also overhauling documentation, release automation, and probably a couple other small things we can fit into a minor release ( |
We have a PR open for this now. What I said about the other 3 types of standalone triggers is actually going to be moved out to |
## What * Add resource for Pipeline Cron Trigger * Fix Terraform Acceptance tests * Add Acceptance Tests to CI * Add release automation (release drafter, labeler, automatic changelog drafting) * GH Repo best practices (PULL_REQUEST_TEMPLATE, CODEOWNERS, etc) * Misc documentation fixes ## Why * Only git triggers are currently supported. * Triggers should be a standalone resource. The next minor release (`0.2.0`) will support remaining standalone triggers (registry, helm, git). ## Notes * Closes #39 * Closes #88 * #84 Co-authored-by: Yonatan Koren <[email protected]> Co-authored-by: korenyoni <[email protected]>
## What * Fix changelog-from-release GHA ## Why * Branch protection rules prevent this GHA from working, need GITHUB_TOKEN corresponding to user with bypass ## Notes #39
Unfortunately we are going to be backtracking on the standalone This is going to be merged in #122 and initially done a pre-release, and then pipeline_cron_trigger will be deprecated and the documentation will be updated prior to |
Pipeline does not support CRON triggers.
We need to add this additional trigger type to support pipelines using CRON triggers.
The text was updated successfully, but these errors were encountered: