From 0a336b289f0e19e6efa86279a05dae332e1bab30 Mon Sep 17 00:00:00 2001 From: sinan Date: Fri, 27 Mar 2026 20:00:53 +0530 Subject: [PATCH 1/8] Added self introduction in README.md --- sinanm@mulearn/task-1/README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 sinanm@mulearn/task-1/README.md diff --git a/sinanm@mulearn/task-1/README.md b/sinanm@mulearn/task-1/README.md new file mode 100644 index 00000000..f7269664 --- /dev/null +++ b/sinanm@mulearn/task-1/README.md @@ -0,0 +1,12 @@ +\# Self Introduction + + + +Hello! + +My name is SINAN M and I am excited to be part of the mulearn Shipyard Foundations journey. I study at M.DASAN INSTITUTE OF TECHNOLOGY in B.Tech CSE(CYBER SECURITY).I like to learn and explore new things + + + + + From ec26ed2d828ae8e26efd4043c061676e6674bd2a Mon Sep 17 00:00:00 2001 From: sinan Date: Fri, 27 Mar 2026 20:07:03 +0530 Subject: [PATCH 2/8] Added self introduction in README.md --- sinanm@mulearn/task-1/README.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/sinanm@mulearn/task-1/README.md b/sinanm@mulearn/task-1/README.md index f7269664..8fca02b3 100644 --- a/sinanm@mulearn/task-1/README.md +++ b/sinanm@mulearn/task-1/README.md @@ -2,11 +2,5 @@ -Hello! - -My name is SINAN M and I am excited to be part of the mulearn Shipyard Foundations journey. I study at M.DASAN INSTITUTE OF TECHNOLOGY in B.Tech CSE(CYBER SECURITY).I like to learn and explore new things - - - - +Hello! My name is SINAN M and I am excited to be part of the mulearn Shipyard Foundations journey. I study at M.DASAN INSTITUTE OF TECHNOLOGY in B.Tech CSE(CYBER SECURITY).I like to learn and explore new things From ad0bbc86d7415bf965d5a17aeb316a20790f4f19 Mon Sep 17 00:00:00 2001 From: sinan Date: Mon, 30 Mar 2026 22:55:32 +0530 Subject: [PATCH 3/8] tested the docker file and it is working fine. I have added the script.py file which contains the code to run the flask app and also added the .gitattributes file to ignore the __pycache__ folder. --- sinanm@mulearn/task-2/.gitattributes | 2 ++ sinanm@mulearn/task-2/Dockerfile | 7 +++++++ sinanm@mulearn/task-2/script.py | 7 +++++++ 3 files changed, 16 insertions(+) create mode 100644 sinanm@mulearn/task-2/.gitattributes create mode 100644 sinanm@mulearn/task-2/Dockerfile create mode 100644 sinanm@mulearn/task-2/script.py diff --git a/sinanm@mulearn/task-2/.gitattributes b/sinanm@mulearn/task-2/.gitattributes new file mode 100644 index 00000000..dfe07704 --- /dev/null +++ b/sinanm@mulearn/task-2/.gitattributes @@ -0,0 +1,2 @@ +# Auto detect text files and perform LF normalization +* text=auto diff --git a/sinanm@mulearn/task-2/Dockerfile b/sinanm@mulearn/task-2/Dockerfile new file mode 100644 index 00000000..95ba808a --- /dev/null +++ b/sinanm@mulearn/task-2/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.10-slim + +WORKDIR /app + +COPY . /app + +CMD ["python", "script.py"] \ No newline at end of file diff --git a/sinanm@mulearn/task-2/script.py b/sinanm@mulearn/task-2/script.py new file mode 100644 index 00000000..8395f612 --- /dev/null +++ b/sinanm@mulearn/task-2/script.py @@ -0,0 +1,7 @@ +import time + +print("🚀 Container Started") + +while True: + print("Hello World") + time.sleep(5) \ No newline at end of file From 4a5d0296177497d98c2bede70507851d799419fd Mon Sep 17 00:00:00 2001 From: sinan Date: Fri, 3 Apr 2026 21:03:55 +0530 Subject: [PATCH 4/8] Added Task-3 website --- sinanm@mulearn/task-3/index.html | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 sinanm@mulearn/task-3/index.html diff --git a/sinanm@mulearn/task-3/index.html b/sinanm@mulearn/task-3/index.html new file mode 100644 index 00000000..89837355 --- /dev/null +++ b/sinanm@mulearn/task-3/index.html @@ -0,0 +1,10 @@ + + + + CI/CD Demo + + +

🚀 My CI/CD Pipeline Works!

+

Hosted using GitHub Actions + GitHub Pages.

+ + \ No newline at end of file From 592589b7250e2d5a0e2457be8e91ef3710b0c575 Mon Sep 17 00:00:00 2001 From: sinan Date: Fri, 3 Apr 2026 21:10:56 +0530 Subject: [PATCH 5/8] Added Task-3 CI/CD pipeline --- .github/workflows/deploy.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 00000000..0a366bf3 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,30 @@ +name: Deploy Website to GitHub Pages + +on: + push: + branches: + - main + +permissions: + contents: read + pages: write + id-token: write + +jobs: + deploy: + runs-on: ubuntu-latest + + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + + - name: Setup Pages + uses: actions/configure-pages@v5 + + - name: Upload Artifact + uses: actions/upload-pages-artifact@v3 + with: + path: ./sinanm@mulearn/task-3 + + - name: Deploy to GitHub Pages + uses: actions/deploy-pages@v4 \ No newline at end of file From c5f97669e5f0ab9ca38741d583221587c8b02cff Mon Sep 17 00:00:00 2001 From: sinan Date: Fri, 3 Apr 2026 21:17:05 +0530 Subject: [PATCH 6/8] created submission.md and added the Mulearn id --- sinanm@mulearn/task-3/submission.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 sinanm@mulearn/task-3/submission.md diff --git a/sinanm@mulearn/task-3/submission.md b/sinanm@mulearn/task-3/submission.md new file mode 100644 index 00000000..ee8fe0fa --- /dev/null +++ b/sinanm@mulearn/task-3/submission.md @@ -0,0 +1,4 @@ +# CI/CD Assignment Submission + +Name: Sinan M +muid: sinanm@mulearn \ No newline at end of file From 93ea5d360c88422c9f987243db79d0bee31c573d Mon Sep 17 00:00:00 2001 From: sinan Date: Fri, 3 Apr 2026 21:24:51 +0530 Subject: [PATCH 7/8] updated submission.md --- sinanm@mulearn/task-3/submission.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/sinanm@mulearn/task-3/submission.md b/sinanm@mulearn/task-3/submission.md index ee8fe0fa..924af359 100644 --- a/sinanm@mulearn/task-3/submission.md +++ b/sinanm@mulearn/task-3/submission.md @@ -1,4 +1,13 @@ # CI/CD Assignment Submission Name: Sinan M -muid: sinanm@mulearn \ No newline at end of file +muid: sinanm@mulearn + +## 🔗 Repository Link +https://github.com/sinan404/Shipyard-Foundations + +## 🌐 Live Website +https://sinan404.github.io/Shipyard-Foundations/ + +## 🌐 Git Actions Link +https://github.com/sinan404/Shipyard-Foundations/actions \ No newline at end of file From c267494e17532d8d533f5564c129cc11a2b2881a Mon Sep 17 00:00:00 2001 From: sinan Date: Tue, 7 Apr 2026 23:15:07 +0530 Subject: [PATCH 8/8] Add deployment and service YAML files --- sinanm@mulearn/task-4/deployment.yaml | 19 +++++++++++++++++++ sinanm@mulearn/task-4/service.yaml | 13 +++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 sinanm@mulearn/task-4/deployment.yaml create mode 100644 sinanm@mulearn/task-4/service.yaml diff --git a/sinanm@mulearn/task-4/deployment.yaml b/sinanm@mulearn/task-4/deployment.yaml new file mode 100644 index 00000000..439b4a81 --- /dev/null +++ b/sinanm@mulearn/task-4/deployment.yaml @@ -0,0 +1,19 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: nginx-deployment +spec: + replicas: 1 + selector: + matchLabels: + app: nginx + template: + metadata: + labels: + app: nginx + spec: + containers: + - name: nginx + image: nginx:latest + ports: + - containerPort: 80 \ No newline at end of file diff --git a/sinanm@mulearn/task-4/service.yaml b/sinanm@mulearn/task-4/service.yaml new file mode 100644 index 00000000..ca668397 --- /dev/null +++ b/sinanm@mulearn/task-4/service.yaml @@ -0,0 +1,13 @@ +apiVersion: v1 +kind: Service +metadata: + name: nginx-service +spec: + type: NodePort + selector: + app: nginx + ports: + - protocol: TCP + port: 80 + targetPort: 80 + nodePort: 30007 \ No newline at end of file