From 842d5fb114e235bbe304bfa1bac58aaca032440a Mon Sep 17 00:00:00 2001 From: Paul Kudriavtcev <93684631+paulkud@users.noreply.github.com> Date: Thu, 16 Dec 2021 17:21:13 -0500 Subject: [PATCH 01/11] 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..ae3e504fd 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 "paulkud" --password-stdin + docker image build -t paulkud/gitops:hellov1.0 . + docker push paulkud/gitops:hellov1.0 From ee8aae8693a17467b9f1e2abba395e83c73b925f Mon Sep 17 00:00:00 2001 From: Paul Kudriavtcev <93684631+paulkud@users.noreply.github.com> Date: Thu, 16 Dec 2021 17:25:19 -0500 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..d1afd8948 100644 --- a/python/app.py +++ b/python/app.py @@ -3,7 +3,7 @@ @app.route("/") def hello(): - return "Hello World!" + return "Hello Bradford!" if __name__ == "__main__": app.run(host='0.0.0.0', port=8000) From a7014554e9a7cc084893bb43e56eabb3ca74c1f0 Mon Sep 17 00:00:00 2001 From: Paul Kudriavtcev <93684631+paulkud@users.noreply.github.com> Date: Thu, 16 Dec 2021 17:32:20 -0500 Subject: [PATCH 03/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 d1afd8948..7e27d1da6 100644 --- a/python/app.py +++ b/python/app.py @@ -3,7 +3,7 @@ @app.route("/") def hello(): - return "Hello Bradford!" + return "Hello Bradford!!" if __name__ == "__main__": app.run(host='0.0.0.0', port=8000) From 9277ba2a0dc50fbe27046fb7ca37410a86875113 Mon Sep 17 00:00:00 2001 From: Paul Kudriavtcev <93684631+paulkud@users.noreply.github.com> Date: Thu, 16 Dec 2021 17:35:21 -0500 Subject: [PATCH 04/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 7e27d1da6..98bb9834d 100644 --- a/python/app.py +++ b/python/app.py @@ -3,7 +3,7 @@ @app.route("/") def hello(): - return "Hello Bradford!!" + return "Hello Bradford!!!" if __name__ == "__main__": app.run(host='0.0.0.0', port=8000) From 2f608759d4d9025f691b51ab17f32d4caa8171a0 Mon Sep 17 00:00:00 2001 From: Paul Kudriavtcev <93684631+paulkud@users.noreply.github.com> Date: Thu, 16 Dec 2021 22:47:41 -0500 Subject: [PATCH 05/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 ae3e504fd..d4f5532c6 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -1,7 +1,7 @@ name: Python application on: - push: + pull: paths: - 'python/*' From 37567791c302447d5d13f30623460ae737114101 Mon Sep 17 00:00:00 2001 From: Paul Kudriavtcev <93684631+paulkud@users.noreply.github.com> Date: Thu, 16 Dec 2021 22:48:05 -0500 Subject: [PATCH 06/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 98bb9834d..d63dea397 100644 --- a/python/app.py +++ b/python/app.py @@ -3,7 +3,7 @@ @app.route("/") def hello(): - return "Hello Bradford!!!" + return "Hello Bradford at night!!!" if __name__ == "__main__": app.run(host='0.0.0.0', port=8000) From a1e83635ea838b2ee1a07f6730b13569f3b5b6d8 Mon Sep 17 00:00:00 2001 From: Paul Kudriavtcev <93684631+paulkud@users.noreply.github.com> Date: Thu, 16 Dec 2021 22:50:33 -0500 Subject: [PATCH 07/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 d4f5532c6..76af0ff42 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 2b5ebdce7165233de4933b8b8cb03a6d4793b66e Mon Sep 17 00:00:00 2001 From: Paul Kudriavtcev <93684631+paulkud@users.noreply.github.com> Date: Thu, 16 Dec 2021 22:51:15 -0500 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 d63dea397..584d09c47 100644 --- a/python/app.py +++ b/python/app.py @@ -3,7 +3,7 @@ @app.route("/") def hello(): - return "Hello Bradford at night!!!" + return "Hello Bradford at night tonight!!!" if __name__ == "__main__": app.run(host='0.0.0.0', port=8000) From e598b845e63e24a4a8e67e7f661af8131bd997ac Mon Sep 17 00:00:00 2001 From: Paul Kudriavtcev <93684631+paulkud@users.noreply.github.com> Date: Thu, 16 Dec 2021 22:56:34 -0500 Subject: [PATCH 09/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 584d09c47..da2d6efb6 100644 --- a/python/app.py +++ b/python/app.py @@ -3,7 +3,7 @@ @app.route("/") def hello(): - return "Hello Bradford at night tonight!!!" + return "Hello tonight" if __name__ == "__main__": app.run(host='0.0.0.0', port=8000) From 5af66076be7fb21358c78eb6ecaf06e48d078208 Mon Sep 17 00:00:00 2001 From: Paul Kudriavtcev <93684631+paulkud@users.noreply.github.com> Date: Fri, 17 Dec 2021 00:23:28 -0500 Subject: [PATCH 10/11] Create hello.yaml --- workloads/hello.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 workloads/hello.yaml diff --git a/workloads/hello.yaml b/workloads/hello.yaml new file mode 100644 index 000000000..c0e630aa6 --- /dev/null +++ b/workloads/hello.yaml @@ -0,0 +1,19 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: hello + namespace: lasample + labels: + app: hello +spec: + selector: + matchLabels: + app: hello + template: + metadata: + labels: + app: hello + spec: + containers: + - name: hello + image: linuxacademycontent/gitops:hellov1.0 From 16a42422af369aa65445238675f3007e5f72c3c8 Mon Sep 17 00:00:00 2001 From: Paul Kudriavtcev <93684631+paulkud@users.noreply.github.com> Date: Fri, 17 Dec 2021 00:24:25 -0500 Subject: [PATCH 11/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 da2d6efb6..55c730691 100644 --- a/python/app.py +++ b/python/app.py @@ -3,7 +3,7 @@ @app.route("/") def hello(): - return "Hello tonight" + return "Hello tomorrow" if __name__ == "__main__": app.run(host='0.0.0.0', port=8000)