Skip to content

Commit

Permalink
remove-totally-siao
Browse files Browse the repository at this point in the history
  • Loading branch information
hlecuyer committed Nov 6, 2024
1 parent 8ec0807 commit 1fdec5b
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 51 deletions.
1 change: 0 additions & 1 deletion deployment/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ x-airflow-common:
AIRFLOW_VAR_FREDO_API_TOKEN: ${AIRFLOW_VAR_FREDO_API_TOKEN}
AIRFLOW_VAR_FT_API_TOKEN: ${AIRFLOW_VAR_FT_API_TOKEN}
AIRFLOW_VAR_MES_AIDES_AIRTABLE_KEY: ${AIRFLOW_VAR_MES_AIDES_AIRTABLE_KEY}
AIRFLOW_VAR_SIAO_FILE_URL: ${AIRFLOW_VAR_SIAO_FILE_URL}
AIRFLOW_VAR_SOLIGUIDE_API_TOKEN: ${AIRFLOW_VAR_SOLIGUIDE_API_TOKEN}
AIRFLOW_VAR_TWOCAPTCHA_API_KEY: ${AIRFLOW_VAR_TWOCAPTCHA_API_KEY}

Expand Down
1 change: 0 additions & 1 deletion deployment/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,6 @@ resource "null_resource" "up" {
AIRFLOW_VAR_FREDO_API_TOKEN='${var.fredo_api_token}'
AIRFLOW_VAR_FT_API_TOKEN='${var.ft_api_token}'
AIRFLOW_VAR_MES_AIDES_AIRTABLE_KEY='${var.mes_aides_airtable_key}'
AIRFLOW_VAR_SIAO_FILE_URL='${var.siao_file_url}'
AIRFLOW_VAR_SOLIGUIDE_API_TOKEN='${var.soliguide_api_token}'
AIRFLOW_VAR_TWOCAPTCHA_API_KEY='${var.twocaptcha_api_key}'
EOT
Expand Down
1 change: 0 additions & 1 deletion deployment/template.terraform.tfvars.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"scaleway_application_id": null,
"scaleway_project_id": null,
"scaleway_secret_key": null,
"siao_file_url": null,
"soliguide_api_token": null,
"ssh_private_key": null,
"stack_version": null
Expand Down
6 changes: 0 additions & 6 deletions deployment/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -196,12 +196,6 @@ variable "airflow_conn_mattermost" {
default = ""
}

variable "siao_file_url" {
description = "Public URL to the siao export on our s3 bucket"
type = string
default = ""
}

variable "twocaptcha_api_key" {
description = "Used in extraction tasks orchestrated by airflow"
type = string
Expand Down
11 changes: 0 additions & 11 deletions pipeline/dags/dag_utils/sources/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,6 @@
},
},
},
"siao": {
"schedule": "@once",
"snapshot": False,
"reader": utils.read_excel,
"streams": {
"etablissements": {
"filename": "etablissements.xlsx",
"url": Variable.get("SIAO_FILE_URL", None),
},
},
},
"finess": {
"schedule": "@daily",
"snapshot": True,
Expand Down
5 changes: 0 additions & 5 deletions pipeline/dbt/models/_sources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,6 @@ sources:
tables:
- name: etablissements

- name: siao
schema: siao
tables:
- name: etablissements

- name: un_jeune_une_solution
schema: un_jeune_une_solution
tables:
Expand Down
4 changes: 0 additions & 4 deletions pipeline/dbt/models/staging/sources/siao/_siao__models.yml

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion pipeline/defaults.env
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ AIRFLOW_VAR_MES_AIDES_PERMIS_VELO_URL=https://airtable.com/appRga7C9USklxYiV/tbl
AIRFLOW_VAR_MONENFANT_BASE_URL=https://monenfant.fr
AIRFLOW_VAR_ODSPEP_S3_KEY_PREFIX=sources/odspep/2023-01-23/denormalized/Exports/
AIRFLOW_VAR_RESEAU_ALPHA_URL=https://www.reseau-alpha.org
AIRFLOW_VAR_SIAO_FILE_URL=
AIRFLOW_VAR_SIRENE_STOCK_ETAB_GEOCODE_FILE_URL=https://data.cquest.org/geo_sirene/v2019/last/StockEtablissementActif_utf8_geo.csv.gz
AIRFLOW_VAR_SIRENE_STOCK_ETAB_HIST_FILE_URL=https://www.data.gouv.fr/fr/datasets/r/88fbb6b4-0320-443e-b739-b4376a012c32
AIRFLOW_VAR_SIRENE_STOCK_ETAB_LIENS_SUCCESSION_URL=https://www.data.gouv.fr/fr/datasets/r/9c4d5d9c-4bbb-4b9c-837a-6155cb589e26
Expand Down

0 comments on commit 1fdec5b

Please sign in to comment.