Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V1 #251

Merged
merged 32 commits into from
Oct 28, 2023
Merged

V1 #251

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
9f30b4c
Create CI - Tests - Auth Service.yml
alwinsimon Oct 28, 2023
da4fc7b
Configured CI Workflow for auth service tests.
alwinsimon Oct 28, 2023
a1c3b3c
Merge pull request #236 from alwinsimon/main
alwinsimon Oct 28, 2023
175b905
Merge pull request #237 from alwinsimon/v1
alwinsimon Oct 28, 2023
9f78a3a
Added Test Script for CI Testing.
alwinsimon Oct 28, 2023
44fac41
Merge pull request #238 from alwinsimon/v1-auth
alwinsimon Oct 28, 2023
18dadae
Merge pull request #239 from alwinsimon/v1
alwinsimon Oct 28, 2023
105be2b
Added script for CI Testing.
alwinsimon Oct 28, 2023
f100ce1
Merge pull request #240 from alwinsimon/v1-orders
alwinsimon Oct 28, 2023
115ae20
Merge pull request #241 from alwinsimon/v1
alwinsimon Oct 28, 2023
263f398
Added script for CI Testing.
alwinsimon Oct 28, 2023
f837454
Merge pull request #242 from alwinsimon/v1-payments
alwinsimon Oct 28, 2023
4b75fc8
Merge pull request #243 from alwinsimon/v1
alwinsimon Oct 28, 2023
ba8b682
Added script for CI Testing.
alwinsimon Oct 28, 2023
bb10a4b
Merge pull request #244 from alwinsimon/v1-tickets
alwinsimon Oct 28, 2023
01326ea
Merge pull request #245 from alwinsimon/v1
alwinsimon Oct 28, 2023
c460d43
For Testing Auth CI Test.
alwinsimon Oct 28, 2023
0ccaf12
Testing Success.
alwinsimon Oct 28, 2023
72e7a61
Updated Title.
alwinsimon Oct 28, 2023
1a33335
Configured CI Tests Workflow for Orders service.
alwinsimon Oct 28, 2023
ac886f3
Modified Job name.
alwinsimon Oct 28, 2023
30ea838
Configured CI Tests Workflow for Payments service.
alwinsimon Oct 28, 2023
321c341
File name fixed.
alwinsimon Oct 28, 2023
fb1a83f
Configured CI Tests Workflow for Tickets Service.
alwinsimon Oct 28, 2023
8d32333
Added configuration to run tests path specific.
alwinsimon Oct 28, 2023
b967dbc
Merge pull request #247 from alwinsimon/V1-CI-CD
alwinsimon Oct 28, 2023
7bb6322
Made a change to check Test Status.
alwinsimon Oct 28, 2023
e2d822f
Updated test condition.
alwinsimon Oct 28, 2023
cf1daac
Test Performing as Expected - Reverting change.
alwinsimon Oct 28, 2023
52461a4
Merge pull request #248 from alwinsimon/V1-CI-CD
alwinsimon Oct 28, 2023
6562521
Added CD config file for Auth Service.
alwinsimon Oct 28, 2023
520c6cb
Merge pull request #250 from alwinsimon/V1-CI-CD
alwinsimon Oct 28, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/CD - Deploy - Auth Service.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# ========================================= CD - Deploy - Auth Service =========================================

name: CD - Deploy - Auth Service

on:
push:
branches:
- production
paths:
- "auth/**"

jobs:
Auth-Service-CD-Pipeline:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- run: cd auth && docker build -t alwinsimon/auth .
- run: docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
- run: docker push alwinsimon/auth
16 changes: 16 additions & 0 deletions .github/workflows/CI - Tests - Auth Service.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# ========================================= CI - Tests - Auth Service =========================================

name: CI - Tests - Auth Service

on:
pull_request:
paths:
- "auth/**"

jobs:
Auth-Service-Pre-Integration-Tests:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- run: cd auth && npm install && npm run test:ci
16 changes: 16 additions & 0 deletions .github/workflows/CI - Tests - Orders Service.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# ========================================= CI - Tests - Orders Service =========================================

name: CI - Tests - Orders Service

on:
pull_request:
paths:
- "orders/**"

jobs:
Orders-Service-Pre-Integration-Tests:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- run: cd orders && npm install && npm run test:ci
16 changes: 16 additions & 0 deletions .github/workflows/CI - Tests - Payments Service.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# ========================================= CI - Tests - Payments Service =========================================

name: CI - Tests - Payments Service

on:
pull_request:
paths:
- "payments/**"

jobs:
Payments-Service-Pre-Integration-Tests:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- run: cd payments && npm install && npm run test:ci
16 changes: 16 additions & 0 deletions .github/workflows/CI - Tests - Tickets Service.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# ========================================= CI - Tests - Tickets Service =========================================

name: CI - Tests - Tickets Service

on:
pull_request:
paths:
- "tickets/**"

jobs:
Tickets-Service-Pre-Integration-Tests:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- run: cd tickets && npm install && npm run test:ci
3 changes: 2 additions & 1 deletion auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"main": "index.js",
"scripts": {
"start": "nodemon --watch 'src/**/*.ts' --exec 'ts-node' src/index.ts",
"test": "jest --watchAll --no-cache"
"test": "jest --watchAll --no-cache",
"test:ci": "jest"
},
"jest": {
"preset": "ts-jest",
Expand Down
3 changes: 2 additions & 1 deletion orders/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"main": "index.js",
"scripts": {
"start": "nodemon --watch 'src/**/*.ts' --exec 'ts-node' src/index.ts",
"test": "jest --watchAll --no-cache"
"test": "jest --watchAll --no-cache",
"test:ci": "jest"
},
"jest": {
"preset": "ts-jest",
Expand Down
3 changes: 2 additions & 1 deletion payments/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"main": "index.js",
"scripts": {
"start": "nodemon --watch 'src/**/*.ts' --exec 'ts-node' src/index.ts",
"test": "jest --watchAll --no-cache"
"test": "jest --watchAll --no-cache",
"test:ci": "jest"
},
"jest": {
"preset": "ts-jest",
Expand Down
3 changes: 2 additions & 1 deletion tickets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"main": "index.js",
"scripts": {
"start": "nodemon --watch 'src/**/*.ts' --exec 'ts-node' src/index.ts",
"test": "jest --watchAll --no-cache"
"test": "jest --watchAll --no-cache",
"test:ci": "jest"
},
"jest": {
"preset": "ts-jest",
Expand Down