Skip to content

Commit

Permalink
Feat/update schema mednum (#204)
Browse files Browse the repository at this point in the history
* feat: update minor version for all packages

* chore: update dev dependencies to latest version

* feat: use latest version of nodejs in github workflows

* chore: revert eslint upgrade

* chore: extract prettier config from .tooling

* chore: typescript upgrade

* feat: update schema

* feat: update corse configuration

* feat: remove comnumm dataset

* feat: update transformation input doc

* feat: add default value support for itinerance field transformation

* feat: update aidants connect transformation input config

* feat: update aix en provence transformation input config

* feat: update angers transformation input config

* feat: update bus france services charente transformation input config

* feat: update charente maritime transformation input config

* feat: update conseiller numerique transformation input config

* feat: update data inclusion transformation input config

* feat: update dora transformation input config

* feat: update epernay transformation input config

* feat: update etapes numerique transformation input config

* feat: update eure et loir transformation input config

* feat: update fibre 64 transformation input config

* feat: update france services transformation input config

* feat: update mednum hub antilles transformation input config

* feat: update numi transformation input config

* feat: update sarthe transformation input config

* feat: update savoie extraction transformation input config

* feat: update vendee extraction transformation input config

* fix: remove france tiers lieux from data automation

* fix: aidants connect labels wrong property

* feat: update francil-in transformation input config

* feat: update gironde transformation input config

* feat: update haute-vienne transformation input config

* feat: update gironde transformation input config

* feat: update haute vienne transformation input config

* feat: update hinaura transformation input config

* feat: update hub-lo transformation input config

* feat: update la creuse transformation input config

* feat: update le havre transformation input config

* feat: update les assembleurs transformation input config

* feat: remove unexpected char in voie

* feat: fix unexpected emails slash separator

* fix: frais à charge column and courriels name

* feat: update les les landes transformation input config

* feat: update loire atlantique transformation input config

* feat: update maine et loire transformation input config

* feat: update mednum bfc transformation input config

* feat: update mulhouse transformation input config

* feat: update nouvelle caledonie transformation input config

* feat: update paca transformation input config

* fix: temporary disable data from rhin-occ, res-in and ultra-num
  • Loading branch information
marc-gavanier authored Sep 12, 2024
1 parent a7d1188 commit 360b537
Show file tree
Hide file tree
Showing 110 changed files with 10,053 additions and 34,567 deletions.
23 changes: 5 additions & 18 deletions .github/workflows/nightly-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
angers,
bus-france-services-charente,
charente-maritime,
conumm,
conseiller-numerique,
corse,
dora,
Expand All @@ -26,7 +25,6 @@ jobs:
fibre-64,
france-services,
francil-in,
france-tiers-lieux,
gironde,
haute-vienne,
hinaura,
Expand All @@ -41,10 +39,7 @@ jobs:
les-landes,
paca,
loire-atlantique,
rhin-occ,
res-in,
sarthe,
ultra-num,
nouvelle-caledonie
]
runs-on: ubuntu-latest
Expand All @@ -57,7 +52,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16.x'
node-version: 'latest'
cache: 'yarn'
- name: Install dependencies
run: yarn
Expand Down Expand Up @@ -92,7 +87,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16.x'
node-version: 'latest'
cache: 'yarn'
- name: Install dependencies
run: yarn
Expand All @@ -112,15 +107,7 @@ jobs:
name: Extract and publish to data.gouv
strategy:
matrix:
source:
[
extract-eure-et-loir,
extract-mednum-hub-antilles,
extract-numi,
extract-paca,
extract-savoie,
extract-vendee
]
source: [extract-eure-et-loir, extract-mednum-hub-antilles, extract-numi, extract-paca, extract-savoie, extract-vendee]
runs-on: ubuntu-latest
environment: production
needs:
Expand All @@ -136,7 +123,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16.x'
node-version: 'latest'
cache: 'yarn'
- name: Install dependencies
run: yarn
Expand Down Expand Up @@ -170,7 +157,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16.x'
node-version: 'latest'
cache: 'yarn'
- name: Install dependencies
run: yarn
Expand Down
23 changes: 5 additions & 18 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
angers,
bus-france-services-charente,
charente-maritime,
conumm,
conseiller-numerique,
corse,
dora,
Expand All @@ -31,7 +30,6 @@ jobs:
fibre-64,
france-services,
francil-in,
france-tiers-lieux,
gironde,
haute-vienne,
hinaura,
Expand All @@ -46,10 +44,7 @@ jobs:
les-landes,
paca,
loire-atlantique,
rhin-occ,
res-in,
sarthe,
ultra-num,
nouvelle-caledonie
]
runs-on: ubuntu-latest
Expand All @@ -62,7 +57,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16.x'
node-version: 'latest'
cache: 'yarn'
- name: Install dependencies
run: yarn
Expand Down Expand Up @@ -127,7 +122,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16.x'
node-version: 'latest'
cache: 'yarn'
- name: Install dependencies
run: yarn
Expand All @@ -147,15 +142,7 @@ jobs:
name: Extract and publish to data.gouv
strategy:
matrix:
source:
[
extract-eure-et-loir,
extract-mednum-hub-antilles,
extract-numi,
extract-paca,
extract-savoie,
extract-vendee
]
source: [extract-eure-et-loir, extract-mednum-hub-antilles, extract-numi, extract-paca, extract-savoie, extract-vendee]
runs-on: ubuntu-latest
environment: production
needs:
Expand All @@ -171,7 +158,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16.x'
node-version: 'latest'
cache: 'yarn'
- name: Install dependencies
run: yarn
Expand Down Expand Up @@ -205,7 +192,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16.x'
node-version: 'latest'
cache: 'yarn'
- name: Install dependencies
run: yarn
Expand Down
79 changes: 33 additions & 46 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16.x'
node-version: 'latest'
cache: 'yarn'
- name: Install dependencies
run: yarn
Expand All @@ -55,7 +55,6 @@ jobs:
angers,
bus-france-services-charente,
charente-maritime,
conumm,
conseiller-numerique,
corse,
dora,
Expand All @@ -64,7 +63,6 @@ jobs:
fibre-64,
france-services,
francil-in,
france-tiers-lieux,
gironde,
haute-vienne,
hinaura,
Expand All @@ -79,10 +77,7 @@ jobs:
les-landes,
paca,
loire-atlantique,
rhin-occ,
res-in,
sarthe,
ultra-num,
nouvelle-caledonie
]
runs-on: ubuntu-latest
Expand All @@ -95,7 +90,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16.x'
node-version: 'latest'
cache: 'yarn'
- name: Install dependencies
run: yarn
Expand All @@ -114,42 +109,34 @@ jobs:
run: yarn publier.${{ matrix.source }}

extract-and-publish:
name: Extract and publish to data.gouv
strategy:
matrix:
source:
[
extract-eure-et-loir,
extract-mednum-hub-antilles,
extract-numi,
extract-paca,
extract-savoie,
extract-vendee
]
runs-on: ubuntu-latest
environment: demo
needs:
- transform-and-publish
steps:
- name: Checkout client-application repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16.x'
cache: 'yarn'
- name: Install dependencies
run: yarn
- name: 'Create env file'
run: |
touch .env
echo DATA_GOUV_API_URL="${{ secrets.DATA_GOUV_API_URL }}" >> .env
echo DATA_GOUV_API_KEY="${{ secrets.DATA_GOUV_API_KEY }}" >> .env
echo DATA_GOUV_REFERENCE_ID="${{ secrets.DATA_GOUV_REFERENCE_ID }}" >> .env
echo DATA_GOUV_REFERENCE_TYPE="${{ secrets.DATA_GOUV_REFERENCE_TYPE }}" >> .env
- name: Extract
run: yarn extract.${{ matrix.source }}
- name: Publish
run: yarn publier.${{ matrix.source }}
name: Extract and publish to data.gouv
strategy:
matrix:
source: [extract-eure-et-loir, extract-mednum-hub-antilles, extract-numi, extract-paca, extract-savoie, extract-vendee]
runs-on: ubuntu-latest
environment: demo
needs:
- transform-and-publish
steps:
- name: Checkout client-application repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 'latest'
cache: 'yarn'
- name: Install dependencies
run: yarn
- name: 'Create env file'
run: |
touch .env
echo DATA_GOUV_API_URL="${{ secrets.DATA_GOUV_API_URL }}" >> .env
echo DATA_GOUV_API_KEY="${{ secrets.DATA_GOUV_API_KEY }}" >> .env
echo DATA_GOUV_REFERENCE_ID="${{ secrets.DATA_GOUV_REFERENCE_ID }}" >> .env
echo DATA_GOUV_REFERENCE_TYPE="${{ secrets.DATA_GOUV_REFERENCE_TYPE }}" >> .env
- name: Extract
run: yarn extract.${{ matrix.source }}
- name: Publish
run: yarn publier.${{ matrix.source }}
5 changes: 4 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
.git/
.idea/
.vscode/
assets/
bin/
build/
coverage/
dist/
node_modules/
lib/
node_modules/
out/
2 changes: 1 addition & 1 deletion .prettierrc.cjs → .prettierrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
{
"printWidth": 128,
"tabWidth": 2,
"useTabs": false,
Expand Down
Loading

0 comments on commit 360b537

Please sign in to comment.