From e6c5e319bc697efc0ff642cae8cc2e40bb42c58f Mon Sep 17 00:00:00 2001 From: pennandw2 <69496058+pennandw2@users.noreply.github.com> Date: Sat, 27 Mar 2021 04:45:34 -0400 Subject: [PATCH 01/11] Update pythonapp.yml --- .github/workflows/pythonapp.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index c3e5d3176..7bf8b590d 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -1,4 +1,4 @@ -name: Python application +wname: Python application on: push: @@ -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 + echo "${{ secrets.DOCKERPW }}" | docker login -u "pennandw2" --password-stdin + docker image build -t pennandw/gitops:hellov1.0 . + docker push pennandw/gitops:hellov1.0 From 64a757faacda93c8d6bf93779cc39659b3fdf3fe Mon Sep 17 00:00:00 2001 From: pennandw2 <69496058+pennandw2@users.noreply.github.com> Date: Sat, 27 Mar 2021 04:47:41 -0400 Subject: [PATCH 02/11] 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 358088e4c..6bdc7f24c 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 862c76d3d87cb8f6b3e98d64374f1a2836744d22 Mon Sep 17 00:00:00 2001 From: pennandw2 <69496058+pennandw2@users.noreply.github.com> Date: Sat, 27 Mar 2021 04:49:30 -0400 Subject: [PATCH 03/11] 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 7bf8b590d..051dcf184 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -1,4 +1,4 @@ -wname: Python application +name: Python application on: push: From 5efd3b8edcf96ad238f6076c7a86799dff3d7f39 Mon Sep 17 00:00:00 2001 From: pennandw2 <69496058+pennandw2@users.noreply.github.com> Date: Sat, 27 Mar 2021 04:50:28 -0400 Subject: [PATCH 04/11] Update app.py more happy --- python/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/app.py b/python/app.py index 6bdc7f24c..6edcaf369 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!!" if __name__ == "__main__": app.run(host='0.0.0.0', port=8000) From 26f6c0525cc7b161e18af6ed28f15e08687833cd Mon Sep 17 00:00:00 2001 From: pennandw2 <69496058+pennandw2@users.noreply.github.com> Date: Sat, 27 Mar 2021 04:56:30 -0400 Subject: [PATCH 05/11] Update app.py Updated greeting --- python/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/app.py b/python/app.py index 6edcaf369..d70eda9fb 100644 --- a/python/app.py +++ b/python/app.py @@ -3,7 +3,7 @@ @app.route("/") def hello(): - return "Hello LA Students!!" + return "Hello Dwane Pennant!!!" if __name__ == "__main__": app.run(host='0.0.0.0', port=8000) From bc6ef5a984c0a018bd912b9d810e7b7dac3a209e Mon Sep 17 00:00:00 2001 From: pennandw2 <69496058+pennandw2@users.noreply.github.com> Date: Sat, 27 Mar 2021 04:58:13 -0400 Subject: [PATCH 06/11] 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 051dcf184..f9c29f9ef 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 "pennandw2" --password-stdin + echo "${{ secrets.DOCKERPW }}" | docker login -u "pennandw" --password-stdin docker image build -t pennandw/gitops:hellov1.0 . docker push pennandw/gitops:hellov1.0 From 750bf6188bfba5ec605f2f30743c6fa9a9d2bee4 Mon Sep 17 00:00:00 2001 From: pennandw2 <69496058+pennandw2@users.noreply.github.com> Date: Sat, 27 Mar 2021 04:59:43 -0400 Subject: [PATCH 07/11] Update app.py to make it more happy --- python/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/app.py b/python/app.py index d70eda9fb..adcdbd28f 100644 --- a/python/app.py +++ b/python/app.py @@ -3,7 +3,7 @@ @app.route("/") def hello(): - return "Hello Dwane Pennant!!!" + return "Hello Dwane Pennant!!!!" if __name__ == "__main__": app.run(host='0.0.0.0', port=8000) From b99061b3503a549b0c7f3bde82cfea943b6d5580 Mon Sep 17 00:00:00 2001 From: pennandw2 <69496058+pennandw2@users.noreply.github.com> Date: Sat, 27 Mar 2021 05:02:13 -0400 Subject: [PATCH 08/11] 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 adcdbd28f..6e5eb6723 100644 --- a/python/app.py +++ b/python/app.py @@ -3,7 +3,7 @@ @app.route("/") def hello(): - return "Hello Dwane Pennant!!!!" + return "Hello Dwane Pennant!!!!!" if __name__ == "__main__": app.run(host='0.0.0.0', port=8000) From 401f8a1c16470048edcc187c27620c32b169511c Mon Sep 17 00:00:00 2001 From: pennandw2 <69496058+pennandw2@users.noreply.github.com> Date: Sat, 27 Mar 2021 05:06:42 -0400 Subject: [PATCH 09/11] Update pythonapp.yml changed it to trigger on a pull request --- .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 f9c29f9ef..dc9686d6e 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -1,7 +1,7 @@ name: Python application on: - push: + pull: paths: - 'python/*' From f904fc214ca29fc856314fcbb40c05dd79f7541f Mon Sep 17 00:00:00 2001 From: pennandw2 <69496058+pennandw2@users.noreply.github.com> Date: Sat, 27 Mar 2021 05:09:47 -0400 Subject: [PATCH 10/11] 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 6e5eb6723..358088e4c 100644 --- a/python/app.py +++ b/python/app.py @@ -3,7 +3,7 @@ @app.route("/") def hello(): - return "Hello Dwane Pennant!!!!!" + return "Hello World!" if __name__ == "__main__": app.run(host='0.0.0.0', port=8000) From 8b39b17f81e72167a9f6a0e098bdbac650bf180a Mon Sep 17 00:00:00 2001 From: pennandw2 <69496058+pennandw2@users.noreply.github.com> Date: Sat, 27 Mar 2021 05:20:59 -0400 Subject: [PATCH 11/11] 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 dc9686d6e..7ad1e5841 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -1,7 +1,7 @@ name: Python application on: - pull: + pull_request: paths: - 'python/*'