From 2ad81e44208848be2de337b9d79fb05a5e997a41 Mon Sep 17 00:00:00 2001 From: octaviusmurphy <134439693+octaviusmurphy@users.noreply.github.com> Date: Thu, 25 May 2023 09:42:16 -0400 Subject: [PATCH 1/9] 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..2576f2ac6 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 2f1934e30ff22e15831fd95679ce0050b9ab138a Mon Sep 17 00:00:00 2001 From: octaviusmurphy <134439693+octaviusmurphy@users.noreply.github.com> Date: Thu, 25 May 2023 09:47:13 -0400 Subject: [PATCH 2/9] 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..e280f0863 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 "octaviusmurphy" --password-stdin + docker image build -t octaviusmurphy/gitops:hellov1.0 . + docker push octaviusmurphy/gitops:hellov1.0 From 30d9d2201c44f4a285d102e9b16d0b68d6015674 Mon Sep 17 00:00:00 2001 From: octaviusmurphy <134439693+octaviusmurphy@users.noreply.github.com> Date: Thu, 25 May 2023 09:48:03 -0400 Subject: [PATCH 3/9] 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 2576f2ac6..ec910ffd1 100644 --- a/python/app.py +++ b/python/app.py @@ -3,7 +3,7 @@ @app.route("/") def hello(): - return "Hello LA Student!" + return "Hello LA Student Again!" if __name__ == "__main__": app.run(host='0.0.0.0', port=8000) From d34162884a84bea5aeb4968168c5a9f7b9f29ebb Mon Sep 17 00:00:00 2001 From: octaviusmurphy <134439693+octaviusmurphy@users.noreply.github.com> Date: Thu, 25 May 2023 09:51:34 -0400 Subject: [PATCH 4/9] 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 e280f0863..2ee83372e 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 03f7282410716e512936bbad76aa18c6be82b558 Mon Sep 17 00:00:00 2001 From: octaviusmurphy <134439693+octaviusmurphy@users.noreply.github.com> Date: Thu, 25 May 2023 10:35:55 -0400 Subject: [PATCH 5/9] Create hello.yaml --- qa/hello.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 qa/hello.yaml diff --git a/qa/hello.yaml b/qa/hello.yaml new file mode 100644 index 000000000..c0e630aa6 --- /dev/null +++ b/qa/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 ec5a77cc92cbf76d4563fd988d99b4107817c87a Mon Sep 17 00:00:00 2001 From: octaviusmurphy <134439693+octaviusmurphy@users.noreply.github.com> Date: Thu, 25 May 2023 10:36:37 -0400 Subject: [PATCH 6/9] Create hello.yaml --- production/hello.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 production/hello.yaml diff --git a/production/hello.yaml b/production/hello.yaml new file mode 100644 index 000000000..c0e630aa6 --- /dev/null +++ b/production/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 ef85067e33a5684d9755f0342a5bbd877d697e8a Mon Sep 17 00:00:00 2001 From: octaviusmurphy <134439693+octaviusmurphy@users.noreply.github.com> Date: Thu, 25 May 2023 10:45:39 -0400 Subject: [PATCH 7/9] Update hello.yaml --- qa/hello.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/hello.yaml b/qa/hello.yaml index c0e630aa6..337d5793c 100644 --- a/qa/hello.yaml +++ b/qa/hello.yaml @@ -16,4 +16,4 @@ spec: spec: containers: - name: hello - image: linuxacademycontent/gitops:hellov1.0 + image: linuxacademycontent/gitops:hellov1.2 From 08a79e20032c7a98d1dadb629471c3e1f8504502 Mon Sep 17 00:00:00 2001 From: octaviusmurphy <134439693+octaviusmurphy@users.noreply.github.com> Date: Thu, 25 May 2023 10:51:32 -0400 Subject: [PATCH 8/9] Update hello.yaml --- production/hello.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/production/hello.yaml b/production/hello.yaml index c0e630aa6..de9ff7035 100644 --- a/production/hello.yaml +++ b/production/hello.yaml @@ -16,4 +16,4 @@ spec: spec: containers: - name: hello - image: linuxacademycontent/gitops:hellov1.0 + image: linuxacademycontent/gitops:hellov1.1 From cdadddd064e6a8495163ddc975acb7f975d973d4 Mon Sep 17 00:00:00 2001 From: octaviusmurphy <134439693+octaviusmurphy@users.noreply.github.com> Date: Thu, 25 May 2023 10:53:04 -0400 Subject: [PATCH 9/9] Update hello.yaml --- production/hello.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/production/hello.yaml b/production/hello.yaml index de9ff7035..337d5793c 100644 --- a/production/hello.yaml +++ b/production/hello.yaml @@ -16,4 +16,4 @@ spec: spec: containers: - name: hello - image: linuxacademycontent/gitops:hellov1.1 + image: linuxacademycontent/gitops:hellov1.2