Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/credebl/platform into qa-to…
Browse files Browse the repository at this point in the history
…-main-12-04-2024

Signed-off-by: tipusinghaw <[email protected]>
  • Loading branch information
tipusinghaw committed Apr 12, 2024
2 parents baa1f12 + ef673cb commit b2e5e1d
Show file tree
Hide file tree
Showing 13 changed files with 391 additions and 43 deletions.
264 changes: 264 additions & 0 deletions .github/ISSUE_TEMPLATE/DMP_2024.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,264 @@
name: DMP 2024 Project Template
description: List a new project for Dedicated Mentoring Program (DMP) 2024
title: '[DMP 2024]: '
labels: ['DMP 2024']
body:
- type: textarea
id: ticket-description
validations:
required: true
attributes:
label: Ticket Contents
value: |
## Description
[Provide a brief description of the feature, including why it is needed and what it will accomplish.]
- type: textarea
id: ticket-goals
validations:
required: true
attributes:
label: Goals & Mid-Point Milestone
description: List the goals of the feature. Please add the goals that must be achieved by Mid-point check-in i.e 1.5 months into the coding period.
value: |
## Goals
- [ ] [Goal 1]
- [ ] [Goal 2]
- [ ] [Goal 3]
- [ ] [Goal 4]
- [ ] [Goals Achieved By Mid-point Milestone]
- type: textarea
id: ticket-setup
attributes:
label: Setup/Installation
description: Please list or link setup or installation guide (if any)

- type: textarea
id: ticket-expected-outcome
attributes:
label: Expected Outcome
description: Describe in detail what the final product or result should look like and how it should behave.

- type: textarea
id: ticket-acceptance-criteria
attributes:
label: Acceptance Criteria
description: List the acceptance criteria for this feature.

- type: textarea
id: ticket-implementation-details
validations:
required: true
attributes:
label: Implementation Details
description: List any technical details about the proposed implementation, including any specific technologies that will be used.

- type: textarea
id: ticket-mockups
attributes:
label: Mockups/Wireframes
description: Include links to any visual aids, mockups, wireframes, or diagrams that help illustrate what the final product should look like. This is not always necessary, but can be very helpful in many cases.

- type: input
id: ticket-product
attributes:
label: Product Name
placeholder: Enter Product Name
validations:
required: true

- type: dropdown
id: ticket-organisation
attributes:
label: Organisation Name
description: Enter Organisation Name
multiple: false
options:
- Bandhu
- Blockster Labs (CREDEBL)
- Civis
- Dhwani
- Dhiway
- EGov
- EkShop Marketplace
- FIDE
- If Me
- Key Education Foundation
- Norwegian Meteorological Institute
- Planet Read
- Project Second Chance
- Reap Benefit
- SamagraX
- ShikshaLokam
- Tech4Dev
- Tekdi
- The Mifos Initiative
- Tibil
- Ushahidi
- Arghyam
- Piramal Swasthya Management Research Institute
validations:
required: true

- type: dropdown
id: ticket-governance-domain
attributes:
label: Domain
options:
- Healthcare
- Education
- Financial Inclusion
- Livelihoods
- Skilling
- Learning & Development
- Agriculture
- Service Delivery
- Open Source Library
- Water
- Identity & Digital Credentialing
validations:
required: true

- type: dropdown
id: ticket-technical-skills-required
attributes:
label: Tech Skills Needed
description: Select the technologies needed for this ticket (use Ctrl or Command to select multiple)
multiple: true
options:
- .NET
- Angular
- Artificial Intelligence
- ASP.NET
- Astro.js
- AWS
- Babel
- Bootstrap
- C#
- Chart.js
- CI/CD
- Computer Vision
- CORS
- cURL
- Cypress
- D3.js
- Database
- Debugging
- Deno
- Design
- DevOps
- Django
- Docker
- Electron
- ESLint
- Express.js
- Feature
- Flask
- Go
- GraphQL
- HTML
- Ionic
- Jest
- Java
- JavaScript
- Jenkins
- JWT
- Kubernetes
- Laravel
- Machine Learning
- Maintenance
- Markdown
- Material-UI
- Microservices
- MongoDB
- Mobile
- Mockups
- Mocha
- Natural Language Processing
- NATS Messaging
- NestJS
- Next.js
- Node.js
- NUnit
- OAuth
- Performance Improvement
- Prettier
- Python
- Question
- React
- React Native
- Redux
- RESTful APIs
- Ruby
- Ruby on Rails
- Rust
- Scala
- Security
- Selenium
- SEO
- Serverless
- Solidity
- Spring Boot
- SQL
- Swagger
- Tailwind CSS
- Test
- Testing Library
- Three.js
- TypeScript
- UI/UX/Design
- Virtual Reality
- Vue.js
- WebSockets
- Webpack
- Other
validations:
required: true

- type: textarea
id: ticket-mentors
attributes:
label: Mentor(s)
description: Please tag relevant mentors for the ticket
validations:
required: true

- type: dropdown
id: ticket-category
attributes:
label: Category
description: Choose the categories that best describe your ticket
multiple: true
options:
- API
- Analytics
- Accessibility
- Backend
- Breaking Change
- Beginner Friendly
- Configuration
- CI/CD
- Database
- Data Science
- Deprecation
- Documentation
- Deployment
- Frontend
- Internationalization
- Localization
- Machine Learning
- Maintenance
- Mobile
- Performance Improvement
- Question
- Refactoring
- Research
- Needs Reproduction
- SEO
- Security
- Testing
- AI
- Other
validations:
required: true
20 changes: 11 additions & 9 deletions Dockerfiles/Dockerfile.agent-provisioning
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Stage 1: Build the application
FROM node:18-alpine as build
# RUN npm install -g pnpm
# Install AWS CLI
# RUN apk update
# RUN apk add openssh-client
# RUN apk update
RUN addgroup -S nonroot \
&& adduser -S nonroot -G nonroot

USER nonroot


# RUN apk add aws-cli
RUN set -eux \
&& apk --no-cache add \
Expand All @@ -31,7 +33,7 @@ WORKDIR /app
COPY package.json ./

# Install dependencies
RUN pnpm i
RUN pnpm i --ignore-scripts

# Copy the rest of the application code
COPY . .
Expand All @@ -45,10 +47,10 @@ RUN pnpm run build agent-provisioning

# Stage 2: Create the final image
FROM node:18-alpine as prod
# Install AWS CLI
# RUN apk update
# RUN apk add openssh-client
# RUN apk update
RUN addgroup -S nonroot \
&& adduser -S nonroot -G nonroot

USER nonroot
# RUN apk add aws-cli
RUN set -eux \
&& apk --no-cache add \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfiles/Dockerfile.agent-service
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ WORKDIR /app
COPY package.json ./

# Install dependencies
RUN pnpm i
RUN pnpm i --ignore-scripts

# Copy the rest of the application code
COPY . .
Expand Down
14 changes: 11 additions & 3 deletions Dockerfiles/Dockerfile.api-gateway
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Stage 1: Build the application
FROM node:18-alpine as build
RUN npm install -g pnpm
RUN addgroup -S nonroot \
&& adduser -S nonroot -G nonroot

USER nonroot
RUN npm install --ignore-scripts -g pnpm
# Set the working directory
WORKDIR /app

Expand All @@ -9,7 +13,7 @@ COPY package.json ./
# COPY package-lock.json ./

# Install dependencies
RUN pnpm i
RUN pnpm i --ignore-scripts

# Copy the rest of the application code
COPY . .
Expand All @@ -20,7 +24,11 @@ RUN pnpm run build api-gateway

# Stage 2: Create the final image
FROM node:18-alpine
RUN npm install -g pnpm
RUN addgroup -S nonroot \
&& adduser -S nonroot -G nonroot

USER nonroot
RUN npm install --ignore-scripts -g pnpm
# Set the working directory
WORKDIR /app

Expand Down
14 changes: 11 additions & 3 deletions Dockerfiles/Dockerfile.connection
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Stage 1: Build the application
FROM node:18-alpine as build
RUN npm install -g pnpm
RUN addgroup -S nonroot \
&& adduser -S nonroot -G nonroot

USER nonroot
RUN npm install --ignore-scripts -g pnpm
# Set the working directory
WORKDIR /app

Expand All @@ -9,7 +13,7 @@ COPY package.json ./
#COPY package-lock.json ./

# Install dependencies
RUN pnpm i
RUN pnpm i --ignore-scripts

# Copy the rest of the application code
COPY . .
Expand All @@ -20,7 +24,11 @@ RUN pnpm run build connection

# Stage 2: Create the final image
FROM node:18-alpine
RUN npm install -g pnpm
RUN addgroup -S nonroot \
&& adduser -S nonroot -G nonroot

USER nonroot
RUN npm install --ignore-scripts -g pnpm
# Set the working directory
WORKDIR /app

Expand Down
Loading

0 comments on commit b2e5e1d

Please sign in to comment.