From 0c02347000f2b272b13cff7980c428a823c85bd7 Mon Sep 17 00:00:00 2001 From: vladimirgruicic <55236547+vladimirgruicic@users.noreply.github.com> Date: Thu, 21 Jul 2022 12:06:37 +0200 Subject: [PATCH 01/10] 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 c3e5d3176..7dbbf7b9b 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 + echo "${{ secrets.DOCKERPW }}" | docker login -u "vladimirgruicic" --password-stdin + docker image build -t vladimirgruicic/gitops:hellov1.0 . + docker push vladimirgruicic/gitops:hellov1.0 From 83a78be985fc24dda2e83c26f25425dbeddde900 Mon Sep 17 00:00:00 2001 From: vladimirgruicic <55236547+vladimirgruicic@users.noreply.github.com> Date: Thu, 21 Jul 2022 12:07:20 +0200 Subject: [PATCH 02/10] 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..af4f42aff 100644 --- a/python/app.py +++ b/python/app.py @@ -3,7 +3,7 @@ @app.route("/") def hello(): - return "Hello World!" + return "Hello LA student!" if __name__ == "__main__": app.run(host='0.0.0.0', port=8000) From cd00db9ef9dcec04d31b27d9af3198985bc450e0 Mon Sep 17 00:00:00 2001 From: vladimirgruicic <55236547+vladimirgruicic@users.noreply.github.com> Date: Thu, 21 Jul 2022 12:11:09 +0200 Subject: [PATCH 03/10] 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 7dbbf7b9b..61a4dd901 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 "vladimirgruicic" --password-stdin + echo "${{ secrets.DOCKERPW }}" | docker login --username="vladimirgruicic" --password=${{ secrets.DOCKERPW }} docker image build -t vladimirgruicic/gitops:hellov1.0 . docker push vladimirgruicic/gitops:hellov1.0 From a8231d4b6f1cfb9de9b8c4dc53439dbe5fd9009e Mon Sep 17 00:00:00 2001 From: vladimirgruicic <55236547+vladimirgruicic@users.noreply.github.com> Date: Thu, 21 Jul 2022 12:11:54 +0200 Subject: [PATCH 04/10] 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 af4f42aff..97b5bc80b 100644 --- a/python/app.py +++ b/python/app.py @@ -3,7 +3,7 @@ @app.route("/") def hello(): - return "Hello LA student!" + return "Hello LA students!" if __name__ == "__main__": app.run(host='0.0.0.0', port=8000) From fd89379f83b377c212cbb177a45286611baf0a7b Mon Sep 17 00:00:00 2001 From: vladimirgruicic <55236547+vladimirgruicic@users.noreply.github.com> Date: Thu, 21 Jul 2022 12:13:16 +0200 Subject: [PATCH 05/10] 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 61a4dd901..f81510e27 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 --username="vladimirgruicic" --password=${{ secrets.DOCKERPW }} + echo "${{ secrets.DOCKERPW }}" | docker login --username="vladimirgruicic" --password-stdin docker image build -t vladimirgruicic/gitops:hellov1.0 . docker push vladimirgruicic/gitops:hellov1.0 From e3e610580979c24ae090ab4994e3e344675e9906 Mon Sep 17 00:00:00 2001 From: vladimirgruicic <55236547+vladimirgruicic@users.noreply.github.com> Date: Thu, 21 Jul 2022 12:13:33 +0200 Subject: [PATCH 06/10] 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 97b5bc80b..0808de33d 100644 --- a/python/app.py +++ b/python/app.py @@ -3,7 +3,7 @@ @app.route("/") def hello(): - return "Hello LA students!" + return "Hello all LA students!" if __name__ == "__main__": app.run(host='0.0.0.0', port=8000) From 185b88c546232efb89a6a0da540e5f7db54fbf5d Mon Sep 17 00:00:00 2001 From: vladimirgruicic <55236547+vladimirgruicic@users.noreply.github.com> Date: Thu, 21 Jul 2022 12:16:29 +0200 Subject: [PATCH 07/10] Update pythonapp.yml --- .github/workflows/pythonapp.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index f81510e27..1b08b2a9b 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -1,10 +1,10 @@ name: Python application on: - push: + pull_request: paths: - 'python/*' - + jobs: build: From b43a003be802cf09f773c9a2c00da3f15fccb3f1 Mon Sep 17 00:00:00 2001 From: vladimirgruicic <55236547+vladimirgruicic@users.noreply.github.com> Date: Thu, 21 Jul 2022 12:19:30 +0200 Subject: [PATCH 08/10] 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 0808de33d..97b5bc80b 100644 --- a/python/app.py +++ b/python/app.py @@ -3,7 +3,7 @@ @app.route("/") def hello(): - return "Hello all LA students!" + return "Hello LA students!" if __name__ == "__main__": app.run(host='0.0.0.0', port=8000) From d5dd47b0c901471983d7b881af9baceaeeaf064b Mon Sep 17 00:00:00 2001 From: vladimirgruicic <55236547+vladimirgruicic@users.noreply.github.com> Date: Thu, 21 Jul 2022 12:24:20 +0200 Subject: [PATCH 09/10] 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 97b5bc80b..c628e9dc9 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 and all others!" if __name__ == "__main__": app.run(host='0.0.0.0', port=8000) From 0e8ea6edd3846e99b7da0827738d3753c6101639 Mon Sep 17 00:00:00 2001 From: vladimirgruicic <55236547+vladimirgruicic@users.noreply.github.com> Date: Thu, 21 Jul 2022 12:26:10 +0200 Subject: [PATCH 10/10] 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 c628e9dc9..a96bfefd2 100644 --- a/python/app.py +++ b/python/app.py @@ -3,7 +3,7 @@ @app.route("/") def hello(): - return "Hello LA students and all others!" + return "Hello LA students and all other!" if __name__ == "__main__": app.run(host='0.0.0.0', port=8000)