diff --git a/README.md b/README.md index b205f1c..e954aec 100644 --- a/README.md +++ b/README.md @@ -4,3 +4,6 @@ Configuring Jenkins and Docker. Three jobs : test-build-deploy. SonarQube Creating new ocker Image and pushing on dockerhub. +Using docker compose to run multi containers. +Final touch +Once Again diff --git a/app.py b/app.py index e3ca38c..e9ad4de 100644 --- a/app.py +++ b/app.py @@ -6,7 +6,7 @@ def create_app(): app = Flask(__name__) @app.route('/') def home(): - return 'Hey Guys ! This is my python App1' + return 'Hey Guys ! This is my python App12' return app diff --git a/sonar-project.properties b/sonar-project.properties index a5d6f43..0da621b 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -1,3 +1,3 @@ sonar.projectKey=gfg20pythonci-cd -sonar.ws.timeout=600 + diff --git a/test_app.py b/test_app.py index c2f4341..20673e9 100644 --- a/test_app.py +++ b/test_app.py @@ -15,6 +15,6 @@ def client(app): def test_home(client): response = client.get('/') assert response.status_code == 200 - expected_text = 'Hey Guys ! This is my python App1' + expected_text = 'Hey Guys ! This is my python App12' print(response.data) assert expected_text.encode() == response.data