From d54add986cd856bf60349bdd1b8a10bf01131494 Mon Sep 17 00:00:00 2001 From: Marinov Avgustin Date: Fri, 4 Oct 2024 12:26:26 +0300 Subject: [PATCH] Remove circleci in favour of native github actions Signed-off-by: Marinov Avgustin --- .circleci/config.yml | 61 -------------------------------------------- .circleci/run-qa.sh | 19 -------------- 2 files changed, 80 deletions(-) delete mode 100644 .circleci/config.yml delete mode 100755 .circleci/run-qa.sh diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 0861c19cca..0000000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,61 +0,0 @@ -# -# Copyright (c) 2018 Bosch Software Innovations GmbH and others -# -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ -# -# SPDX-License-Identifier: EPL-2.0 -# - -version: 2 -jobs: - build: - - working_directory: ~/hawkBit - - docker: - - image: cimg/openjdk:17.0.11 - auth: - username: $DOCKERHUB_USER - password: $DOCKERHUB_ACCESSTOKEN - environment: - _JAVA_OPTIONS: "-Xms512m -Xmx1024m" - - - image: rabbitmq:3-management - auth: - username: $DOCKERHUB_USER - password: $DOCKERHUB_ACCESSTOKEN - environment: - RABBITMQ_DEFAULT_VHOST: "/" - - steps: - - - checkout - - - restore_cache: - key: circleci-hawkbit-{{ checksum "pom.xml" }} - - - run: - name: Install dependencies without testing - command: mvn install --batch-mode -DskipTests - - - run: - name: Run tests incl. license check - command: './.circleci/run-qa.sh' - - - run: - name: Record test results - command: mkdir -p testresults/jUnit && find . -type f -regex ".*/target/surefire-reports/.*xml" -exec cp {} testresults/jUnit/ \; - - - store_test_results: - path: testresults - - - store_artifacts: - path: pom.xml - destination: pom.xml - - - save_cache: - paths: - - ~/.m2 - key: circleci-hawkbit-{{ checksum "pom.xml" }} diff --git a/.circleci/run-qa.sh b/.circleci/run-qa.sh deleted file mode 100755 index 92d357531e..0000000000 --- a/.circleci/run-qa.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh -# -# Copyright (c) 2015 Bosch Software Innovations GmbH and others -# -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ -# -# SPDX-License-Identifier: EPL-2.0 -# - -#echo "$CIRCLE_PULL_REQUEST pull request" - -# Run SonarQube only for master branch -if [ $CIRCLE_BRANCH = master ] ; then - mvn verify license:check javadoc:javadoc org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.branch.name=eclipse-master -Dsonar.login=$SONAR_ACCESS_TOKEN --batch-mode -else - mvn verify license:check javadoc:javadoc --batch-mode -fi