You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by pt...@apache.org on 2022/04/21 15:32:56 UTC

[fineract] branch sonarqube created (now bf29e8b3e)

This is an automated email from the ASF dual-hosted git repository.

ptuomola pushed a change to branch sonarqube
in repository https://gitbox.apache.org/repos/asf/fineract.git


      at bf29e8b3e Moving SonarCloud to GitHub Actions

This branch includes the following new commits:

     new bf29e8b3e Moving SonarCloud to GitHub Actions

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[fineract] 01/01: Moving SonarCloud to GitHub Actions

Posted by pt...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ptuomola pushed a commit to branch sonarqube
in repository https://gitbox.apache.org/repos/asf/fineract.git

commit bf29e8b3ef1157d156d28be8f468651f7a8b662c
Author: Petri <pe...@tuomola.org>
AuthorDate: Thu Apr 21 23:32:16 2022 +0800

    Moving SonarCloud to GitHub Actions
---
 .github/workflows/build-docker-postgresql.yml |  2 +-
 .github/workflows/build-docker.yml            |  2 +-
 .github/workflows/build-postgresql.yml        |  2 +-
 .github/workflows/build.yml                   |  2 +-
 .github/workflows/sonarqube.yml               |  9 ++-
 .travis.yml                                   | 80 ---------------------------
 6 files changed, 8 insertions(+), 89 deletions(-)

diff --git a/.github/workflows/build-docker-postgresql.yml b/.github/workflows/build-docker-postgresql.yml
index 2cf021969..22fb7c1e0 100644
--- a/.github/workflows/build-docker-postgresql.yml
+++ b/.github/workflows/build-docker-postgresql.yml
@@ -1,4 +1,4 @@
-name: Fineract Docker build for PostgreSQL
+name: Fineract Docker build - PostgreSQL
 
 on: [push, pull_request]
 
diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml
index dc6d6c7ec..90c1d3441 100644
--- a/.github/workflows/build-docker.yml
+++ b/.github/workflows/build-docker.yml
@@ -1,4 +1,4 @@
-name: Fineract Docker build
+name: Fineract Docker build - MariaDB
 
 on: [push, pull_request]
 
diff --git a/.github/workflows/build-postgresql.yml b/.github/workflows/build-postgresql.yml
index b53bbe8bb..47f575d32 100644
--- a/.github/workflows/build-postgresql.yml
+++ b/.github/workflows/build-postgresql.yml
@@ -1,4 +1,4 @@
-name: Fineract Gradle build - basicauth - PostgreSQL
+name: Fineract Gradle build - PostgreSQL
 on: [push, pull_request]
 
 permissions:
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 0b6a67deb..d4c057bac 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -1,4 +1,4 @@
-name: Fineract Gradle build - basicauth
+name: Fineract Gradle build - MariaDB
 on: [push, pull_request]
 
 permissions:
diff --git a/.github/workflows/sonarqube.yml b/.github/workflows/sonarqube.yml
index b98a186c6..cad340f92 100644
--- a/.github/workflows/sonarqube.yml
+++ b/.github/workflows/sonarqube.yml
@@ -9,11 +9,10 @@ jobs:
     runs-on: ubuntu-20.04
     env:
         TZ: Asia/Kolkata
-        SONAR_ORGANIZATION: ${{ secrets.SONAR_ORGANIZATION }}
-        SONAR_PROJECT_KEY: ${{ secrets.SONAR_PROJECT_KEY }}
-        SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
-        SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
-        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+        SONAR_ORGANIZATION: apache
+        SONAR_PROJECT_KEY: apache_fineract
+        SONAR_HOST_URL: https://sonarcloud.io
+        SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
     steps:
       - name: Set up cache
         uses: actions/cache@v3
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index aace07db4..000000000
--- a/.travis.yml
+++ /dev/null
@@ -1,80 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# https://docs.travis-ci.com/user/reference/linux/
-# Must use a fixed distribution (and remember to occassionally upgrade..)
-# to avoid surprise changes such as https://issues.apache.org/jira/browse/FINERACT-763
-dist: bionic
-
-language: generic
-
-addons:
-  sonarcloud:
-    organization: "apache"
-    token:
-      secure: "Q2E9ijK+9+R6nkb9o2FQrKUiAozp0325mlGfM25rGV3mCRPyWR/lU8o48r2eaBEX8SEvMvXIO3XXD9SPyUX2+svLz0MOMdfZfNveg6jmcHNRjkzzBK0bMIIGbEH/YqJ+psl4nDmlDd6IK4685/1JSRUJLqeKKK2ulixm6PXcmwZWeKD6TjyXsW50zz3yYIOuROHzys/M6H05h1dZD3j6ztnRsjbr7SmqFEVWSRgEd/aAs+HZB9Fv1xN66csRoQUQKgzoBO9egAQcel65Av0Bf+pOQuzVDVyXNohZEYia02MCGlC6OFvtL7xIXGf/vo02RdnlN4Jnma6P37TaNrmpk2e+EGJaZHmL9cb98+Zc39uPb7qEZkMfDdKrW6QVRtScSuCJzpY58WRgTS0jLCxsDBAMfsrIvWbHntFZL9q5aEkFgecj0pg9u6WHxgA8cuPUY5QzHQo9fEUxNJHGJHQ2FkafLniqJ [...]
-
-# See https://issues.apache.org/jira/browse/FINERACT-937 for background re. what below is all about..
-# We basically remove the outdated OpenJDK 11.0.2 which Travis image grabbed from java.net in
-# https://github.com/travis-ci/travis-cookbooks/blob/master/cookbooks/travis_jdk/files/install-jdk.sh#L200
-# (which has 11.0.2 hard-coded!), and instead replace it with the latest Azul Zulu Debian package.
-# NB /usr/local/lib/jvm/openjdk11/bin is also on the PATH, but there's no need to change it (because we rm -rf anyway)
-# Installing Azul Zulu as per official instructions https://docs.azul.com/core/zulu-openjdk/install/debian
-before_install:
-  - echo $JAVA_HOME
-  - which java
-  - sudo rm -rf /usr/local/lib/jvm/
-
-install:
-  - unset _JAVA_OPTIONS
-  - sudo apt-get -q update
-  - sudo apt-get -yq install gnupg curl dirmngr
-  - sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xB1998361219BD9C9
-  - curl -O https://cdn.azul.com/zulu/bin/zulu-repo_1.0.0-3_all.deb
-  - sudo apt-get -yq install ./zulu-repo_1.0.0-3_all.deb
-  - sudo apt-get -q update
-  - sudo apt-get -yq install zulu17-jdk
-  - export JAVA_HOME=/usr/lib/jvm/zulu17
-
-# https://docs.travis-ci.com/user/languages/java/#caching
-before_cache:
-  - rm -f  $HOME/.gradle/caches/modules-2/modules-2.lock
-  - rm -fr $HOME/.gradle/caches/*/plugin-resolution/
-cache:
-  directories:
-    - $HOME/.gradle/caches/
-    - $HOME/.gradle/wrapper/
-    - $HOME/.m2
-
-# Check Java environment variables
-before_script:
-  - echo $JDK_JAVA_OPTIONS
-  - echo $JAVA_OPTIONS
-  - echo $JAVA_HOME
-  - which java
-  - java -version
-  - which javac
-  - javac -version
-  - $JAVA_HOME/bin/java -version
-
-script:
-  - date
-# Using travis_wait for a proccess that could take longer than 20 minutes, in this case the SonaQube analysis
-# https://docs.travis-ci.com/user/common-build-problems/#build-times-out-because-no-output-was-received
-  - travis_wait 30 ./gradlew -q --no-daemon --console=plain -Dsonar.projectKey=apache_fineract -x rat -x test sonarqube -Pcoverage=true
-  - date