Aller au contenu
Max.
Navigation docs

Monofolio-CICD

Mis à jour : 28 novembre 20263 minKubernetesArgoCDHelmTerraformForgejoTektonKustomize

  • #project
  • #Kube
  • #continuous-update
  • #GitOps

Monofolio CICD

  1. Langages
  2. CI/CD
  3. GitOps
  4. Applications
  5. Kubernetes
  6. Données & secrets
  7. Socle
Sommaire

Goal

  • Create a "beta" version of the Monofolio website that is automatically deployed and is a ref to the main branch of the repository.
  • Create a "production" version of the Monofolio website that is automatically deployed and is a ref to a tag in the repository. And Link to a Release Note with Changelog.
  • Make sure that the "production" version is tested in depth

Deploy flow

  • Build the Frontend if the folder related to the Frontend has changed.
    • apps/front
    • libs/front/*
  • Build the Backend if the folder related to the Backend has changed.
    • apps/back
    • libs/back/*
    • folio_content
  • Push the images to a conteneur registry.
  • Deploy the images to a Kubernetes cluster.

Test flow

Deployment flow

  • Write code in a new branch
  • Create a Pull Request
  • PR is tested by Github Actions then the Test flow is executed.
  • If both the Test flow and the PR checks pass, the PR is merged into the main branch.
  • The Release flow is executed and the beta version is deployed.
  • If the beta version is stable, a new tag is created and the production version is deployed.

Test

test 12345

Mermaid diagram

Tasks

Github Events to listen

  • Pull Request "opened, synchronized"
  • Push on the main branch
  • Tag created
Modifier sur Git