From ca92e468fb876709580dde651f890cd5d0e91d20 Mon Sep 17 00:00:00 2001 From: Rohan Dudam Date: Fri, 18 Oct 2024 13:26:26 +0530 Subject: [PATCH] updated api test configuration to run tests on hosted cars api app and modified CircleCI configuration to stop flask app running in background --- .circleci/config.yml | 10 ---------- conf/base_url_conf.py | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 40c5e9ca..79d998b0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -21,18 +21,8 @@ jobs: - run: git clone https://github.com/qxf2/weather-shopper-app-apk.git - - run: git clone https://github.com/qxf2/cars-api.git - - - run: pip install flask - - run: sudo apt-get update - - run: - name: Run Flask app in background - command: | - python cars-api/cars_app.py - background: true - - run: name: Run different Tox environments on different Containers command: | diff --git a/conf/base_url_conf.py b/conf/base_url_conf.py index 671663db..b74a4a4e 100644 --- a/conf/base_url_conf.py +++ b/conf/base_url_conf.py @@ -2,5 +2,5 @@ Conf file for base_url """ ui_base_url = "https://qxf2.com/" -api_base_url= "http://127.0.0.1:5000" +api_base_url= "https://cars-app.qxf2.com"