Skip to content
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

fix: Updates to proposal 1 #102

Merged
merged 8 commits into from
Jun 28, 2024
Merged
12 changes: 8 additions & 4 deletions docs/proposals/proposal-001-trigger-and-deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ team

## Proposal

We will watch for new releases of the project by subscribing to the Atom feed
of releases that GitHub publish e.g. https://github.com/falcosecurity/falco/releases.atom
We will watch for new releases of the project via the GitHub REST API
e.g. https://api.github.com/repos/falcosecurity/falco/releases/latest

Our automation will call the GitHub REST API to trigger the pipeline.

Expand Down Expand Up @@ -129,8 +129,12 @@ projects:
- kmod
```

A scheduled GitHub Action will run every hour and check the Atom feed of
each project for new releases. To manage the state a GitHub [repository variable](https://docs.github.com/en/actions/learn-github-actions/variables)
A scheduled GitHub Action will run weekly and check the GitHub REST API of each
project for new releases.

e.g. https://api.github.com/repos/falcosecurity/falco/releases/latest

To manage the state a GitHub [repository variable](https://docs.github.com/en/actions/learn-github-actions/variables)
per CNCF project is used to store the latest release version.

If a new release is detected the action will trigger the pipeline for the new
Expand Down