From 28ca3aa5a2057e41b3949863eaf8ce23671fc2c5 Mon Sep 17 00:00:00 2001 From: Rahil0276 Date: Sat, 20 Jun 2026 12:58:34 +0530 Subject: [PATCH 1/9] Add CI workflow for building and pushing Docker image This workflow builds the DevBoard Frontend image and pushes it to Docker Hub after linting the code. --- .github/workflow/ci.yml | 43 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .github/workflow/ci.yml diff --git a/.github/workflow/ci.yml b/.github/workflow/ci.yml new file mode 100644 index 00000000..2aa31836 --- /dev/null +++ b/.github/workflow/ci.yml @@ -0,0 +1,43 @@ +# Goal: Build the image for DevBoard Frontend and Push to Docker Hub, after linting the code +name: CI + +on: + push: + branches: [master] + +jobs: + code-lint: + runs-on: ubuntu-latest + steps: + - name: Checkout Code + uses: actions/checkout@v7 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: 20 + cache: "npm" # Automates dependency caching for faster builds + + - name: Install Dependencies + run: npm install + + - name: Run Lint (Biome) + run: npm run lint + + build-and-push: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v7 + + - name: Docker Setup [Login] + uses: docker/login-action@v4 + with: + username: ${{ vars.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + + - name: Docker Build and Push + uses: docker/build-push-action@v7 + with: + push: true + tags: ${{ vars.DOCKERHUB_USERNAME }}/devboard-fe-master:latest From 90b62ce63ed4c0ee3005d7497c65d8e934a20c66 Mon Sep 17 00:00:00 2001 From: Rahil0276 Date: Sat, 20 Jun 2026 13:02:38 +0530 Subject: [PATCH 2/9] Fix formatting in Docker tags for CI workflow --- .github/workflow/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflow/ci.yml b/.github/workflow/ci.yml index 2aa31836..db9f3e66 100644 --- a/.github/workflow/ci.yml +++ b/.github/workflow/ci.yml @@ -40,4 +40,4 @@ jobs: uses: docker/build-push-action@v7 with: push: true - tags: ${{ vars.DOCKERHUB_USERNAME }}/devboard-fe-master:latest + tags: ${{ vars.DOCKERHUB_USERNAME }}/devboard-fe-master:latest From 4656b54f944beb36c85051bc9c639c4fa85d51c2 Mon Sep 17 00:00:00 2001 From: Swapnil Navsare <91-8275007524.312@zohomail.in> Date: Sun, 21 Jun 2026 15:03:48 +0530 Subject: [PATCH 3/9] Minor changes --- devboard | 1 + 1 file changed, 1 insertion(+) create mode 160000 devboard diff --git a/devboard b/devboard new file mode 160000 index 00000000..817f038f --- /dev/null +++ b/devboard @@ -0,0 +1 @@ +Subproject commit 817f038f7c23a302488c7d5d0257eceddd448573 From 5349ef28a9afa3257aca50eca06129fb7b5c4f7e Mon Sep 17 00:00:00 2001 From: Swapnil Navsare <91-8275007524.312@zohomail.in> Date: Sun, 21 Jun 2026 15:47:13 +0530 Subject: [PATCH 4/9] trigger ci/cd --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0866544f..f5352fae 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ There's no login and no AI here on purpose. The whole point is to *see how the pieces connect*. --- - +# trigger k liye ## What you need - **Docker** (with Docker Compose, which comes with Docker Desktop). @@ -224,3 +224,4 @@ The browser calls these as `/api/...`; the backend serves them at the root. ├── backend/ Go API (main.go + Dockerfile) └── init/postgres/ schema + example data, loaded on first start ``` +#sa \ No newline at end of file From 2796cb60d7b28a28609e77aa704329acb7932ea7 Mon Sep 17 00:00:00 2001 From: Swapnil Navsare <91-8275007524.312@zohomail.in> Date: Sun, 21 Jun 2026 15:52:37 +0530 Subject: [PATCH 5/9] CI/CD Trigger --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f5352fae..f06d376d 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ There's no login and no AI here on purpose. The whole point is to *see how the pieces connect*. --- -# trigger k liye +# trigger k liye k liye he bhai ## What you need - **Docker** (with Docker Compose, which comes with Docker Desktop). From 4fef8ac98c6aee7f183e06a3861c94fec8749947 Mon Sep 17 00:00:00 2001 From: Swapnil Navsare <91-8275007524.312@zohomail.in> Date: Sun, 21 Jun 2026 16:13:04 +0530 Subject: [PATCH 6/9] CI/CI Retrigger --- .github/workflows/cd.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 622de0b3..d60288e2 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -24,5 +24,5 @@ jobs: - name: Deploy the containers with Docker Compose run: | - docker compose pull - docker compose up -d + docker-compose pull + docker-compose up -d From 5ceb32fda1a177172e374a37f082bb50de29f1d6 Mon Sep 17 00:00:00 2001 From: Rahil0276 Date: Sun, 21 Jun 2026 16:23:49 +0530 Subject: [PATCH 7/9] Delete .github/workflows/matrix.yml --- .github/workflows/matrix.yml | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 .github/workflows/matrix.yml diff --git a/.github/workflows/matrix.yml b/.github/workflows/matrix.yml deleted file mode 100644 index 84a161ca..00000000 --- a/.github/workflows/matrix.yml +++ /dev/null @@ -1,33 +0,0 @@ -# Goal To install multiple versions of Go and do linting for multiple versions -name: Go Linter - -on: - workflow_dispatch: - -jobs: - code-format: - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - go: ['1.22','1.23','1.24'] - steps: - - name: Code Checkout - uses: actions/checkout@v7 - - - name: Setup Go - uses: actions/setup-go@v6 - with: - go-version: ${{ matrix.go }} - go-version-file: 'go.mod' - cache-dependency-path: go.sum - - - name: Run Go Formatter - run: go fmt - working-directory: backend - - - name: Run Go Vet - run: go vet - working-directory: backend - - \ No newline at end of file From cc36045203ef238846d739a6eff26f772b4d2cf5 Mon Sep 17 00:00:00 2001 From: Rahil0276 Date: Sun, 21 Jun 2026 16:24:23 +0530 Subject: [PATCH 8/9] Change CI branch from 'master' to 'advanced' --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0a9b6cdf..f5a8a5c1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,7 @@ name: CI on: push: - branches: [master] + branches: [advanced] jobs: frontend: From 790118b4fc3602711413a8c2387cecd7a35e1651 Mon Sep 17 00:00:00 2001 From: Rahil0276 Date: Sun, 21 Jun 2026 16:24:52 +0530 Subject: [PATCH 9/9] Update Docker Compose commands to use new syntax --- .github/workflows/cd.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index d60288e2..622de0b3 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -24,5 +24,5 @@ jobs: - name: Deploy the containers with Docker Compose run: | - docker-compose pull - docker-compose up -d + docker compose pull + docker compose up -d