Skip to content

armgit / meet

Public Imported from GitHub
0

Open source video conferencing app powered by LiveKit. Built with Django and React.

👷(ci) migrate CI to the shared workflows repository

lebaudantoine6c371c8cb32e
diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml
new file mode 100644
index 00000000..c7bfcc17
--- /dev/null
+++ b/.github/workflows/changelog.yml
@@ -0,0 +1,19 @@
+name: Changelog Workflow
+
+on:
+ push:
+ branches:
+ - main
+ pull_request:
+ types: [opened, synchronize, reopened, labeled, unlabeled]
+
+permissions:
+ contents: read
+
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event.pull_request.number || github.sha }}
+ cancel-in-progress: true
+
+jobs:
+ changelog:
+ uses: suitenumerique/ci/.github/workflows/_changelog.yml@main
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index d1061e1a..62f65c89 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -11,180 +11,30 @@ permissions:
contents: read
jobs:
- lint-git:
- runs-on: ubuntu-latest
- if: github.event_name == 'pull_request' # Makes sense only for pull requests
- permissions:
- contents: read
- steps:
- - name: Checkout repository
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
- with:
- fetch-depth: 0
- - name: show
- run: git log
- - name: Enforce absence of print statements in code
- if: always()
- run: |
- ! git diff origin/${{ github.event.pull_request.base.ref }}..HEAD -- . ':(exclude).github/workflows/**' | grep "print("
- - name: Check absence of fixup commits
- if: always()
- run: |
- ! git log | grep 'fixup!'
- - name: Install uv
- if: always()
- uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
- - name: Lint commit messages added to main
- if: always()
- run: uvx --no-build --from gitlint-core==0.19.1 gitlint --commits origin/${{ github.event.pull_request.base.ref }}..HEAD
- check-changelog:
- runs-on: ubuntu-latest
- if: |
- contains(github.event.pull_request.labels.*.name, 'noChangeLog') == false &&
- github.event_name == 'pull_request'
- permissions:
- contents: read
- steps:
- - name: Checkout repository
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
- with:
- fetch-depth: 50
- - name: Check that the CHANGELOG has been modified in the current branch
- run: git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.event.after }} | grep 'CHANGELOG.md'
-
- lint-changelog:
- runs-on: ubuntu-latest
- permissions:
- contents: read
- steps:
- - name: Checkout repository
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
- - name: Check CHANGELOG max line length
- run: |
- max_line_length=$(cat CHANGELOG.md | grep -Ev "^\[.*\]: https://github.com" | wc -L)
- if [ $max_line_length -ge 80 ]; then
- echo "ERROR: CHANGELOG has lines longer than 80 characters."
- exit 1
- fi
-
- build-mails:
- runs-on: ubuntu-latest
- permissions:
- contents: read
- defaults:
- run:
- working-directory: src/mail
- steps:
- - name: Checkout repository
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
-
- - name: Install Node.js
- uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0
- with:
- node-version: "22"
-
- - name: Restore the mail templates
- uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5.1.0
- id: mail-templates
- with:
- path: "src/backend/core/templates/mail"
- key: mail-templates-${{ hashFiles('src/mail/mjml') }}
-
- - name: Install yarn
- if: steps.mail-templates.outputs.cache-hit != 'true'
- run: npm install -g --ignore-scripts [email protected]
-
- - name: Install node dependencies
- if: steps.mail-templates.outputs.cache-hit != 'true'
- run: yarn install --frozen-lockfile --ignore-scripts
-
- - name: Build mails
- if: steps.mail-templates.outputs.cache-hit != 'true'
- run: yarn build
-
- - name: Cache mail templates
- if: steps.mail-templates.outputs.cache-hit != 'true'
- uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5.1.0
- with:
- path: "src/backend/core/templates/mail"
- key: mail-templates-${{ hashFiles('src/mail/mjml') }}
-
- lint-back:
- runs-on: ubuntu-latest
- permissions:
- contents: read
- defaults:
- run:
- working-directory: src/backend
- steps:
- - name: Checkout repository
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
- - name: Install Python
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
- with:
- python-version: "3.13"
- - name: Install uv
- uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
- - name: Install the project
- run: uv sync --locked --all-extras
-
- - name: Check code formatting with ruff
- run: uv run --no-sync --no-build ruff format . --diff
- - name: Lint code with ruff
- run: uv run --no-sync --no-build ruff check .
- - name: Lint code with pylint
- run: uv run --no-sync --no-build pylint meet demo core
-
- lint-agents:
- runs-on: ubuntu-latest
- permissions:
- contents: read
- defaults:
- run:
- working-directory: src/agents
- steps:
- - name: Checkout repository
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
- - name: Install Python
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
- with:
- python-version: "3.13"
- - name: Install uv
- uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
- - name: Install the project
- run: uv sync --locked --all-extras --no-build
- - name: Check code formatting with ruff
- run: uv run --no-sync --no-build ruff format . --diff
- - name: Lint code with ruff
- run: uv run --no-sync --no-build ruff check .
-
- lint-summary:
- runs-on: ubuntu-latest
- permissions:
- contents: read
- defaults:
- run:
- working-directory: src/summary
- steps:
- - name: Checkout repository
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
- - name: Install Python
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
- with:
- python-version: "3.13"
- - name: Install uv
- uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
- - name: Install the project
- run: uv sync --locked --all-extras
- - name: Check code formatting with ruff
- run: uv run --no-sync --no-build ruff format . --diff
- - name: Lint code with ruff
- run: uv run --no-sync --no-build ruff check .
+ lint-python:
+ name: lint ${{ matrix.service }}
+ strategy:
+ fail-fast: false
+ matrix:
+ include:
+ - service: backend
+ working_directory: src/backend
+ pylint_targets: meet demo core
+ - service: agents
+ working_directory: src/agents
+ pylint_targets: ""
+ - service: summary
+ working_directory: src/summary
+ pylint_targets: ""
+ uses: suitenumerique/ci/.github/workflows/_python-lint.yml@main
+ with:
+ working_directory: ${{ matrix.working_directory }}
+ python_version: "3.13"
+ pylint_targets: ${{ matrix.pylint_targets }}
test-back:
runs-on: ubuntu-latest
- needs: build-mails
permissions:
contents: read
defaults:
@@ -244,12 +94,8 @@ jobs:
sudo mkdir -p /data/media && \
sudo mkdir -p /data/static
- - name: Restore the mail templates
- uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5.1.0
- id: mail-templates
- with:
- path: "src/backend/core/templates/mail"
- key: mail-templates-${{ hashFiles('src/mail/mjml') }}
+ - name: Build or restore the mail templates
+ uses: suitenumerique/ci/actions/mail-templates@main
# Creates the access key and the bucket on startup
- name: Start Garage
diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml
new file mode 100644
index 00000000..b0474211
--- /dev/null
+++ b/.github/workflows/code-quality.yml
@@ -0,0 +1,14 @@
+name: Project quality Workflow
+
+on:
+ pull_request:
+
+permissions:
+ contents: read
+
+jobs:
+ quality:
+ uses: suitenumerique/ci/.github/workflows/_project-quality.yml@main
+ with:
+ print_check_paths: src/backend src/summary src/agents
+ codespell_ignore_words: "unsecure"
diff --git a/.github/workflows/docker-hub.yml b/.github/workflows/docker-hub.yml
index 6c4b82a4..d4f4646a 100644
--- a/.github/workflows/docker-hub.yml
+++ b/.github/workflows/docker-hub.yml
@@ -1,5 +1,5 @@
-name: Docker Hub Workflow
-run-name: Docker Hub Workflow
+name: Docker images
+run-name: Docker images
on:
workflow_dispatch:
@@ -15,265 +15,61 @@ on:
permissions:
contents: read
-env:
- DOCKER_USER: 1001:127
- DOCKER_CONTAINER_REGISTRY_HOSTNAME: docker.io
- DOCKER_CONTAINER_REGISTRY_NAMESPACE: lasuite
- IS_MULTI_PLATFORM_BUILD: ${{ startsWith(github.ref, 'refs/tags/v') }}
- BUILD_PLATFORMS: ${{ startsWith(github.ref, 'refs/tags/v') && 'linux/amd64,linux/arm64' || 'linux/amd64' }}
-
jobs:
- build-and-push-backend:
- runs-on: ubuntu-latest
- permissions:
- contents: read
- steps:
- -
- name: Checkout repository
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
- -
- name: Set up QEMU
- if: env.IS_MULTI_PLATFORM_BUILD == 'true'
- uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3.7.0
- -
- name: Set up Docker Buildx
- uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
- -
- name: Docker meta
- id: meta
- uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5.10.0
- with:
- images: '${{ env.DOCKER_CONTAINER_REGISTRY_NAMESPACE }}/meet-backend'
- -
- name: Login to DockerHub
- if: github.event_name != 'pull_request' || startsWith(github.head_ref, 'integration/')
- uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
- with:
- username: ${{ secrets.DOCKER_HUB_USER }}
- password: ${{ secrets.DOCKER_HUB_PASSWORD }}
- -
- name: Run trivy scan
- uses: numerique-gouv/action-trivy-cache@d6e94cfb488f03a0b3e8b8739aad94e74d24d8da # main
- with:
- docker-build-args: '--target backend-production -f Dockerfile'
- docker-image-name: '${{ env.DOCKER_CONTAINER_REGISTRY_HOSTNAME }}/${{ env.DOCKER_CONTAINER_REGISTRY_NAMESPACE }}/meet-backend:${{ github.sha }}'
- -
- name: Build and push
- uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2
- with:
- context: .
- target: backend-production
- platforms: ${{ env.BUILD_PLATFORMS }}
- build-args: DOCKER_USER=${{ env.DOCKER_USER }}:-1000
- push: ${{ github.event_name != 'pull_request' || startsWith(github.head_ref, 'integration/') }}
- tags: ${{ steps.meta.outputs.tags }}
- labels: ${{ steps.meta.outputs.labels }}
-
- build-and-push-frontend-generic:
- runs-on: ubuntu-latest
- permissions:
- contents: read
- steps:
- -
- name: Checkout repository
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
- -
- name: Set up QEMU
- if: env.IS_MULTI_PLATFORM_BUILD == 'true'
- uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3.7.0
- -
- name: Set up Docker Buildx
- uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
- -
- name: Docker meta
- id: meta
- uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5.10.0
- with:
- images: '${{ env.DOCKER_CONTAINER_REGISTRY_NAMESPACE }}/meet-frontend'
- -
- name: Login to DockerHub
- if: github.event_name != 'pull_request' || startsWith(github.head_ref, 'integration/')
- uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
- with:
- username: ${{ secrets.DOCKER_HUB_USER }}
- password: ${{ secrets.DOCKER_HUB_PASSWORD }}
- -
- name: Run trivy scan
- uses: numerique-gouv/action-trivy-cache@d6e94cfb488f03a0b3e8b8739aad94e74d24d8da # main
- with:
- docker-build-args: '-f src/frontend/Dockerfile --target frontend-production'
- docker-image-name: '${{ env.DOCKER_CONTAINER_REGISTRY_HOSTNAME }}/${{ env.DOCKER_CONTAINER_REGISTRY_NAMESPACE }}/meet-frontend:${{ github.sha }}'
- -
- name: Build and push
- uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2
- with:
- context: .
- file: ./src/frontend/Dockerfile
- target: frontend-production
- platforms: ${{ env.BUILD_PLATFORMS }}
- build-args: DOCKER_USER=${{ env.DOCKER_USER }}:-1000
- push: ${{ github.event_name != 'pull_request' || startsWith(github.head_ref, 'integration/') }}
- tags: ${{ steps.meta.outputs.tags }}
- labels: ${{ steps.meta.outputs.labels }}
-
- build-and-push-frontend-dinum:
- runs-on: ubuntu-latest
- permissions:
- contents: read
- steps:
- -
- name: Checkout repository
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
- -
- name: Set up QEMU
- if: env.IS_MULTI_PLATFORM_BUILD == 'true'
- uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3.7.0
- -
- name: Set up Docker Buildx
- uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
- -
- name: Docker meta
- id: meta
- uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5.10.0
- with:
- images: '${{ env.DOCKER_CONTAINER_REGISTRY_NAMESPACE }}/meet-frontend-dinum'
- -
- name: Login to DockerHub
- if: github.event_name != 'pull_request' || startsWith(github.head_ref, 'integration/')
- uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
- with:
- username: ${{ secrets.DOCKER_HUB_USER }}
- password: ${{ secrets.DOCKER_HUB_PASSWORD }}
- -
- name: Run trivy scan
- uses: numerique-gouv/action-trivy-cache@d6e94cfb488f03a0b3e8b8739aad94e74d24d8da # main
- with:
- docker-build-args: '-f docker/dinum-frontend/Dockerfile --target frontend-production'
- docker-image-name: '${{ env.DOCKER_CONTAINER_REGISTRY_HOSTNAME }}/${{ env.DOCKER_CONTAINER_REGISTRY_NAMESPACE }}/meet-frontend-dinum:${{ github.sha }}'
- -
- name: Build and push
- uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2
- with:
- context: .
- file: ./docker/dinum-frontend/Dockerfile
- target: frontend-production
- platforms: ${{ env.BUILD_PLATFORMS }}
- build-args: DOCKER_USER=${{ env.DOCKER_USER }}:-1000
- push: ${{ github.event_name != 'pull_request' || startsWith(github.head_ref, 'integration/') }}
- tags: ${{ steps.meta.outputs.tags }}
- labels: ${{ steps.meta.outputs.labels }}
-
- build-and-push-summary:
- runs-on: ubuntu-latest
- permissions:
- contents: read
- steps:
- -
- name: Checkout repository
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
- -
- name: Set up QEMU
- if: env.IS_MULTI_PLATFORM_BUILD == 'true'
- uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3.7.0
- -
- name: Set up Docker Buildx
- uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
- -
- name: Docker meta
- id: meta
- uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5.10.0
- with:
- images: '${{ env.DOCKER_CONTAINER_REGISTRY_NAMESPACE }}/meet-summary'
- -
- name: Login to DockerHub
- if: github.event_name != 'pull_request' || startsWith(github.head_ref, 'integration/')
- uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
- with:
- username: ${{ secrets.DOCKER_HUB_USER }}
- password: ${{ secrets.DOCKER_HUB_PASSWORD }}
- -
- name: Run trivy scan
- uses: numerique-gouv/action-trivy-cache@d6e94cfb488f03a0b3e8b8739aad94e74d24d8da # main
- continue-on-error: true
- with:
- docker-build-args: '-f src/summary/Dockerfile --target production'
- docker-image-name: '${{ env.DOCKER_CONTAINER_REGISTRY_HOSTNAME }}/${{ env.DOCKER_CONTAINER_REGISTRY_NAMESPACE }}/meet-summary:${{ github.sha }}'
- docker-context: './src/summary'
- -
- name: Build and push
- uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2
- with:
- context: ./src/summary
- file: ./src/summary/Dockerfile
- target: production
- platforms: ${{ env.BUILD_PLATFORMS }}
- build-args: DOCKER_USER=${{ env.DOCKER_USER }}:-1000
- push: ${{ github.event_name != 'pull_request' || startsWith(github.head_ref, 'integration/') }}
- tags: ${{ steps.meta.outputs.tags }}
- labels: ${{ steps.meta.outputs.labels }}
-
- build-and-push-agents:
- runs-on: ubuntu-latest
- permissions:
- contents: read
- steps:
- -
- name: Checkout repository
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
- -
- name: Set up QEMU
- if: env.IS_MULTI_PLATFORM_BUILD == 'true'
- uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3.7.0
- -
- name: Set up Docker Buildx
- uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
- -
- name: Docker meta
- id: meta
- uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5.10.0
- with:
- images: lasuite/meet-agents
- -
- name: Login to DockerHub
- if: github.event_name != 'pull_request' || startsWith(github.head_ref, 'integration/')
- uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
- with:
- username: ${{ secrets.DOCKER_HUB_USER }}
- password: ${{ secrets.DOCKER_HUB_PASSWORD }}
- -
- name: Run trivy scan
- uses: numerique-gouv/action-trivy-cache@d6e94cfb488f03a0b3e8b8739aad94e74d24d8da # main
- continue-on-error: true
- with:
- docker-build-args: '-f src/agents/Dockerfile --target production'
- docker-image-name: '${{ env.DOCKER_CONTAINER_REGISTRY_HOSTNAME }}/${{ env.DOCKER_CONTAINER_REGISTRY_NAMESPACE }}/meet-agents:${{ github.sha }}'
- docker-context: './src/agents'
- -
- name: Build and push
- uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2
- with:
- context: ./src/agents
- file: ./src/agents/Dockerfile
- target: production
- platforms: ${{ env.BUILD_PLATFORMS }}
- build-args: DOCKER_USER=${{ env.DOCKER_USER }}:-1000
- push: ${{ github.event_name != 'pull_request' || startsWith(github.head_ref, 'integration/') }}
- tags: ${{ steps.meta.outputs.tags }}
- labels: ${{ steps.meta.outputs.labels }}
+ build-and-push:
+ name: ${{ matrix.service }}
+ strategy:
+ fail-fast: false
+ matrix:
+ include:
+ - service: backend
+ image_name: lasuite/meet-backend
+ context: .
+ file: ./Dockerfile
+ target: backend-production
+ - service: frontend
+ image_name: lasuite/meet-frontend
+ context: .
+ file: ./src/frontend/Dockerfile
+ target: frontend-production
+ - service: frontend-dinum
+ image_name: lasuite/meet-frontend-dinum
+ context: .
+ file: ./docker/dinum-frontend/Dockerfile
+ target: frontend-production
+ - service: summary
+ image_name: lasuite/meet-summary
+ context: ./src/summary
+ file: ./src/summary/Dockerfile
+ target: production
+ - service: agents
+ image_name: lasuite/meet-agents
+ context: ./src/agents
+ file: ./src/agents/Dockerfile
+ target: production
+ uses: suitenumerique/ci/.github/workflows/_docker-publish.yml@main
+ with:
+ image_name: ${{ matrix.image_name }}
+ context: ${{ matrix.context }}
+ file: ${{ matrix.file }}
+ target: ${{ matrix.target }}
+ docker_user: "1001:127"
+ is_multi_platform: ${{ startsWith(github.ref, 'refs/tags/v') }}
+ should_push: ${{ github.event_name != 'pull_request' || startsWith(github.head_ref, 'integration/') }}
+ trivy_scan: true
+ secrets:
+ DOCKER_HUB_USER: ${{ secrets.DOCKER_HUB_USER }}
+ DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }}
notify-argocd:
permissions:
contents: read
needs:
- - build-and-push-frontend-generic
- - build-and-push-frontend-dinum
- - build-and-push-backend
- - build-and-push-summary
- - build-and-push-agents
+ - build-and-push
runs-on: ubuntu-latest
if: github.event_name != 'pull_request'
steps:
- - uses: numerique-gouv/action-argocd-webhook-notification@cac2ee67896eb13e84e804f60c4271370424eaa8 # main
+ - uses: suitenumerique/ci/actions/argocd-webhook-notification@main
id: notify
with:
deployment_repo_path: "${{ secrets.DEPLOYMENT_REPO_URL }}"
diff --git a/.github/workflows/release-helm-chart.yaml b/.github/workflows/release-helm-chart.yaml
index c4ffd200..38dfd95d 100644
--- a/.github/workflows/release-helm-chart.yaml
+++ b/.github/workflows/release-helm-chart.yaml
@@ -1,33 +1,17 @@
-name: Release Chart
-run-name: Release Chart
+name: Release Helm chart
on:
push:
+ branches:
+ - main
paths:
- src/helm/meet/**
+permissions:
+ contents: read
+
jobs:
release:
permissions:
contents: write
- runs-on: ubuntu-latest
- steps:
- - name: Checkout
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
- with:
- fetch-depth: 0
-
- - name: Cleanup
- run: rm -rf ./src/helm/extra
-
- - name: Install Helm
- uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4.3.1
- env:
- GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
-
- - name: Publish Helm charts
- uses: numerique-gouv/helm-gh-pages@2cf477ae49d7c70037ceb1685803f4f7bad9b981 # add-overwrite-option
- with:
- charts_dir: ./src/helm
- linting: on
- token: ${{ secrets.GITHUB_TOKEN }}
+ uses: suitenumerique/ci/.github/workflows/_release-helm-chart.yml@main
diff --git a/renovate.json b/renovate.json
index b0d8d272..b23cc2e6 100644
--- a/renovate.json
+++ b/renovate.json
@@ -1,5 +1,5 @@
{
- "extends": ["github>numerique-gouv/renovate-configuration"],
+ "extends": ["github>suitenumerique/ci//renovate/default"],
"dependencyDashboard": true,
"labels": ["dependencies", "noChangeLog"],
"packageRules": [