From dffbbd5686aa621691bdaa59f09d0b4c3da47c3c Mon Sep 17 00:00:00 2001 From: florimondmanca Date: Wed, 28 Aug 2024 16:03:45 +0200 Subject: [PATCH] Rename --- .../workflows/{mel_import.yml => litteralis_mel_import.yml} | 6 +++--- Makefile | 2 +- docs/tools/litteralis.md | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) rename .github/workflows/{mel_import.yml => litteralis_mel_import.yml} (93%) diff --git a/.github/workflows/mel_import.yml b/.github/workflows/litteralis_mel_import.yml similarity index 93% rename from .github/workflows/mel_import.yml rename to .github/workflows/litteralis_mel_import.yml index 3e0e1b0f1..6caa20a9e 100644 --- a/.github/workflows/mel_import.yml +++ b/.github/workflows/litteralis_mel_import.yml @@ -1,4 +1,4 @@ -name: MEL Litteralis Import +name: Litteralis MEL Import on: workflow_dispatch: @@ -10,7 +10,7 @@ on: - feat/litteralis-auto jobs: - mel_import: + import: runs-on: ubuntu-latest steps: @@ -55,7 +55,7 @@ jobs: echo "APP_MEL_ORG_ID=${{ vars.APP_MEL_ORG_ID }}" >> .env.local - name: Run import - run: make ci_mel_import BIN_PHP="php" BIN_CONSOLE="php bin/console" BIN_COMPOSER="composer" + run: make ci_litteralis_mel_import BIN_PHP="php" BIN_CONSOLE="php bin/console" BIN_COMPOSER="composer" env: APP_MEL_IMPORT_APP: ${{ vars.APP_MEL_IMPORT_APP }} diff --git a/Makefile b/Makefile index 0604251dd..e10f7de6c 100644 --- a/Makefile +++ b/Makefile @@ -245,7 +245,7 @@ ci_eudonet_paris_import: ## Run CI steps for Eudonet Paris Import workflow ./tools/scalingodbtunnel ${EUDONET_PARIS_IMPORT_APP} --host-url --port 10000 & ./tools/wait-for-it.sh 127.0.0.1:10000 make console CMD="app:eudonet_paris:import" -ci_mel_import: ## Run CI steps for MEL Import workflow +ci_litteralis_mel_import: ## Run CI steps for Litteralis MEL Import workflow make composer CMD="install -n --prefer-dist" scalingo login --ssh --ssh-identity ~/.ssh/id_rsa ./tools/scalingodbtunnel ${APP_MEL_IMPORT_APP} --host-url --port 10000 & ./tools/wait-for-it.sh 127.0.0.1:10000 diff --git a/docs/tools/litteralis.md b/docs/tools/litteralis.md index 59921b572..5451d32db 100644 --- a/docs/tools/litteralis.md +++ b/docs/tools/litteralis.md @@ -46,7 +46,7 @@ L'intégration peut être exécutée à l'aide de commandes Symfony spécifiques Les données la MEL sont automatiquement intégrées en production tous les lundis à 16h00. -Cette automatisation est réalisée au moyen de [GitHub Actions](./github_actions.md) via le workflow [`mel_import.yml`](../../workflows/mel_import.yml). +Cette automatisation est réalisée au moyen de [GitHub Actions](./github_actions.md) via le workflow [`litteralis_mel_import.yml`](../../workflows/litteralis_mel_import.yml). La configuration passe par diverses variables d'environnement listées ci-dessous :