From efefce82640e84d1194c281b708351c9f3c88e83 Mon Sep 17 00:00:00 2001 From: jmtorma <58999156+jmtorma@users.noreply.github.com> Date: Sat, 30 Sep 2023 17:12:34 -0400 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..20f4204b3 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 "jeffreytorma@yahoo.com" --password=${{ secrets.DOCKERPW }} + docker image build -t jmtorma/gitops:hellov1.0 . + docker push jmtorma/gitops:hellov1.0 From 9292a42c0b6c90c49616eec72ee69140a87d2457 Mon Sep 17 00:00:00 2001 From: jmtorma <58999156+jmtorma@users.noreply.github.com> Date: Sat, 30 Sep 2023 17:16:23 -0400 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..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 f2d1f655bb7648ae0b5403e298c4a5d9cbf4b131 Mon Sep 17 00:00:00 2001 From: jmtorma <58999156+jmtorma@users.noreply.github.com> Date: Sun, 1 Oct 2023 09:33:41 -0400 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 20f4204b3..c410c7771 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 060ade01fc94e7a13a46e44f44afb27b063135ac Mon Sep 17 00:00:00 2001 From: jmtorma <58999156+jmtorma@users.noreply.github.com> Date: Sun, 1 Oct 2023 09:36:16 -0400 Subject: [PATCH 4/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 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 ab43af62a51d79a4f858e4cd675cc26ed452f2e2 Mon Sep 17 00:00:00 2001 From: jmtorma <58999156+jmtorma@users.noreply.github.com> Date: Sun, 1 Oct 2023 09:58:40 -0400 Subject: [PATCH 5/8] 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..4b6fa10e1 --- /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: jmtorma/gitops:hellov1.0 From 9160571ceee36aa2f72c4fa74997161860c4b46b Mon Sep 17 00:00:00 2001 From: jmtorma <58999156+jmtorma@users.noreply.github.com> Date: Sun, 1 Oct 2023 10:02:58 -0400 Subject: [PATCH 6/8] Update hello.yaml --- workloads/hello.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workloads/hello.yaml b/workloads/hello.yaml index 4b6fa10e1..6189d1838 100644 --- a/workloads/hello.yaml +++ b/workloads/hello.yaml @@ -16,4 +16,4 @@ spec: spec: containers: - name: hello - image: jmtorma/gitops:hellov1.0 + image: jmtorma/content-gitops:hellov1.0 From 6e355a82d9bf89941d337a7c009c51721bf4bc24 Mon Sep 17 00:00:00 2001 From: jmtorma <58999156+jmtorma@users.noreply.github.com> Date: Sun, 1 Oct 2023 10:05:19 -0400 Subject: [PATCH 7/8] Update hello.yaml --- workloads/hello.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workloads/hello.yaml b/workloads/hello.yaml index 6189d1838..4b6fa10e1 100644 --- a/workloads/hello.yaml +++ b/workloads/hello.yaml @@ -16,4 +16,4 @@ spec: spec: containers: - name: hello - image: jmtorma/content-gitops:hellov1.0 + image: jmtorma/gitops:hellov1.0 From 9fba54be2a290a2d9e07a1259c14d0e0cb0c777c Mon Sep 17 00:00:00 2001 From: jmtorma <58999156+jmtorma@users.noreply.github.com> Date: Sun, 1 Oct 2023 10:05:58 -0400 Subject: [PATCH 8/8] Update hello.yaml --- workloads/hello.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workloads/hello.yaml b/workloads/hello.yaml index 4b6fa10e1..78768628d 100644 --- a/workloads/hello.yaml +++ b/workloads/hello.yaml @@ -2,7 +2,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: hello - namespace: lasample + namespace: laflux labels: app: hello spec: