From 9d559a118a25245b5466a32117cf8954d1152b5f Mon Sep 17 00:00:00 2001 From: Shubham Choudhary <shubhamchoudhary@Shubhams-MacBook-Air.local> Date: Fri, 24 May 2024 07:13:45 +0100 Subject: [PATCH] Add CI/CD pipeline configuration --- .gitlab-ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..168c4d3 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,24 @@ +stages: + - build + - test + - deploy + +build: + stage: build + script: + - echo "Building the project..." + - python train_model.py + +test: + stage: test + script: + - echo "Testing the project..." + - jupyter nbconvert --execute --to notebook --inplace test_flask_app_task3.ipynb + - jupyter nbconvert --execute --to notebook --inplace test_flask_app_task4.ipynb + +deploy: + stage: deploy + script: + - echo "Deploying the project..." + - # Add your deployment steps here + -- GitLab