From 63cda0a6e3958f360340dac8cbba079502ae937e Mon Sep 17 00:00:00 2001 From: Murali Krishna Reddy Date: Tue, 13 May 2025 17:51:28 +1000 Subject: [PATCH 1/8] added github actions file --- .../.github/workflows/Deployment.yml | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 simple-springboot-app/.github/workflows/Deployment.yml diff --git a/simple-springboot-app/.github/workflows/Deployment.yml b/simple-springboot-app/.github/workflows/Deployment.yml new file mode 100644 index 0000000..97cc124 --- /dev/null +++ b/simple-springboot-app/.github/workflows/Deployment.yml @@ -0,0 +1,25 @@ +name : Run my spring boot application + +on: + push: + branches: + - master + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: checkout code + uses: actions/checkout@v4 + - name: set JDK version + uses: actions/setup-java@v4 + - name: Build and package + run: mvn clean install + + + + + + + From f4bec5088c94630d629963ab5f940a842e6f2b1c Mon Sep 17 00:00:00 2001 From: Murali Krishna Reddy Date: Tue, 13 May 2025 17:55:02 +1000 Subject: [PATCH 2/8] change spring boot version --- simple-springboot-app/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simple-springboot-app/pom.xml b/simple-springboot-app/pom.xml index 671aca5..d4d2b06 100644 --- a/simple-springboot-app/pom.xml +++ b/simple-springboot-app/pom.xml @@ -14,7 +14,7 @@ org.springframework.boot spring-boot-starter-parent - 2.0.4.RELEASE + 2.0.5.RELEASE From ae00fd098f928d96a2a19be0e71d61befb4de4f6 Mon Sep 17 00:00:00 2001 From: Murali Krishna Reddy Date: Tue, 13 May 2025 18:04:34 +1000 Subject: [PATCH 3/8] added new deployment file in proper location --- .github/workflows/Deployment.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/Deployment.yml diff --git a/.github/workflows/Deployment.yml b/.github/workflows/Deployment.yml new file mode 100644 index 0000000..789f04f --- /dev/null +++ b/.github/workflows/Deployment.yml @@ -0,0 +1,24 @@ +name : Run my spring boot application +on: + push: + branches: + - master + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: checkout code + uses: actions/checkout@v4 + - name: set JDK version + uses: actions/setup-java@v4 + - name: Build and package + run: mvn clean install + + + + + + + From 72997b725bbfb18d9ce71226ae9908bde7d3bdd5 Mon Sep 17 00:00:00 2001 From: Murali Krishna Reddy Date: Tue, 13 May 2025 18:07:37 +1000 Subject: [PATCH 4/8] added java version --- .github/workflows/Deployment.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/Deployment.yml b/.github/workflows/Deployment.yml index 789f04f..cc0d01e 100644 --- a/.github/workflows/Deployment.yml +++ b/.github/workflows/Deployment.yml @@ -13,6 +13,9 @@ jobs: uses: actions/checkout@v4 - name: set JDK version uses: actions/setup-java@v4 + with: + distribution: 'openjdk' + java-version: '17' - name: Build and package run: mvn clean install From a9fa6596b0f4e2b918fcb11f2e1eb2fce2baa679 Mon Sep 17 00:00:00 2001 From: Murali Krishna Reddy Date: Tue, 13 May 2025 18:09:13 +1000 Subject: [PATCH 5/8] added valid temurin --- .github/workflows/Deployment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Deployment.yml b/.github/workflows/Deployment.yml index cc0d01e..1f74458 100644 --- a/.github/workflows/Deployment.yml +++ b/.github/workflows/Deployment.yml @@ -14,7 +14,7 @@ jobs: - name: set JDK version uses: actions/setup-java@v4 with: - distribution: 'openjdk' + distribution: 'temurin' java-version: '17' - name: Build and package run: mvn clean install From c765ec0903387660b624ebc250a8f5eff47f374b Mon Sep 17 00:00:00 2001 From: Murali Krishna Reddy Date: Tue, 13 May 2025 18:14:33 +1000 Subject: [PATCH 6/8] pom deleted and added agian --- .../.github/workflows/Deployment.yml | 25 ------------------- .../workspace.code-workspace | 3 +++ 2 files changed, 3 insertions(+), 25 deletions(-) delete mode 100644 simple-springboot-app/.github/workflows/Deployment.yml create mode 100644 simple-springboot-app/workspace.code-workspace diff --git a/simple-springboot-app/.github/workflows/Deployment.yml b/simple-springboot-app/.github/workflows/Deployment.yml deleted file mode 100644 index 97cc124..0000000 --- a/simple-springboot-app/.github/workflows/Deployment.yml +++ /dev/null @@ -1,25 +0,0 @@ -name : Run my spring boot application - -on: - push: - branches: - - master - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - name: checkout code - uses: actions/checkout@v4 - - name: set JDK version - uses: actions/setup-java@v4 - - name: Build and package - run: mvn clean install - - - - - - - diff --git a/simple-springboot-app/workspace.code-workspace b/simple-springboot-app/workspace.code-workspace new file mode 100644 index 0000000..d60dc64 --- /dev/null +++ b/simple-springboot-app/workspace.code-workspace @@ -0,0 +1,3 @@ +{ + "folders": [] +} \ No newline at end of file From 425aba06e93420011206ef47ad9c17af1a5af3c6 Mon Sep 17 00:00:00 2001 From: Murali Krishna Reddy Date: Tue, 13 May 2025 18:17:42 +1000 Subject: [PATCH 7/8] added new feature branch --- .github/workflows/Deployment.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Deployment.yml b/.github/workflows/Deployment.yml index 1f74458..e1cb4b3 100644 --- a/.github/workflows/Deployment.yml +++ b/.github/workflows/Deployment.yml @@ -2,7 +2,10 @@ name : Run my spring boot application on: push: branches: - - master + - feature_Branch + pull_request: + branches: + - master jobs: build: From 10bb630e1ce8f18c60b9bff0f382e49a3e307d33 Mon Sep 17 00:00:00 2001 From: Murali Krishna Reddy Date: Tue, 13 May 2025 18:19:37 +1000 Subject: [PATCH 8/8] adding new deoendecneis --- simple-springboot-app/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simple-springboot-app/pom.xml b/simple-springboot-app/pom.xml index d4d2b06..671aca5 100644 --- a/simple-springboot-app/pom.xml +++ b/simple-springboot-app/pom.xml @@ -14,7 +14,7 @@ org.springframework.boot spring-boot-starter-parent - 2.0.5.RELEASE + 2.0.4.RELEASE