Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
76b3e60
refactor: update CI
Hownameee Apr 13, 2026
e958c20
feat: build and push image to dockerhub
Hownameee Apr 13, 2026
c2657bb
feat: change charts repo
Hownameee Apr 17, 2026
679d3ad
fix: postgre deploy
Hownameee Apr 17, 2026
28fa3e1
feat: add yq and storageclass
Hownameee Apr 17, 2026
136b807
fix: change permission
Hownameee Apr 17, 2026
b665ef5
chore: cli for deploy yas
Hownameee Apr 17, 2026
3b013fe
chore: comment unused
Hownameee Apr 17, 2026
c221ae2
fix: kafka version
Hownameee Apr 18, 2026
0ae40ab
fix: keycloak port
Hownameee Apr 18, 2026
1949940
fix: db in payment
Hownameee Apr 18, 2026
142b02d
feat: complete deployment
Hownameee Apr 18, 2026
03fb09f
fix: comment sql
Hownameee Apr 19, 2026
799b132
update
Hownameee Apr 20, 2026
949cefa
feat: add deployment for CD
Hownameee Apr 20, 2026
fd7e28d
fix: correct Redis service hostname to include NS_PREFIX in service name
Hownameee Apr 20, 2026
2a04e5e
update
Hownameee Apr 22, 2026
121c06a
update
Hownameee Apr 22, 2026
4bc3d93
update
Hownameee Apr 23, 2026
d2f5640
update
Hownameee Apr 23, 2026
ca57972
fix
Hownameee Apr 23, 2026
0934210
fix
Hownameee Apr 23, 2026
56f252b
fix
Hownameee Apr 23, 2026
717970f
feat: update jenkinsfile
Hownameee Apr 26, 2026
ff3f786
feat: add jenkinsfile ci
Melyenn May 12, 2026
e6b8cee
fix: jenkinsfile ci
Melyenn May 12, 2026
82703ef
feat: add jenkinsfile ci
Melyenn May 12, 2026
38f7e76
feat: add argocd set up script
ltpisme May 12, 2026
be0ca48
fix: display ArgoCD UI
ltpisme May 13, 2026
c7d3289
test: ci media
Melyenn May 12, 2026
336008e
feat: add jenkinsfile ci
Melyenn May 12, 2026
b27936a
test: ci media
Melyenn May 12, 2026
c4ddb9d
test: ci media
Melyenn May 12, 2026
37016c4
fix: jenkinsfile ci
Melyenn May 12, 2026
b91f5ea
test: ci media
Melyenn May 12, 2026
571689a
test: ci media
Melyenn May 12, 2026
36ba2da
test: ci media
Melyenn May 12, 2026
56481c2
add: ci jenkins
Melyenn May 12, 2026
45adb92
check: delivery
Melyenn May 12, 2026
d545cca
check: backoffice-bff, cart
Melyenn May 12, 2026
3edd73d
first commit
Melyenn May 13, 2026
bda70e8
fix: remove large binary file
May 13, 2026
f8b5e0a
add Jenkinsfile-argocd for GitOps deployment
Melyenn May 13, 2026
39353ad
fix: jenkinsfile argo cd
Melyenn May 13, 2026
a5530fd
fix github commit + push
Melyenn May 13, 2026
0436efe
fix repo in argocd
Melyenn May 13, 2026
1ef6a1b
fix: jenkinsfile ci + argocd . add trigger
Melyenn May 14, 2026
543e897
test: ci media
Melyenn May 12, 2026
f58a538
feat: add jenkinsfile ci
Melyenn May 12, 2026
fa89dec
feat: add jenkinsfile ci
Melyenn May 12, 2026
e0fc37e
test: ci media
Melyenn May 12, 2026
92058ce
test: ci media
Melyenn May 12, 2026
3fe8c1c
test: ci media
Melyenn May 12, 2026
b1507a9
test: ci media
Melyenn May 12, 2026
fe0109d
test: ci media
Melyenn May 12, 2026
3fdcf76
test: ci media
Melyenn May 12, 2026
62cca80
test: ci media
Melyenn May 12, 2026
57cb6bc
test: ci media
Melyenn May 12, 2026
e2d497a
test: ci media
Melyenn May 12, 2026
f2609e5
test: ci media
Melyenn May 12, 2026
741fd0d
test: ci media
Melyenn May 12, 2026
f3c07c8
test: ci media
Melyenn May 12, 2026
d6cec90
test: ci media
Melyenn May 12, 2026
441e9ef
test: ci media
Melyenn May 12, 2026
d243f7e
test: ci media
Melyenn May 12, 2026
b6b5097
test: ci media
Melyenn May 12, 2026
69f038c
test: ci media
Melyenn May 12, 2026
fae5dfc
test: ci media
Melyenn May 12, 2026
3fd6137
test: ci media
Melyenn May 12, 2026
4bf16ad
test: ci media
Melyenn May 12, 2026
16beb65
test: ci media
Melyenn May 12, 2026
655fb35
test: ci media
Melyenn May 12, 2026
6c1a3c3
test: ci media
Melyenn May 12, 2026
70bf19a
add: ci jenkins
Melyenn May 12, 2026
a13305d
add Jenkinsfile-argocd for GitOps deployment
Melyenn May 13, 2026
d11e936
fix: jenkinsfile argo cd
Melyenn May 13, 2026
c538fe1
fix github commit + push
Melyenn May 13, 2026
36480f0
fix repo in argocd
Melyenn May 13, 2026
9e9dedc
fix: jenkinsfile ci + argocd . add trigger
Melyenn May 14, 2026
c67884a
test: ci media
Melyenn May 12, 2026
9894433
test: ci media
Melyenn May 12, 2026
0ea2056
test: ci media
Melyenn May 12, 2026
4d7b3dc
test: ci media
Melyenn May 12, 2026
cda0953
dong bo jenkins ci
Melyenn May 14, 2026
4fdc551
dong bo jenkins ci
Melyenn May 14, 2026
c0ff13f
test media
Melyenn May 14, 2026
e78b78c
test media
Melyenn May 14, 2026
36a2ce6
doi docker hub user
Melyenn May 14, 2026
e42be04
test media
Melyenn May 14, 2026
4f19e8e
argocd jenkins file
Melyenn May 14, 2026
1a38b8b
test media
Melyenn May 14, 2026
033798c
test media
Melyenn May 14, 2026
9f389bd
change ci + argocd
Melyenn May 14, 2026
f26a24b
chores: fix ci
ltpisme May 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 0 additions & 6 deletions .github/workflows/actions/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@ runs:
with:
java-version: '21'
distribution: 'adopt'
- name: Cache SonarCloud packages
uses: actions/cache@v4
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache Maven packages
uses: actions/cache@v4
with:
Expand Down
57 changes: 15 additions & 42 deletions .github/workflows/backoffice-bff-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: backoffice-bff service ci

on:
push:
branches: [ "main" ]
paths:
- "backoffice-bff/**"
- ".github/workflows/actions/action.yaml"
Expand All @@ -20,54 +19,28 @@ on:
jobs:
Build:
runs-on: ubuntu-latest
env:
FROM_ORIGINAL_REPOSITORY: ${{ github.event.pull_request.head.repo.full_name == github.repository || github.ref == 'refs/heads/main' }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- uses: ./.github/workflows/actions
- name: Run Maven Checkstyle
if: ${{ env.FROM_ORIGINAL_REPOSITORY == 'true' }}
run: mvn checkstyle:checkstyle -f backoffice-bff -Dcheckstyle.output.file=backoffice-bff-checkstyle-result.xml
- name: Upload Checkstyle Result
if: ${{ env.FROM_ORIGINAL_REPOSITORY == 'true' }}
uses: jwgmeligmeyling/checkstyle-github-action@master
with:
path: '**/backoffice-bff-checkstyle-result.xml'
- name: Run Maven Verify
run: mvn clean verify -f backoffice-bff
- name: Analyze with sonar cloud
if: ${{ env.FROM_ORIGINAL_REPOSITORY == 'true' }}
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: mvn org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -f backoffice-bff
- name: OWASP Dependency Check
if: ${{ env.FROM_ORIGINAL_REPOSITORY == 'true' }}
uses: dependency-check/Dependency-Check_Action@main
env:
JAVA_HOME: /opt/jdk
with:
project: 'yas'
path: '.'
format: 'HTML'
- name: Upload OWASP Dependency Check results
if: ${{ env.FROM_ORIGINAL_REPOSITORY == 'true' }}
uses: actions/upload-artifact@master
with:
name: OWASP Dependency Check Report
path: ${{github.workspace}}/reports
- name: Log in to the Container registry
if: ${{ github.ref == 'refs/heads/main' }}
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker images
if: ${{ github.ref == 'refs/heads/main' }}
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Set Docker Tag
run: |
if [ "${{ github.ref_name }}" == "main" ]; then
echo "DOCKER_TAG=latest" >> $GITHUB_ENV
else
echo "DOCKER_TAG=${{ github.sha }}" >> $GITHUB_ENV
fi

- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
context: ./backoffice-bff
context: ./backofficehow to use nvida gpu free in kaggle-bff
push: true
tags: ghcr.io/nashtech-garage/yas-backoffice-bff:latest
tags: ${{ secrets.DOCKERHUB_USERNAME }}/yas-backoffice-bff:${{ env.DOCKER_TAG }}
59 changes: 14 additions & 45 deletions .github/workflows/backoffice-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: backoffice service ci

on:
push:
branches: [ "main" ]
paths:
- "backoffice/**"
- ".github/workflows/actions/action.yaml"
Expand All @@ -18,12 +17,8 @@ on:
jobs:
Build:
runs-on: ubuntu-latest
env:
FROM_ORIGINAL_REPOSITORY: ${{ github.event.pull_request.head.repo.full_name == github.repository || github.ref == 'refs/heads/main' }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- uses: actions/setup-node@v4
with:
node-version: 20
Expand All @@ -38,49 +33,23 @@ jobs:
- run: npm audit --omit=dev
continue-on-error: true
working-directory: backoffice
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@0.24.0
with:
scan-type: 'fs'
scan-ref: './backoffice'
format: 'sarif'
output: 'trivy-results.sarif'
- name: SonarCloud Scan
if: ${{ env.FROM_ORIGINAL_REPOSITORY == 'true' }}
uses: SonarSource/sonarcloud-github-action@master
with:
projectBaseDir: backoffice
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- name: Log in to the Container registry
if: ${{ github.ref == 'refs/heads/main' }}
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build Docker image
if: ${{ github.ref == 'refs/heads/main' }}
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Set Docker Tag
run: |
if [ "${{ github.ref_name }}" == "main" ]; then
echo "DOCKER_TAG=latest" >> $GITHUB_ENV
else
echo "DOCKER_TAG=${{ github.sha }}" >> $GITHUB_ENV
fi

- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
context: ./backoffice
tags: ghcr.io/nashtech-garage/yas-backoffice:latest
- name: Run Trivy vulnerability scanner
if: ${{ github.ref == 'refs/heads/main' }}
uses: aquasecurity/trivy-action@0.24.0
with:
image-ref: 'ghcr.io/nashtech-garage/yas-backoffice:latest'
format: 'sarif'
output: 'trivy-results.sarif'
- name: Push Docker image
if: ${{ github.ref == 'refs/heads/main' }}
uses: docker/build-push-action@v6
with:
push: true
context: ./backoffice
tags: ghcr.io/nashtech-garage/yas-backoffice:latest
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: 'trivy-results.sarif'
tags: ${{ secrets.DOCKERHUB_USERNAME }}/yas-backoffice:${{ env.DOCKER_TAG }}
70 changes: 14 additions & 56 deletions .github/workflows/cart-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: cart service ci

on:
push:
branches: [ "main" ]
paths:
- "cart/**"
- ".github/workflows/actions/action.yaml"
Expand All @@ -24,67 +23,26 @@ jobs:
FROM_ORIGINAL_REPOSITORY: ${{ github.event.pull_request.head.repo.full_name == github.repository || github.ref == 'refs/heads/main' }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- uses: ./.github/workflows/actions
- name: Run Maven Build Command
run: mvn clean install -pl cart -am
- name: Run Maven Checkstyle
if: ${{ env.FROM_ORIGINAL_REPOSITORY == 'true' }}
run: mvn checkstyle:checkstyle -pl cart -am -Dcheckstyle.output.file=cart-checkstyle-result.xml
- name: Upload Checkstyle Result
if: ${{ env.FROM_ORIGINAL_REPOSITORY == 'true' }}
uses: jwgmeligmeyling/checkstyle-github-action@master
with:
path: '**/cart-checkstyle-result.xml'
- name: Test Results
uses: dorny/test-reporter@v1
if: ${{ env.FROM_ORIGINAL_REPOSITORY == 'true' && (success() || failure()) }}
with:
name: Cart-Service-Unit-Test-Results
path: "cart/**/*-reports/TEST*.xml"
reporter: java-junit
- name: OWASP Dependency Check
if: ${{ env.FROM_ORIGINAL_REPOSITORY == 'true' }}
uses: dependency-check/Dependency-Check_Action@main
env:
JAVA_HOME: /opt/jdk
with:
project: 'yas'
path: '.'
format: 'HTML'
- name: Upload OWASP Dependency Check results
if: ${{ env.FROM_ORIGINAL_REPOSITORY == 'true' }}
uses: actions/upload-artifact@master
with:
name: OWASP Dependency Check Report
path: ${{github.workspace}}/reports
- name: Analyze with sonar cloud
if: ${{ env.FROM_ORIGINAL_REPOSITORY == 'true' }}
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: mvn org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -pl cart -am
- name: Add coverage report to PR
uses: madrapps/jacoco-report@v1.6.1
if: ${{ env.FROM_ORIGINAL_REPOSITORY == 'true' }}
with:
paths: ${{github.workspace}}/cart/target/site/jacoco/jacoco.xml
token: ${{secrets.GITHUB_TOKEN}}
min-coverage-overall: 80
min-coverage-changed-files: 60
title: 'Cart Coverage Report'
update-comment: true
- name: Log in to the Container registry
if: ${{ github.ref == 'refs/heads/main' }}
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker images
if: ${{ github.ref == 'refs/heads/main' }}
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Set Docker Tag
run: |
if [ "${{ github.ref_name }}" == "main" ]; then
echo "DOCKER_TAG=latest" >> $GITHUB_ENV
else
echo "DOCKER_TAG=${{ github.sha }}" >> $GITHUB_ENV
fi

- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
context: ./cart
push: true
tags: ghcr.io/nashtech-garage/yas-cart:latest
tags: ${{ secrets.DOCKERHUB_USERNAME }}/yas-cart:${{ env.DOCKER_TAG }}
72 changes: 14 additions & 58 deletions .github/workflows/customer-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: customer service ci

on:
push:
branches: [ "main" ]
paths:
- "customer/**"
- ".github/workflows/actions/action.yaml"
Expand All @@ -20,71 +19,28 @@ on:
jobs:
Build:
runs-on: ubuntu-latest
env:
FROM_ORIGINAL_REPOSITORY: ${{ github.event.pull_request.head.repo.full_name == github.repository || github.ref == 'refs/heads/main' }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- uses: ./.github/workflows/actions
- name: Run Maven Build Command
run: mvn clean install -pl customer -am
- name: Run Maven Checkstyle
if: ${{ env.FROM_ORIGINAL_REPOSITORY == 'true' }}
run: mvn checkstyle:checkstyle -pl customer -am -Dcheckstyle.output.file=customer-checkstyle-result.xml
- name: Upload Checkstyle Result
if: ${{ env.FROM_ORIGINAL_REPOSITORY == 'true' }}
uses: jwgmeligmeyling/checkstyle-github-action@master
with:
path: '**/customer-checkstyle-result.xml'
- name: Test Results
uses: dorny/test-reporter@v1
if: ${{ env.FROM_ORIGINAL_REPOSITORY == 'true' && (success() || failure()) }}
with:
name: Customer-Service-Unit-Test-Results
path: "customer/**/*-reports/TEST*.xml"
reporter: java-junit
- name: Analyze with sonar cloud
if: ${{ env.FROM_ORIGINAL_REPOSITORY == 'true' }}
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: mvn org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -f customer
- name: OWASP Dependency Check
if: ${{ env.FROM_ORIGINAL_REPOSITORY == 'true' }}
uses: dependency-check/Dependency-Check_Action@main
env:
JAVA_HOME: /opt/jdk
with:
project: 'yas'
path: '.'
format: 'HTML'
- name: Upload OWASP Dependency Check results
if: ${{ env.FROM_ORIGINAL_REPOSITORY == 'true' }}
uses: actions/upload-artifact@master
with:
name: OWASP Dependency Check Report
path: ${{github.workspace}}/reports
- name: Add coverage report to PR
uses: madrapps/jacoco-report@v1.6.1
if: ${{ env.FROM_ORIGINAL_REPOSITORY == 'true' }}
with:
paths: ${{github.workspace}}/customer/target/site/jacoco/jacoco.xml
token: ${{secrets.GITHUB_TOKEN}}
min-coverage-overall: 80
min-coverage-changed-files: 60
title: 'Customer Coverage Report'
update-comment: true
- name: Log in to the Container registry
if: ${{ github.ref == 'refs/heads/main' }}
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker images
if: ${{ github.ref == 'refs/heads/main' }}
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Set Docker Tag
run: |
if [ "${{ github.ref_name }}" == "main" ]; then
echo "DOCKER_TAG=latest" >> $GITHUB_ENV
else
echo "DOCKER_TAG=${{ github.sha }}" >> $GITHUB_ENV
fi

- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
context: ./customer
push: true
tags: ghcr.io/nashtech-garage/yas-customer:latest
tags: ${{ secrets.DOCKERHUB_USERNAME }}/yas-customer:${{ env.DOCKER_TAG }}
Loading
Loading