This is all the kestra related configuration for the CVops Research project.
This repository contains all the configuration files for the Kestra project. The Kestra project is a research project that aims to automate the process of creating a CV using a CI/CD pipeline.
- An Activated Azure Subscription
- Terraform
- Docker
- Docker-compose
-
.flows: Contains all the flows that are used in the project :
- download_data: This flow is used to download the data from a specific url and save it in azure Blob Storage.
- train_model: This flow is used to train the model using the data that was downloaded in the previous flow.
- test_model: This flow is used to test the model using the data that was downloaded in the previous flow.
-
host.tf: This file contains the terraform configuration to create a VM in Azure.
-
docker-compose.yml: This file contains the configuration to run the Kestra server and the Kestra worker.
-
prometheus.yml: This file contains the configuration for the Prometheus server.
- Clone the repository
- Start by linking terraform to your Azure account by running the following command:
az login
- Create an Azure VM with azure and apply the docker compose file in it:
terraform init terraform apply
- Consult Your Kestra server in the browser by going to the following url:
http://<your_vm_ip>:8080
- Test the flows by coping eac flow in your kestra instance