From 4ea4dcf63bca35b323cf8954a0bafcd6d0c4ba6c Mon Sep 17 00:00:00 2001 From: xopiie <46599014+NadicaUzunova@users.noreply.github.com> Date: Fri, 19 Jan 2024 13:54:34 +0100 Subject: [PATCH 01/20] Update pom.xml --- backend/pom.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/pom.xml b/backend/pom.xml index 0b16e32..77145ed 100644 --- a/backend/pom.xml +++ b/backend/pom.xml @@ -15,6 +15,8 @@ 3.6.3 true 3.1.2 + ii-zimskasola2024 + https://sonarcloud.io From 6537f733f248209178afedfd9610c13370be3659 Mon Sep 17 00:00:00 2001 From: xopiie <46599014+NadicaUzunova@users.noreply.github.com> Date: Fri, 19 Jan 2024 14:00:51 +0100 Subject: [PATCH 02/20] Create sonar_be.yml test --- .github/workflows/sonar_be.yml | 36 ++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/sonar_be.yml diff --git a/.github/workflows/sonar_be.yml b/.github/workflows/sonar_be.yml new file mode 100644 index 0000000..9338ad7 --- /dev/null +++ b/.github/workflows/sonar_be.yml @@ -0,0 +1,36 @@ +name: SonarCloud Backend +on: + push: + branches: + - main + pull_request: + types: [opened, synchronize, reopened] +jobs: + build: + name: Build and analyze + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + java-version: 17 + distribution: 'zulu' # Alternative distribution options are available. + - name: Cache SonarCloud packages + uses: actions/cache@v3 + with: + path: ~/.sonar/cache + key: ${{ runner.os }}-sonar + restore-keys: ${{ runner.os }}-sonar + - name: Cache Maven packages + uses: actions/cache@v3 + with: + path: ~/.m2 + key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} + restore-keys: ${{ runner.os }}-m2 + - name: Build and analyze + env: + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=ii-zimskasola2024_measurments From 79add1e59f5b97e3d00cbc0e4da74d15a2ae620e Mon Sep 17 00:00:00 2001 From: xopiie <46599014+NadicaUzunova@users.noreply.github.com> Date: Fri, 19 Jan 2024 14:06:32 +0100 Subject: [PATCH 03/20] Update sonar_be.yml test --- .github/workflows/sonar_be.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sonar_be.yml b/.github/workflows/sonar_be.yml index 9338ad7..b0163e2 100644 --- a/.github/workflows/sonar_be.yml +++ b/.github/workflows/sonar_be.yml @@ -1,10 +1,12 @@ -name: SonarCloud Backend +name: SonarCloud + on: push: branches: - main pull_request: types: [opened, synchronize, reopened] + jobs: build: name: Build and analyze @@ -13,24 +15,28 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis + - name: Set up JDK 17 uses: actions/setup-java@v3 with: java-version: 17 distribution: 'zulu' # Alternative distribution options are available. + - name: Cache SonarCloud packages uses: actions/cache@v3 with: path: ~/.sonar/cache key: ${{ runner.os }}-sonar restore-keys: ${{ runner.os }}-sonar + - name: Cache Maven packages uses: actions/cache@v3 with: path: ~/.m2 - key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} + key: ${{ runner.os }}-m2-${{ hashFiles('backend/**/pom.xml') }} restore-keys: ${{ runner.os }}-m2 + - name: Build and analyze env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=ii-zimskasola2024_measurments + run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=ii-zimskasola2024_measurments -f backend/pom.xml From 34ad808513c0d9afaadd505582c8aad66ad7e759 Mon Sep 17 00:00:00 2001 From: xopiie <46599014+NadicaUzunova@users.noreply.github.com> Date: Fri, 19 Jan 2024 14:09:27 +0100 Subject: [PATCH 04/20] sonar test 1 --- .github/workflows/sonar_be.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sonar_be.yml b/.github/workflows/sonar_be.yml index b0163e2..566ccb8 100644 --- a/.github/workflows/sonar_be.yml +++ b/.github/workflows/sonar_be.yml @@ -16,11 +16,11 @@ jobs: with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - - name: Set up JDK 17 + - name: Set up Java uses: actions/setup-java@v3 with: - java-version: 17 - distribution: 'zulu' # Alternative distribution options are available. + java-version: 20 + distribution: 'adopt' # Alternative distribution options are available. - name: Cache SonarCloud packages uses: actions/cache@v3 From 15b1a2d6d81762c639fbf3550bd50afef4a6c73b Mon Sep 17 00:00:00 2001 From: xopiie <46599014+NadicaUzunova@users.noreply.github.com> Date: Fri, 19 Jan 2024 14:12:26 +0100 Subject: [PATCH 05/20] skip tests --- .github/workflows/sonar_be.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sonar_be.yml b/.github/workflows/sonar_be.yml index 566ccb8..a69ee36 100644 --- a/.github/workflows/sonar_be.yml +++ b/.github/workflows/sonar_be.yml @@ -39,4 +39,4 @@ jobs: - name: Build and analyze env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=ii-zimskasola2024_measurments -f backend/pom.xml + run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=ii-zimskasola2024_measurments -f backend/pom.xml -DskipTests From 84f7467c43611953d5e8133be173f4ea7efae73a Mon Sep 17 00:00:00 2001 From: xopiie <46599014+NadicaUzunova@users.noreply.github.com> Date: Fri, 19 Jan 2024 14:17:00 +0100 Subject: [PATCH 06/20] Update workflow.yml --- .github/workflows/workflow.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 81ba3ec..e68951e 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -2,9 +2,9 @@ name: CI/CD Pipeline on: push: - branches: [ "main" ] + branches: [ "main", "master" ] pull_request: - branches: [ "main" ] + branches: [ "main", "master" ] jobs: From 81556d44913ac3a92f350048d67bd32ab85c37cb Mon Sep 17 00:00:00 2001 From: xopiie <46599014+NadicaUzunova@users.noreply.github.com> Date: Fri, 19 Jan 2024 14:17:32 +0100 Subject: [PATCH 07/20] Update sonar_be.yml --- .github/workflows/sonar_be.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/sonar_be.yml b/.github/workflows/sonar_be.yml index a69ee36..b5a1bfd 100644 --- a/.github/workflows/sonar_be.yml +++ b/.github/workflows/sonar_be.yml @@ -4,6 +4,7 @@ on: push: branches: - main + - master pull_request: types: [opened, synchronize, reopened] From 6c56755aba77205020fcb8d0bf5b291542c03148 Mon Sep 17 00:00:00 2001 From: xopiie <46599014+NadicaUzunova@users.noreply.github.com> Date: Fri, 19 Jan 2024 14:24:32 +0100 Subject: [PATCH 08/20] Update and rename sonar_be.yml to sonar_backend.yml --- .github/workflows/{sonar_be.yml => sonar_backend.yml} | 1 - 1 file changed, 1 deletion(-) rename .github/workflows/{sonar_be.yml => sonar_backend.yml} (98%) diff --git a/.github/workflows/sonar_be.yml b/.github/workflows/sonar_backend.yml similarity index 98% rename from .github/workflows/sonar_be.yml rename to .github/workflows/sonar_backend.yml index b5a1bfd..a69ee36 100644 --- a/.github/workflows/sonar_be.yml +++ b/.github/workflows/sonar_backend.yml @@ -4,7 +4,6 @@ on: push: branches: - main - - master pull_request: types: [opened, synchronize, reopened] From a39c0f373a18f3adb24e72e80ba1a44228aa3ebd Mon Sep 17 00:00:00 2001 From: xopiie <46599014+NadicaUzunova@users.noreply.github.com> Date: Fri, 19 Jan 2024 14:25:15 +0100 Subject: [PATCH 09/20] Update workflow.yml --- .github/workflows/workflow.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index e68951e..81ba3ec 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -2,9 +2,9 @@ name: CI/CD Pipeline on: push: - branches: [ "main", "master" ] + branches: [ "main" ] pull_request: - branches: [ "main", "master" ] + branches: [ "main" ] jobs: From 049f206ed01b38b4c5f1d76f3929330b5d223843 Mon Sep 17 00:00:00 2001 From: xopiie <46599014+NadicaUzunova@users.noreply.github.com> Date: Fri, 19 Jan 2024 14:30:13 +0100 Subject: [PATCH 10/20] Rename workflow --- .github/workflows/sonar_backend.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sonar_backend.yml b/.github/workflows/sonar_backend.yml index a69ee36..b614e52 100644 --- a/.github/workflows/sonar_backend.yml +++ b/.github/workflows/sonar_backend.yml @@ -1,4 +1,4 @@ -name: SonarCloud +name: SonarCloud Backend on: push: From d0350d861b648e87acd44470a64c9bf97c3e7cd7 Mon Sep 17 00:00:00 2001 From: xopiie <46599014+NadicaUzunova@users.noreply.github.com> Date: Fri, 19 Jan 2024 14:34:52 +0100 Subject: [PATCH 11/20] Create sonar_frontend.yml test --- .github/workflows/sonar_frontend.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/sonar_frontend.yml diff --git a/.github/workflows/sonar_frontend.yml b/.github/workflows/sonar_frontend.yml new file mode 100644 index 0000000..0c91501 --- /dev/null +++ b/.github/workflows/sonar_frontend.yml @@ -0,0 +1,19 @@ +name: Build +on: + push: + branches: + - main + pull_request: + types: [opened, synchronize, reopened] +jobs: + sonarcloud: + name: SonarCloud + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis + - name: SonarCloud Scan + uses: SonarSource/sonarcloud-github-action@master + env: + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN_FE }} From 67e6d331c916e825c6fc54fe9fb9f47e84783134 Mon Sep 17 00:00:00 2001 From: xopiie <46599014+NadicaUzunova@users.noreply.github.com> Date: Fri, 19 Jan 2024 14:36:51 +0100 Subject: [PATCH 12/20] Create sonar-project.properties --- frontend/sonar-project.properties | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 frontend/sonar-project.properties diff --git a/frontend/sonar-project.properties b/frontend/sonar-project.properties new file mode 100644 index 0000000..d9ee4c4 --- /dev/null +++ b/frontend/sonar-project.properties @@ -0,0 +1,12 @@ +sonar.projectKey=ii-zimskasola2024_measurments-frontend +sonar.organization=ii-zimskasola2024 + +sonar.projectName=measurments_frontend +sonar.projectVersion=1.0 + + +# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows. +#sonar.sources=. + +# Encoding of the source code. Default is default system encoding +#sonar.sourceEncoding=UTF-8 From 44e9dc9a9845d49e8a9861c8f006f4c0b3a22452 Mon Sep 17 00:00:00 2001 From: xopiie <46599014+NadicaUzunova@users.noreply.github.com> Date: Fri, 19 Jan 2024 14:45:42 +0100 Subject: [PATCH 13/20] Update sonar_frontend.yml --- .github/workflows/sonar_frontend.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sonar_frontend.yml b/.github/workflows/sonar_frontend.yml index 0c91501..7d02251 100644 --- a/.github/workflows/sonar_frontend.yml +++ b/.github/workflows/sonar_frontend.yml @@ -1,4 +1,4 @@ -name: Build +name: SonarCloud Frontend on: push: branches: @@ -7,13 +7,13 @@ on: types: [opened, synchronize, reopened] jobs: sonarcloud: - name: SonarCloud + name: SonarCloud Frontend runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - - name: SonarCloud Scan + - name: SonarCloud Scan Frontend uses: SonarSource/sonarcloud-github-action@master env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN_FE }} From 1abd24173c33a51a0f5ed417464015bd243c959f Mon Sep 17 00:00:00 2001 From: xopiie <46599014+NadicaUzunova@users.noreply.github.com> Date: Fri, 19 Jan 2024 14:45:46 +0100 Subject: [PATCH 14/20] Update sonar-project.properties --- frontend/sonar-project.properties | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/sonar-project.properties b/frontend/sonar-project.properties index d9ee4c4..4f2f3c4 100644 --- a/frontend/sonar-project.properties +++ b/frontend/sonar-project.properties @@ -1,8 +1,9 @@ sonar.projectKey=ii-zimskasola2024_measurments-frontend sonar.organization=ii-zimskasola2024 -sonar.projectName=measurments_frontend -sonar.projectVersion=1.0 +# This is the name and version displayed in the SonarCloud UI. +#sonar.projectName=measurments_frontend +#sonar.projectVersion=1.0 # Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows. From f25dca4391b150f45da5a6f90156c233b221c174 Mon Sep 17 00:00:00 2001 From: xopiie <46599014+NadicaUzunova@users.noreply.github.com> Date: Fri, 19 Jan 2024 14:46:20 +0100 Subject: [PATCH 15/20] Create sonar-project.properties test --- sonar-project.properties | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 sonar-project.properties diff --git a/sonar-project.properties b/sonar-project.properties new file mode 100644 index 0000000..4f2f3c4 --- /dev/null +++ b/sonar-project.properties @@ -0,0 +1,13 @@ +sonar.projectKey=ii-zimskasola2024_measurments-frontend +sonar.organization=ii-zimskasola2024 + +# This is the name and version displayed in the SonarCloud UI. +#sonar.projectName=measurments_frontend +#sonar.projectVersion=1.0 + + +# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows. +#sonar.sources=. + +# Encoding of the source code. Default is default system encoding +#sonar.sourceEncoding=UTF-8 From a1ccc2a387095a1593a6cb0e74179f5b870aca41 Mon Sep 17 00:00:00 2001 From: xopiie <46599014+NadicaUzunova@users.noreply.github.com> Date: Fri, 19 Jan 2024 14:50:20 +0100 Subject: [PATCH 16/20] Update sonar-project.properties test 1 --- sonar-project.properties | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sonar-project.properties b/sonar-project.properties index 4f2f3c4..c25dba1 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -1,6 +1,9 @@ sonar.projectKey=ii-zimskasola2024_measurments-frontend sonar.organization=ii-zimskasola2024 +sonar.exclusions=**/backend/** + + # This is the name and version displayed in the SonarCloud UI. #sonar.projectName=measurments_frontend #sonar.projectVersion=1.0 From 987836bf092b4d3d0c7c05e46c140402767a916a Mon Sep 17 00:00:00 2001 From: xopiie <46599014+NadicaUzunova@users.noreply.github.com> Date: Fri, 19 Jan 2024 14:58:18 +0100 Subject: [PATCH 17/20] Update workflow.yml for sonar --- .github/workflows/workflow.yml | 59 ++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 81ba3ec..cd2aa12 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -117,4 +117,63 @@ jobs: sleep 5 done echo "React server is up and running!" + + sonar_frontend: + name: SonarCloud Frontend + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: 18 + cache: 'npm' + cache-dependency-path: frontend/package-lock.json + + - name: Install dependencies + run: npm ci + working-directory: frontend + + - name: SonarCloud Scan Frontend + uses: SonarSource/sonarcloud-github-action@master + env: + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN_FE }} + with: + args: '-Dsonar.projectKey=ii-zimskasola2024_measurments-frontend' + sonar_backend: + name: SonarCloud Backend + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Setup Java + uses: actions/setup-java@v3 + with: + distribution: 'adopt' + java-version: '20' + cache: maven + + - name: Cache SonarCloud packages + uses: actions/cache@v3 + with: + path: ~/.sonar/cache + key: ${{ runner.os }}-sonar + restore-keys: ${{ runner.os }}-sonar + + - name: Cache Maven packages + uses: actions/cache@v3 + with: + path: ~/.m2 + key: ${{ runner.os }}-m2-${{ hashFiles('backend/**/pom.xml') }} + restore-keys: ${{ runner.os }}-m2 + + - name: Build and analyze + env: + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=ii-zimskasola2024_measurments -f backend/pom.xml -DskipTests From 26f62b78b8ead8e313d1a92c3f151f09deeb59a1 Mon Sep 17 00:00:00 2001 From: xopiie <46599014+NadicaUzunova@users.noreply.github.com> Date: Fri, 19 Jan 2024 14:58:43 +0100 Subject: [PATCH 18/20] Delete .github/workflows/sonar_frontend.yml --- .github/workflows/sonar_frontend.yml | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 .github/workflows/sonar_frontend.yml diff --git a/.github/workflows/sonar_frontend.yml b/.github/workflows/sonar_frontend.yml deleted file mode 100644 index 7d02251..0000000 --- a/.github/workflows/sonar_frontend.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: SonarCloud Frontend -on: - push: - branches: - - main - pull_request: - types: [opened, synchronize, reopened] -jobs: - sonarcloud: - name: SonarCloud Frontend - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - - name: SonarCloud Scan Frontend - uses: SonarSource/sonarcloud-github-action@master - env: - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN_FE }} From 7ad35c2ca4ef6bcc42a903f0b5678f61268d2c6f Mon Sep 17 00:00:00 2001 From: xopiie <46599014+NadicaUzunova@users.noreply.github.com> Date: Fri, 19 Jan 2024 14:58:46 +0100 Subject: [PATCH 19/20] Delete .github/workflows/sonar_backend.yml --- .github/workflows/sonar_backend.yml | 42 ----------------------------- 1 file changed, 42 deletions(-) delete mode 100644 .github/workflows/sonar_backend.yml diff --git a/.github/workflows/sonar_backend.yml b/.github/workflows/sonar_backend.yml deleted file mode 100644 index b614e52..0000000 --- a/.github/workflows/sonar_backend.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: SonarCloud Backend - -on: - push: - branches: - - main - pull_request: - types: [opened, synchronize, reopened] - -jobs: - build: - name: Build and analyze - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - - - name: Set up Java - uses: actions/setup-java@v3 - with: - java-version: 20 - distribution: 'adopt' # Alternative distribution options are available. - - - name: Cache SonarCloud packages - uses: actions/cache@v3 - with: - path: ~/.sonar/cache - key: ${{ runner.os }}-sonar - restore-keys: ${{ runner.os }}-sonar - - - name: Cache Maven packages - uses: actions/cache@v3 - with: - path: ~/.m2 - key: ${{ runner.os }}-m2-${{ hashFiles('backend/**/pom.xml') }} - restore-keys: ${{ runner.os }}-m2 - - - name: Build and analyze - env: - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=ii-zimskasola2024_measurments -f backend/pom.xml -DskipTests From 5c8fd1ab748c4cd5fc1d865b533c0d0137934539 Mon Sep 17 00:00:00 2001 From: xopiie <46599014+NadicaUzunova@users.noreply.github.com> Date: Fri, 19 Jan 2024 15:20:54 +0100 Subject: [PATCH 20/20] Renamed project secrets --- .github/workflows/workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index cd2aa12..fd71bec 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -175,5 +175,5 @@ jobs: - name: Build and analyze env: - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN_BE }} run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=ii-zimskasola2024_measurments -f backend/pom.xml -DskipTests