From a32a626dda91efafed5a46fa12398854fe0b0afa Mon Sep 17 00:00:00 2001 From: rheacisa <118062469+rheacisa@users.noreply.github.com> Date: Sat, 25 Mar 2023 22:49:11 -0500 Subject: [PATCH 01/14] Update python yaml --- .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..4fe1a630f 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 + docker login --username=cloud_user --password=${{ secrets.DOCKERPW }} + docker image build -t cloud_user/gitops:hellov1.0 . + docker push cloud_user/gitops:hellov1.0 From 861f846fa3c998777abfbd1f4c758d9aad707e20 Mon Sep 17 00:00:00 2001 From: rheacisa <118062469+rheacisa@users.noreply.github.com> Date: Sat, 25 Mar 2023 22:51:04 -0500 Subject: [PATCH 02/14] 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..a3c4b23f9 100644 --- a/python/app.py +++ b/python/app.py @@ -3,7 +3,7 @@ @app.route("/") def hello(): - return "Hello World!" + return "Hello World IslandGirl Here!" if __name__ == "__main__": app.run(host='0.0.0.0', port=8000) From 4f24d4ffa4dde130c1159950b084e3196baa09a5 Mon Sep 17 00:00:00 2001 From: rheacisa <118062469+rheacisa@users.noreply.github.com> Date: Sat, 25 Mar 2023 23:03:31 -0500 Subject: [PATCH 03/14] 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 a3c4b23f9..c6dd0b216 100644 --- a/python/app.py +++ b/python/app.py @@ -3,7 +3,7 @@ @app.route("/") def hello(): - return "Hello World IslandGirl Here!" + return "Hello World IslandGirl Here mar!" if __name__ == "__main__": app.run(host='0.0.0.0', port=8000) From a20ad5e2b02f1eb3eada05a7d3cff5cdcf850209 Mon Sep 17 00:00:00 2001 From: rheacisa <118062469+rheacisa@users.noreply.github.com> Date: Sat, 25 Mar 2023 23:05:43 -0500 Subject: [PATCH 04/14] 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 4fe1a630f..908980895 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -23,6 +23,6 @@ jobs: - name: Build & Push Image run: | cd ./python - docker login --username=cloud_user --password=${{ secrets.DOCKERPW }} + docker login --username=rheacisa --password=${{ secrets.DOCKERPW }} docker image build -t cloud_user/gitops:hellov1.0 . docker push cloud_user/gitops:hellov1.0 From 5d026ee0b5a09b49ae4498ba2a7d12ce5a6a5eca Mon Sep 17 00:00:00 2001 From: rheacisa <118062469+rheacisa@users.noreply.github.com> Date: Sat, 25 Mar 2023 23:06:03 -0500 Subject: [PATCH 05/14] 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 c6dd0b216..c68855842 100644 --- a/python/app.py +++ b/python/app.py @@ -3,7 +3,7 @@ @app.route("/") def hello(): - return "Hello World IslandGirl Here mar!" + return "Hello World IslandGirl Here mar 25!" if __name__ == "__main__": app.run(host='0.0.0.0', port=8000) From 0bbcea656c7d3dd862ea3671555aa96f61f33bf3 Mon Sep 17 00:00:00 2001 From: rheacisa <118062469+rheacisa@users.noreply.github.com> Date: Sat, 25 Mar 2023 23:07:55 -0500 Subject: [PATCH 06/14] 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 908980895..c5bbaaf7a 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -24,5 +24,5 @@ jobs: run: | cd ./python docker login --username=rheacisa --password=${{ secrets.DOCKERPW }} - docker image build -t cloud_user/gitops:hellov1.0 . + docker image build -t rheacisa/gitops:hellov1.0 . docker push cloud_user/gitops:hellov1.0 From d3842eb707fe6ca9b352040161639f6958080b1f Mon Sep 17 00:00:00 2001 From: rheacisa <118062469+rheacisa@users.noreply.github.com> Date: Sat, 25 Mar 2023 23:08:17 -0500 Subject: [PATCH 07/14] 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 c68855842..c6dd0b216 100644 --- a/python/app.py +++ b/python/app.py @@ -3,7 +3,7 @@ @app.route("/") def hello(): - return "Hello World IslandGirl Here mar 25!" + return "Hello World IslandGirl Here mar!" if __name__ == "__main__": app.run(host='0.0.0.0', port=8000) From 5f5b95ef5cf6b11de71fce474776be3b1ca30831 Mon Sep 17 00:00:00 2001 From: rheacisa <118062469+rheacisa@users.noreply.github.com> Date: Sat, 25 Mar 2023 23:14:27 -0500 Subject: [PATCH 08/14] 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 c6dd0b216..fe6847a45 100644 --- a/python/app.py +++ b/python/app.py @@ -3,7 +3,7 @@ @app.route("/") def hello(): - return "Hello World IslandGirl Here mar!" + return "Hello World IslandGirl Here again mar!" if __name__ == "__main__": app.run(host='0.0.0.0', port=8000) From c433336397943596e28f45e079d48020e1ed2d47 Mon Sep 17 00:00:00 2001 From: rheacisa <118062469+rheacisa@users.noreply.github.com> Date: Sat, 25 Mar 2023 23:17:17 -0500 Subject: [PATCH 09/14] 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 c5bbaaf7a..30c3b7539 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -25,4 +25,4 @@ jobs: cd ./python docker login --username=rheacisa --password=${{ secrets.DOCKERPW }} docker image build -t rheacisa/gitops:hellov1.0 . - docker push cloud_user/gitops:hellov1.0 + docker push rheacisa/gitops:hellov1.0 From 9cfa4d51e9d2ee2fd6508b5e0a4f04c4ebf4ed4e Mon Sep 17 00:00:00 2001 From: rheacisa <118062469+rheacisa@users.noreply.github.com> Date: Sat, 25 Mar 2023 23:17:33 -0500 Subject: [PATCH 10/14] 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 fe6847a45..c6dd0b216 100644 --- a/python/app.py +++ b/python/app.py @@ -3,7 +3,7 @@ @app.route("/") def hello(): - return "Hello World IslandGirl Here again mar!" + return "Hello World IslandGirl Here mar!" if __name__ == "__main__": app.run(host='0.0.0.0', port=8000) From be5379c272f0a28f9c4dff3acba87367afea5586 Mon Sep 17 00:00:00 2001 From: rheacisa <118062469+rheacisa@users.noreply.github.com> Date: Sat, 25 Mar 2023 23:19:58 -0500 Subject: [PATCH 11/14] 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 30c3b7539..4164419a8 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 692806e8f89a14fa36890dae43adcffd438cee19 Mon Sep 17 00:00:00 2001 From: rheacisa <118062469+rheacisa@users.noreply.github.com> Date: Sat, 25 Mar 2023 23:33:09 -0500 Subject: [PATCH 12/14] 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 c6dd0b216..b3cd7e29a 100644 --- a/python/app.py +++ b/python/app.py @@ -3,7 +3,7 @@ @app.route("/") def hello(): - return "Hello World IslandGirl Here mar!" + return "Hello World IslandGirl update mar!" if __name__ == "__main__": app.run(host='0.0.0.0', port=8000) From f73052bd4256a758dd88a65963bd08f96ee8752e Mon Sep 17 00:00:00 2001 From: rheacisa <118062469+rheacisa@users.noreply.github.com> Date: Sun, 26 Mar 2023 00:00:50 -0500 Subject: [PATCH 13/14] 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..87c35db89 --- /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: acgtes/gitops:hellov1.1 From 9a8b8eff9793ee04a38f12b2e3ff9a82d7dd8e58 Mon Sep 17 00:00:00 2001 From: rheacisa <118062469+rheacisa@users.noreply.github.com> Date: Sun, 26 Mar 2023 00:01:33 -0500 Subject: [PATCH 14/14] 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..87c35db89 --- /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: acgtes/gitops:hellov1.1