From 04f68bb039797f7683b3c9bc0ed462cf8160f8cd Mon Sep 17 00:00:00 2001 From: MatheusSilva020 <65418727+MatheusSilva020@users.noreply.github.com> Date: Thu, 1 Sep 2022 11:12:55 -0300 Subject: [PATCH 1/6] Update pythonapp.yml --- .github/workflows/pythonapp.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index c3e5d31..4fe1a63 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -23,6 +23,6 @@ jobs: - name: Build & Push Image run: | cd ./python - echo "${{ secrets.DOCKERPW }}" | docker login -u "[your dockerhub login here]" --password-stdin - docker image build -t [your dockerhub username here]/gitops:hellov1.0 . - docker push [your docker hub username here]/gitops:hellov1.0 + docker login --username=cloud_user --password=${{ secrets.DOCKERPW }} + docker image build -t cloud_user/gitops:hellov1.0 . + docker push cloud_user/gitops:hellov1.0 From bb2fd8a1b1d16c66de4de63a0faafa16a4516572 Mon Sep 17 00:00:00 2001 From: MatheusSilva020 <65418727+MatheusSilva020@users.noreply.github.com> Date: Thu, 1 Sep 2022 11:14:14 -0300 Subject: [PATCH 2/6] Update app.py --- python/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/app.py b/python/app.py index 358088e..6bdc7f2 100644 --- a/python/app.py +++ b/python/app.py @@ -3,7 +3,7 @@ @app.route("/") def hello(): - return "Hello World!" + return "Hello LA Students!" if __name__ == "__main__": app.run(host='0.0.0.0', port=8000) From b705daa278151a5f3719d4b99e56f68c9ae6b0ba Mon Sep 17 00:00:00 2001 From: MatheusSilva020 <65418727+MatheusSilva020@users.noreply.github.com> Date: Thu, 1 Sep 2022 11:16:46 -0300 Subject: [PATCH 3/6] Update app.py --- python/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/app.py b/python/app.py index 6bdc7f2..e14ebc2 100644 --- a/python/app.py +++ b/python/app.py @@ -3,7 +3,7 @@ @app.route("/") def hello(): - return "Hello LA Students!" + return "Hello LA Students again!" if __name__ == "__main__": app.run(host='0.0.0.0', port=8000) From 90bbbb198c82e9e0d4d178dbd4a70f8ab6556e17 Mon Sep 17 00:00:00 2001 From: MatheusSilva020 <65418727+MatheusSilva020@users.noreply.github.com> Date: Thu, 1 Sep 2022 11:20:12 -0300 Subject: [PATCH 4/6] Update pythonapp.yml --- .github/workflows/pythonapp.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index 4fe1a63..a9eafb4 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -23,6 +23,6 @@ jobs: - name: Build & Push Image run: | cd ./python - docker login --username=cloud_user --password=${{ secrets.DOCKERPW }} + docker login --username=matheussilva020 --password=${{ secrets.DOCKERPW }} docker image build -t cloud_user/gitops:hellov1.0 . docker push cloud_user/gitops:hellov1.0 From a9d2f8553a06c4b55f10e6372ab18982448d2efc Mon Sep 17 00:00:00 2001 From: MatheusSilva020 <65418727+MatheusSilva020@users.noreply.github.com> Date: Thu, 1 Sep 2022 11:22:07 -0300 Subject: [PATCH 5/6] Update pythonapp.yml --- .github/workflows/pythonapp.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index a9eafb4..b2ebb84 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -1,7 +1,7 @@ name: Python application on: - push: + pull_request: paths: - 'python/*' From 87ad1ffe88319e5af4f57cf682d21cbcc51172d4 Mon Sep 17 00:00:00 2001 From: MatheusSilva020 <65418727+MatheusSilva020@users.noreply.github.com> Date: Thu, 1 Sep 2022 11:24:12 -0300 Subject: [PATCH 6/6] Update app.py --- python/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/app.py b/python/app.py index e14ebc2..2576f2a 100644 --- a/python/app.py +++ b/python/app.py @@ -3,7 +3,7 @@ @app.route("/") def hello(): - return "Hello LA Students again!" + return "Hello LA Student!" if __name__ == "__main__": app.run(host='0.0.0.0', port=8000)