-
Notifications
You must be signed in to change notification settings - Fork 15
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
[ACTION] Proposal 1: Trigger and Deploy #84
Comments
Could you rename it to [ACTION] Proposal: Trigger and Deploy? Since this would be the chronological order. Under goals to achieve you could already give an high level overview:
Thanks in advance! |
are we planning for each goal as a workable issue and a PR? |
This is just an action issue to draft the proposal. Sorry I have mistyped in slack. Could you also rename the title of the issue to reflect the ACTION issue? We first need to draft the proposal with the proposal document: https://github.com/cncf-tags/green-reviews-tooling/blob/main/docs/proposals/proposal-000-template.md You can also add this to the description. In the proposal we can define the different user stories with an issue each that can reflect the 4 goals :) |
@AntonioDiTuri thank you for suggesting the goals. I reviewed them too and came up with this list with some minor changes. Goals
Non-Goals**
@dipankardas011 Could you start creating the proposal and open a draft PR with the goals filled in? If you think we're missing any goals feel free to add. Let's leave user stories for now. We can add later if needed. Triggering GitHub ActionFor triggering the workflow AIUI we could use a webhook to trigger a It allows providing custom inputs and as a minimum I think we need the name of the CNCF project and the version to be deployed. It would be good to try this out and add the curl command to the proposal. We could use the existing tofu workflow for testing but its probably safer to add a new workflow that just logs the inputs. WDYT? Deploying FalcoFor deploying Falco with Flux I think we could change the repo structure so the current Falco kustomization is not reconciled by source-controller. Instead we create it in the github action workflow and delete it when the workflow completes. |
Hi @rossf7 thanks for refining the goals and non goals. Few considerations:
Do you think you can already contact the Falco team to discuss how to implement a v.0.1 of the trigger via web-hook on their side? I am not an expert of Webhook but I asked GPT and it is giving me this as an example:
It can be improved a lot but at least it made me think about the token, do you think we need to create one? |
@AntonioDiTuri Agree, that will help with testing.
I'd prefer we research a bit more first to present a working solution. I think we will need a token but I haven't had time to investigate that yet. We could use the github-script action to trigger. I've also seen examples with curl. If we use an action the version will need to be updated from time to time. I'd go with whichever option involves the least maintenance. |
Yes sure that was just an example to be taken as "pseudocode". |
@rossf7 should we create a single PR or multiple PR for each sub-goals? or can you create a main feature branch to which we can create a PR instead of main branch? |
for now I am going with a new branch for each sub-goal |
@dipankardas011 sorry for late reply but please create a single PR. Separate PRs means more work to review and the proposal should be a few pages of markdown at most. We can always split later if needed and we can create separate issues to implement |
|
@dipankardas011 thanks for creating the draft PR. I left feedback there. To try things out I created an action that just echoes out the 3 inputs.
I used a fine grained PAT that has
We'll need to create that and provide it to the Falco team. Feedback welcome and Dipankar if it makes sense you could add the curl and token details to the proposal? As a next step I'll create a discussion in the Falco repo to get feedback. I should be able to do that later today or tomorrow. |
thanks that is interesting |
Proposal PR is ready for review #88 and I've started a discussion to get feedback from the Falco team falcosecurity/cncf-green-review-testing#17 |
Task Description
Goals to achieve
The text was updated successfully, but these errors were encountered: