From 7863178af5283339bacd26cb87ac519cb9259c5c Mon Sep 17 00:00:00 2001 From: PKConsul Date: Sat, 15 Apr 2023 15:25:02 +0200 Subject: [PATCH 1/8] 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..5d0178324 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 "pkconsul" --password-stdin + docker image build -t pkconsul/gitops:hellov1.0 . + docker push pkconsul/gitops:hellov1.0 From d92210eed7a05172a20960a897805e7f4b111e4f Mon Sep 17 00:00:00 2001 From: PKConsul Date: Sat, 15 Apr 2023 15:26:09 +0200 Subject: [PATCH 2/8] 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..2cd5f77fd 100644 --- a/python/app.py +++ b/python/app.py @@ -3,7 +3,7 @@ @app.route("/") def hello(): - return "Hello World!" + return "Hello Worlds!" if __name__ == "__main__": app.run(host='0.0.0.0', port=8000) From 2b599681736ccf48e9e5443fcfca25e87d6a0fbf Mon Sep 17 00:00:00 2001 From: PKConsul Date: Sun, 16 Apr 2023 20:27:06 +0200 Subject: [PATCH 3/8] 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 5d0178324..625b302ae 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -1,7 +1,7 @@ name: Python application on: - push: + pull: paths: - 'python/*' From 142d88518243bf3fb6d9cc1dc2ea0f2c35ba5919 Mon Sep 17 00:00:00 2001 From: PKConsul Date: Sun, 16 Apr 2023 20:27:45 +0200 Subject: [PATCH 4/8] 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 625b302ae..67fc1ba04 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -1,7 +1,7 @@ name: Python application on: - pull: + pull_request: paths: - 'python/*' From bd8880db0469d9d086d8e428df15502f72ce301e Mon Sep 17 00:00:00 2001 From: PKConsul Date: Sun, 16 Apr 2023 20:29:18 +0200 Subject: [PATCH 5/8] 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 67fc1ba04..4a7d0d600 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -25,4 +25,4 @@ jobs: cd ./python echo "${{ secrets.DOCKERPW }}" | docker login -u "pkconsul" --password-stdin docker image build -t pkconsul/gitops:hellov1.0 . - docker push pkconsul/gitops:hellov1.0 + docker push pkconsul/gitops:hellov1.1 From 674c15fc8db0e4ffe3be90f097182ec72a39016c Mon Sep 17 00:00:00 2001 From: PKConsul Date: Sun, 16 Apr 2023 20:30:52 +0200 Subject: [PATCH 6/8] 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 2cd5f77fd..15e6be9ac 100644 --- a/python/app.py +++ b/python/app.py @@ -3,7 +3,7 @@ @app.route("/") def hello(): - return "Hello Worlds!" + return "Hello Worlds test!" if __name__ == "__main__": app.run(host='0.0.0.0', port=8000) From a70d18625214d5149e080170ec7b570dd2d9c723 Mon Sep 17 00:00:00 2001 From: PKConsul Date: Sun, 16 Apr 2023 20:37:17 +0200 Subject: [PATCH 7/8] 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 2cd5f77fd..2d6596652 100644 --- a/python/app.py +++ b/python/app.py @@ -3,7 +3,7 @@ @app.route("/") def hello(): - return "Hello Worlds!" + return "Hello Worldss!" if __name__ == "__main__": app.run(host='0.0.0.0', port=8000) From 5900f35bda3b63b0937a87af466f076340b52aff Mon Sep 17 00:00:00 2001 From: PKConsul Date: Sun, 16 Apr 2023 20:43:54 +0200 Subject: [PATCH 8/8] 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 2d6596652..4ab6acca0 100644 --- a/python/app.py +++ b/python/app.py @@ -3,7 +3,7 @@ @app.route("/") def hello(): - return "Hello Worldss!" + return "Hello Worldsss!" if __name__ == "__main__": app.run(host='0.0.0.0', port=8000)