Skip to content

Conversation

@upayanmazumder
Copy link
Member

This pull request introduces significant updates, including a new Docker-based deployment pipeline, enhancements to the API backend, and project documentation improvements. The changes aim to streamline deployment, enhance functionality, and improve code maintainability.

Deployment and CI/CD Enhancements:

  • Added a GitHub Actions workflow (.github/workflows/docker-image.yml) to build and push Docker images to GHCR, supporting multi-platform builds for linux/amd64 and linux/arm64.
  • Created a multi-stage Dockerfile to optimize the build process, including dependency installation, application build, and runtime setup. It also includes support for Python and Kubernetes CLI (kubectl).

Backend API Development:

  • Introduced a new Express-based API (api/src/api.ts) with middleware for session management, logging, CORS, and authentication. Includes route handlers for authentication, user management, and application-related operations.
  • Added OAuth strategies for Google and GitHub authentication (api/src/auth/passport/google.strategy.ts, api/src/auth/passport/github.strategy.ts), and a local authentication strategy (api/src/auth/local.strategy.ts). [1] [2] [3]
  • Implemented role-based access control middleware (api/src/auth/role.middleware.ts) for admin and superadmin access.

Project Configuration and Tooling:

  • Updated .vscode/settings.json to include custom spell-check words and workspace color settings.
  • Added a nodemon.json file for development with TypeScript, enabling hot-reloading for src files.
  • Introduced a package.json file for the API, defining dependencies, scripts, and TypeScript support.

Documentation and Metadata:

  • Updated the README.md with the project title ("kargo"), a description of its purpose as an AI-augmented deployment platform, and updated contributor details. [1] [2]
  • Updated the TODO file to track progress on features like Docker image validation and live status.

Cleanup and Maintenance:

  • Removed the commit-msg Git hook, which enforced conventional commit message formatting.
  • Added .gitignore entries for dist, node_modules, __pycache__, and other generated files in the API and AI directories. [1] [2]

upayanmazumder and others added 30 commits May 28, 2025 11:35
- Added user model for storing user data.
- Integrated passport for authentication with Google and local strategies.
- Created authentication routes for registration, login, logout, and Google OAuth.
- Configured session management with express-session and cookie-parser.
- Updated package.json to include necessary dependencies and types.
- Modified app.ts to set up middleware for session and passport.
- Added environment variables for Google OAuth and session configuration.
dependabot bot and others added 29 commits August 20, 2025 12:58
…dates

Bumps the npm_and_yarn group with 3 updates in the /api directory: [on-headers](https://github.com/jshttp/on-headers), [express-session](https://github.com/expressjs/session) and [morgan](https://github.com/expressjs/morgan).


Updates `on-headers` from 1.0.2 to 1.1.0
- [Release notes](https://github.com/jshttp/on-headers/releases)
- [Changelog](https://github.com/jshttp/on-headers/blob/master/HISTORY.md)
- [Commits](jshttp/on-headers@v1.0.2...v1.1.0)

Updates `express-session` from 1.18.1 to 1.18.2
- [Release notes](https://github.com/expressjs/session/releases)
- [Changelog](https://github.com/expressjs/session/blob/master/HISTORY.md)
- [Commits](expressjs/session@v1.18.1...v1.18.2)

Updates `morgan` from 1.10.0 to 1.10.1
- [Release notes](https://github.com/expressjs/morgan/releases)
- [Changelog](https://github.com/expressjs/morgan/blob/master/HISTORY.md)
- [Commits](expressjs/morgan@1.10.0...1.10.1)

---
updated-dependencies:
- dependency-name: on-headers
  dependency-version: 1.1.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: express-session
  dependency-version: 1.18.2
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: morgan
  dependency-version: 1.10.1
  dependency-type: direct:production
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <[email protected]>
…date

Bumps the npm_and_yarn group with 1 update in the /api directory: [brace-expansion](https://github.com/juliangruber/brace-expansion).


Updates `brace-expansion` from 1.1.11 to 1.1.12
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](juliangruber/brace-expansion@1.1.11...v1.1.12)

Updates `brace-expansion` from 2.0.1 to 2.0.2
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](juliangruber/brace-expansion@1.1.11...v1.1.12)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 1.1.12
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: brace-expansion
  dependency-version: 2.0.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps the npm_and_yarn group with 1 update in the /api directory: [form-data](https://github.com/form-data/form-data).


Updates `form-data` from 4.0.2 to 4.0.4
- [Release notes](https://github.com/form-data/form-data/releases)
- [Changelog](https://github.com/form-data/form-data/blob/master/CHANGELOG.md)
- [Commits](form-data/form-data@v4.0.2...v4.0.4)

---
updated-dependencies:
- dependency-name: form-data
  dependency-version: 4.0.4
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps the npm_and_yarn group with 1 update in the /api directory: [next](https://github.com/vercel/next.js).


Updates `next` from 15.3.2 to 15.5.0
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](vercel/next.js@v15.3.2...v15.5.0)

---
updated-dependencies:
- dependency-name: next
  dependency-version: 15.5.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <[email protected]>
…_yarn/api/npm_and_yarn-099964817b

chore(deps): bump next from 15.3.2 to 15.5.0 in /api in the npm_and_yarn group across 1 directory
…_yarn/api/npm_and_yarn-c22e25d29b

chore(deps): bump the npm_and_yarn group across 1 directory with 1 update
…_yarn/api/npm_and_yarn-e04d5d616f

chore(deps): bump form-data from 4.0.2 to 4.0.4 in /api in the npm_and_yarn group across 1 directory
…_yarn/api/npm_and_yarn-2c2cf9d17b

chore(deps): bump the npm_and_yarn group across 1 directory with 3 updates
docs: add name to contributors in README
… handling

- Standardized import statements to use double quotes for consistency.
- Introduced an `available` property to track Kubernetes client availability.
- Enhanced error logging with more descriptive messages.
- Updated methods to throw errors with clearer messages for better debugging.
- Refactored volume and PVC generation functions for improved readability.
- Cleaned up whitespace and formatting across various functions for better code clarity.
- Ensured consistent handling of resource names and namespaces in delete operations.
- Improved the generation of Kubernetes manifests by adding deployment names and unique IDs to volumes.
@dk-a-dev dk-a-dev merged commit 71b1d90 into GDGVIT:dev Aug 29, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants