Commit 7487fbb0 authored by Domenico Giordano's avatar Domenico Giordano
Browse files

rename control_room in deploy_AD

parent 5170e9c3
......@@ -37,7 +37,7 @@ This is a guide map of the repository:
Unit tests of the ETL libraries, test pipelines' components
1. Docker image definition ([docker-images](docker-images))<br>
Dockerfiles for images used in this project
1. Airflow-based Anomaly Detection System ([control_room](control_room))<br>
1. Airflow-based Anomaly Detection System ([deploy_AD](deploy_AD))<br>
Setup and run the Anomaly Detection System
1. Javascript Grafana extension ([grafana_extension](grafana_extension))<br>
Implement an extension of the Grafana Annotation panel, modifying the Grafana JS code
......@@ -49,4 +49,4 @@ All these components are needed to deploy the Anomaly Detection System described
1. For a general introduction on this activity see the [ITTF seminar](https://indico.cern.ch/event/1012703/)
1. For interactive examples see [examples](examples)
1. For Airflow deployment see [control_room](control_room)
1. For Airflow deployment see [deploy_AD](deploy_AD)
......@@ -54,7 +54,7 @@ Run the script on your system and it will download all the necessary files in th
In general the branch should be **master** (default) or a given gitlab **tag**, but any other branch can be configured, changing the env variable branch
```
export branch=master
curl https://gitlab.cern.ch/cloud-infrastructure/data-analytics/-/raw/$branch/control_room/install_AD.sh -O
curl https://gitlab.cern.ch/cloud-infrastructure/data-analytics/-/raw/$branch/deploy_AD/install_AD.sh -O
. ./install_AD.sh
install_all
```
......
......@@ -91,7 +91,7 @@ function install_ad(){
# create the symlink to give a standard directory for the dags
CONTROL_AD_DIR=${BASE_AD_DIR}/control_ad_system
[[ -L "${CONTROL_AD_DIR}" && -d "${CONTROL_AD_DIR}" ]] && rm ${CONTROL_AD_DIR}
sudo -u ${AD_USER} ln -s ${INSTALL_AD_DIR}/control_room/airflow-compose ${CONTROL_AD_DIR}
sudo -u ${AD_USER} ln -s ${INSTALL_AD_DIR}/deploy_AD/airflow-compose ${CONTROL_AD_DIR}
echo " "
}
......
......@@ -51,10 +51,8 @@ filename= *.py
show-source = true
enable-extensions = H203,H904
per-file-ignores =
./control_room/airflow-compose/dags/template_tasks.py: E126,E127,E128,E501,E704,E731,E741
# continuation line under-indented for visual indent
./tests/spark_etl/*.py: E127,E128,E501,E704,E731,E741
./control_room/airflow-compose/legacy_dags/*.py: E126,E127,E128,E501,E704,E731,E741
# D100: Missing docstring in public module
# D101: Missing docstring in public class
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment