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

merge #2

Open
wants to merge 135 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
135 commits
Select commit Hold shift + click to select a range
c4219ec
test integration
KNarendra99599 May 30, 2024
684653b
Create main.yml
KNarendra99599 May 30, 2024
a41e19c
test
KNarendra99599 May 30, 2024
36d1b8d
sonar-scanner
KNarendra99599 May 30, 2024
1976fb8
sonar-scanner-01
KNarendra99599 May 30, 2024
3897800
sonar-scanner-02
KNarendra99599 May 30, 2024
99058d2
sonar-scanner-03
KNarendra99599 May 30, 2024
febe394
sonar-scanner-04
KNarendra99599 May 30, 2024
f45feae
sonar-scanner-05
KNarendra99599 May 30, 2024
8099286
sonar-scanner-06
KNarendra99599 May 30, 2024
d41f960
sonar-scanner-07
KNarendra99599 May 30, 2024
51bbb4d
sonan-scanner
KNarendra99599 May 30, 2024
068562e
sonar-scanner-08
KNarendra99599 May 30, 2024
92b4f32
BUILD_AND_PUBLISH
KNarendra99599 May 30, 2024
e27cd9a
BUILD AND PUSH JOB
KNarendra99599 May 31, 2024
86bb64d
BUILD AND PUSH - 01
KNarendra99599 May 31, 2024
e06138e
BUILD AND PUSH - 02
KNarendra99599 May 31, 2024
5a1df2d
BUILD AND PUSH - 03
KNarendra99599 May 31, 2024
087034c
Deploy into eks cluster
KNarendra99599 May 31, 2024
9dd7d4f
Build and push to ecr
KNarendra99599 May 31, 2024
1283633
build, push and deployment
KNarendra99599 May 31, 2024
8340ce7
deployment
KNarendra99599 May 31, 2024
9e21286
deployment
KNarendra99599 May 31, 2024
558437b
deployment - 01
KNarendra99599 May 31, 2024
b7d1720
deployment - 02
KNarendra99599 May 31, 2024
a1bf6dd
eks and bash.sh
KNarendra99599 May 31, 2024
5f1c287
bash and eks
KNarendra99599 May 31, 2024
f2949c3
deployment
KNarendra99599 May 31, 2024
235cc93
bash update
KNarendra99599 May 31, 2024
66a052d
bash update -01
KNarendra99599 May 31, 2024
6d7ce0a
update
KNarendra99599 May 31, 2024
72fe50e
update - 01
KNarendra99599 May 31, 2024
c598c66
update - 02
KNarendra99599 May 31, 2024
dc5a778
Image tag update in yaml file
KNarendra99599 May 31, 2024
a423cc7
Image update
KNarendra99599 May 31, 2024
2f0198a
Update image to 35
KNarendra99599 May 31, 2024
94dca85
secrets update
KNarendra99599 May 31, 2024
7b1867d
Merge branch 'main' of github.com:KNarendra99599/hprofile
KNarendra99599 May 31, 2024
bcdf81c
Update image to 36
KNarendra99599 May 31, 2024
1038bb7
Pipe line script
KNarendra99599 May 31, 2024
351bfd9
Merge branch 'main' of github.com:KNarendra99599/hprofile
KNarendra99599 May 31, 2024
21d2bbb
bash
KNarendra99599 Jun 12, 2024
9d6b05c
cicd pipeline
KNarendra99599 Jun 12, 2024
b2a6013
Jenkinsfile deleted
KNarendra99599 Jun 12, 2024
8444ac2
action deleted
KNarendra99599 Jun 12, 2024
d450d0b
dev
KNarendra99599 Jun 12, 2024
178a17a
Merge pull request #1 from KNarendra99599/dev
KNarendra99599 Jun 12, 2024
f875630
master
KNarendra99599 Jun 12, 2024
5da9301
Merge branch 'main' of github.com:KNarendra99599/hprofile
KNarendra99599 Jun 12, 2024
b0e4a5f
commit
KNarendra99599 Jun 12, 2024
76e32ce
Merge pull request #2 from KNarendra99599/dev
KNarendra99599 Jun 12, 2024
1f5e4d5
Update image to 37
KNarendra99599 Jun 12, 2024
775cd6c
main.yaml
KNarendra99599 Jun 12, 2024
ad3fa6a
Merge branch 'main' of github.com:KNarendra99599/hprofile
KNarendra99599 Jun 12, 2024
b6cbbeb
main.yaml updated
KNarendra99599 Jun 12, 2024
4d725e7
readme
KNarendra99599 Jun 12, 2024
10954d7
Merge pull request #3 from KNarendra99599/dev
KNarendra99599 Jun 12, 2024
6e302dc
main.yaml update
KNarendra99599 Jun 12, 2024
1fd9557
main.yaml updated
KNarendra99599 Jun 12, 2024
d48dbdd
Merge branch 'main' of github.com:KNarendra99599/hprofile
KNarendra99599 Jun 12, 2024
64a4ab4
readme
KNarendra99599 Jun 12, 2024
1ff95c7
Merge pull request #4 from KNarendra99599/dev
KNarendra99599 Jun 12, 2024
a4d1623
Update main.yml
KNarendra99599 Jun 14, 2024
ae62c4e
Update main.yml
KNarendra99599 Jun 14, 2024
487a591
Update main.yml
KNarendra99599 Jun 14, 2024
a9fb4a5
ingress
Jun 18, 2024
608adec
Update main.yml
KNarendra99599 Jun 20, 2024
a52fc88
Update README.md
KNarendra99599 Jun 20, 2024
1fbf077
Merge pull request #5 from KNarendra99599/dev
KNarendra99599 Jun 20, 2024
277405e
Update main.yml
KNarendra99599 Jun 20, 2024
dc49287
Update main.yml
KNarendra99599 Jun 20, 2024
531d1b3
Update main.yml
KNarendra99599 Jun 20, 2024
91980f5
Update README.md
KNarendra99599 Jun 20, 2024
f4006a0
Merge pull request #6 from KNarendra99599/dev
KNarendra99599 Jun 20, 2024
873ef21
Update main.yml
KNarendra99599 Jun 20, 2024
a5169cc
Update README.md
KNarendra99599 Jun 20, 2024
6aba4ab
Merge pull request #7 from KNarendra99599/dev
KNarendra99599 Jun 20, 2024
9522d4a
Update main.yml
KNarendra99599 Jun 20, 2024
daed548
Update README.md
KNarendra99599 Jun 20, 2024
4f1fe94
Merge pull request #8 from KNarendra99599/dev
KNarendra99599 Jun 20, 2024
42056fd
Update main.yml
KNarendra99599 Jun 20, 2024
23b186a
Update README.md
KNarendra99599 Jun 20, 2024
58d17cc
Merge pull request #9 from KNarendra99599/dev
KNarendra99599 Jun 20, 2024
00b2812
Update main.yml
KNarendra99599 Jun 20, 2024
f96d3ea
Update README.md
KNarendra99599 Jun 20, 2024
3b12085
Merge pull request #10 from KNarendra99599/dev
KNarendra99599 Jun 20, 2024
a190ec1
Update main.yml
KNarendra99599 Jun 20, 2024
81b4a62
Update README.md
KNarendra99599 Jun 20, 2024
949ad29
Merge pull request #11 from KNarendra99599/dev
KNarendra99599 Jun 20, 2024
f11bba2
Update main.yml
KNarendra99599 Jun 20, 2024
291d7d8
Update main.yml
KNarendra99599 Jun 20, 2024
cac894c
Update main.yml
KNarendra99599 Jun 20, 2024
392967a
Update main.yml
KNarendra99599 Jun 20, 2024
0c2897b
Update main.yml
KNarendra99599 Jun 20, 2024
c2e6e85
Update main.yml
KNarendra99599 Jun 20, 2024
b3a8956
Update main.yml
KNarendra99599 Jun 20, 2024
a3e3859
Update main.yml
KNarendra99599 Jun 20, 2024
20766e7
Update main.yml
KNarendra99599 Jun 20, 2024
b3c52d5
Update README.md
KNarendra99599 Jun 20, 2024
66be2ad
Merge pull request #12 from KNarendra99599/dev
KNarendra99599 Jun 20, 2024
041bee4
Update image to 62
KNarendra99599 Jun 20, 2024
50910cd
Update main.yml
KNarendra99599 Jun 20, 2024
6171a5a
Update README.md
KNarendra99599 Jun 20, 2024
124f82a
Update README.md
KNarendra99599 Jun 20, 2024
211f24c
Update README.md
KNarendra99599 Jun 20, 2024
2118dff
Update README.md
KNarendra99599 Jun 20, 2024
6da797e
Update README.md
KNarendra99599 Jun 20, 2024
a8b27ce
Merge pull request #13 from KNarendra99599/dev
KNarendra99599 Jun 20, 2024
072fe3f
Update main.yml
KNarendra99599 Jun 20, 2024
8f78717
Update README.md
KNarendra99599 Jun 20, 2024
67a1f16
Update README.md
KNarendra99599 Jun 20, 2024
ff62bd2
Update README.md
KNarendra99599 Jun 20, 2024
92ae8e8
Update README.md
KNarendra99599 Jun 20, 2024
1116f79
Merge pull request #14 from KNarendra99599/dev
KNarendra99599 Jun 20, 2024
b600291
Update main.yml
KNarendra99599 Jun 20, 2024
551d694
Update README.md
KNarendra99599 Jun 20, 2024
66f08ef
Merge pull request #15 from KNarendra99599/dev
KNarendra99599 Jun 20, 2024
8bd5da1
Update main.yml
KNarendra99599 Jun 20, 2024
4922182
Update README.md
KNarendra99599 Jun 20, 2024
2d1ddc5
Merge pull request #16 from KNarendra99599/dev
KNarendra99599 Jun 20, 2024
a003196
Update image to 66
KNarendra99599 Jun 20, 2024
70df0aa
Update main.yml
KNarendra99599 Jun 20, 2024
78548a0
Update README.md
KNarendra99599 Jun 20, 2024
9b2d428
Update README.md
KNarendra99599 Jun 20, 2024
1ee1987
Update README.md
KNarendra99599 Jun 20, 2024
082d430
Merge pull request #17 from KNarendra99599/dev
KNarendra99599 Jun 20, 2024
9308e59
Update image to 67
KNarendra99599 Jun 20, 2024
81b323a
Update main.yml
KNarendra99599 Jun 21, 2024
dc663b2
Update main.yml
KNarendra99599 Jun 21, 2024
573c77e
Update image to 68
KNarendra99599 Jun 21, 2024
9838523
Update main.yml
KNarendra99599 Jun 21, 2024
6045676
Update main.yml
KNarendra99599 Jun 21, 2024
78cff2b
Update image to 70
KNarendra99599 Jun 21, 2024
13c738a
Update main.yml
KNarendra99599 Jun 21, 2024
43ea76e
Update main.yml
KNarendra99599 Jun 21, 2024
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
Prev Previous commit
Next Next commit
deployment
KNarendra99599 committed May 31, 2024
commit f2949c339921a41bf428aa007e9d24cfe5321582
72 changes: 0 additions & 72 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -3,76 +3,6 @@ on: workflow_dispatch # [push, workflow_dispatch]
env:
AWS_REGION: us-east-1
jobs:
Testing:
runs-on: ubuntu-latest
steps:
- name: code checkout
uses: actions/checkout@v4

- name: Maven test
run: mvn test

- name: Checkstyle
run: mvn checkstyle:checkstyle

- name: Set Java 11
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '11'

- name: Setup SonarQube
uses: warchant/setup-sonar-scanner@v7

# Run sonar-scanner
- name: SonarQube Scan
run: sonar-scanner
-Dsonar.host.url=${{ secrets.SONAR_URL }}
-Dsonar.login=${{ secrets.SONAR_TOKEN }}
-Dsonar.organization=${{ secrets.SONAR_ORGANIZATION }}
-Dsonar.projectKey=${{ secrets.SONAR_PROJECT_KEY }}
-Dsonar.sources=src/
-Dsonar.junit.reportsPath=target/surefire-report/
-Dsonar.jacoco.reportsPath=target/jacoco.exec
-Dsonar.java.checkstyle.reportsPath=target/checkstyle-result.xml
-Dsonar.java.binaries=target/test-classes/com/visualpathit/account

# Check the Quality Gate status.
- name: SonarQube Quality Gate check
id: sonarqube-quality-gate-check
uses: sonarsource/sonarqube-quality-gate-action@master
# Force to fail step after specific time.
timeout-minutes: 5
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_URL }} #OPTIONAL

BUILD_AND_PUBLISH:
#needs: Testing
runs-on: ubuntu-latest
steps:
- name: code checkout
uses: actions/checkout@v4

# - name: Update application.properties file
# run: |
# sed -i "s/^jdbc.username.*$/jdbc.username\=${{ secrets.RDS_USER }}/" src/main/resources/application.properties
# sed -i "s/^jdbc.password.*$/jdbc.password\=${{ secrets.RDS_PASS }}/" src/main/resources/application.properties
# sed -i "s/db01/${{ secrets.RDS_ENDPOINT }}/" src/main/resources/application.properties

- name: upload image to ECR
uses: appleboy/docker-ecr-action@master
with:
access_key: ${{ secrets.AWS_ACCESS_KEY_ID }}
secret_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
registry: ${{ secrets.REGISTRY }}
repo: docker
region: ${{ env.AWS_REGION }}
tags: ${{ github.run_number }} #latest,${{ github.run_number }}
daemon_off: false
dockerfile: ./Dockerfile
context: ./

DEPLOY:
# needs: BUILD_AND_PUBLISH
runs-on: ubuntu-latest
@@ -97,8 +27,6 @@ jobs:

- name: Deploy to EKS cluster
run: |

kubectl apply -f java.yaml

kubectl apply -f EKS/