The release process of the falco.org is automated by using netlify. Each commit merged into the master
branch will be automatically deployed to falco.org.
You can find the last deploy status by clicking on this badge.
However, the above workflow only applies to the latest version of the website that refers to the latest released version of Falco. Starting from version Falco v0.27.0, we introduced a versioning mechanism for our website. Please follow the below instruction when switching to a new minor version (according to the semantic versioning definition).
We archive a snapshot of the whole website every time a new Falco minor version comes out.
Each snapshot will be published to a falco.org subdomain named by the Falco version without the patch number (e.g., Falco version v0-26.falco.org
refers to the latest available patch version of Falco series v0.26.x
).
You can find the first-ever archived snapshot at v0-26.falco.org. It refers to Falco v0.26.2.
Finally, once a snapshot for the previous version has been created, you need to configure the main website to point to the newest Falco minor version.
The following instructions assume v0.x.y
is the version to be archived.
-
Configure the branch deploy control on Netlify by adding the newly created branch
v0.x
. -
Create the new
v0.x
branch from the currentmaster
branch. -
Within the
v0.x
branch, edit the config.toml file:- set
archived_version
totrue
, - make sure
version
is equal tov0.x.y
, - finally, commit and push to
v0.x
.
- set
-
Once the Netlify branch build is done, add a new branch subdomain on Netilify by selecting the branch deploy configured in the previous step.
-
Open a PR in falcosecurity/test-infra to add
v0.x
as protected branch to theprow/config.yaml
, for example:falco-website: branches: master: protect: true v0.26: protect: true ... v0.x: protect: true
N.B. Do not update the minor version until a snapshot for the previous one has been created!
The following instructions assume v0.X.Y
is the new version and v0.x.y is the previous already-archived version.
- Open a PR in falcosecurity/falco-website to modifiy the config.toml file on the
master
branch:- make sure
version
is set tov0.X.Y
(i.e., the new version), - append the following config for the new version to the end of the file:
[[params.versions]] fullversion = "v0.X.Y" version = "vX.Y" githubbranch = "master" docsbranch = "master" url = "https://falco.org"
- change the
[[params.versions]]
block refering tov0.x.y
(i.e., the previous version) as following:
[[params.versions]] fullversion = "v0.x.y" version = "v0.x" githubbranch = "0.x.y" docsbranch = "0.x" url = "https://v0-x.falco.org"
- make sure
- Once the PR gets approved and merged, the website will be updated shortly, and no other actions are needed.