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

Remove TravisCI.org integration #3237

Merged
merged 6 commits into from
Feb 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
104 changes: 0 additions & 104 deletions .travis.yml

This file was deleted.

22 changes: 13 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,19 @@

# Eclipse Kapua™

![Travis (.org)](https://img.shields.io/travis/eclipse/kapua?label=Travis%20build)
![Jenkins](https://img.shields.io/jenkins/build?jobUrl=https%3A%2F%2Fhudson.eclipse.org%2Fkapua%2Fjob%2Fdevelop&label=Jenkins%20build)
[![Gitter](https://badges.gitter.im/eclipse/kapua.svg)](https://gitter.im/eclipse/kapua?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
![GitHub issues](https://img.shields.io/github/issues-raw/eclipse/kapua?color=success)
![GitHub pull requests](https://img.shields.io/github/issues-pr/eclipse/kapua?color=blue)
![GitHub](https://img.shields.io/github/license/eclipse/kapua?color=yellow)
![GitHub release (latest by date)](https://img.shields.io/github/v/release/eclipse/kapua)
![GitHub contributors](https://img.shields.io/github/contributors/eclipse/kapua)
![GitHub forks](https://img.shields.io/github/forks/eclipse/kapua?style=social)
![GitHub Release](https://img.shields.io/github/v/release/eclipse/kapua?label=Release)
![GitHub](https://img.shields.io/github/license/eclipse/kapua?label=License)

![GitHub Issues](https://img.shields.io/github/issues-raw/eclipse/kapua?label=Open%20Issues)
![GitHub Pull Requests](https://img.shields.io/github/issues-pr/eclipse/kapua?label=Pull%20Requests&color=blue)
![GitHub Contributors](https://img.shields.io/github/contributors/eclipse/kapua?label=Contributors)
![GitHub Forks](https://img.shields.io/github/forks/eclipse/kapua?label=Forks)

![Gitter](https://img.shields.io/gitter/room/eclipse/kapua?label=Chat&logo=gitter)

![GitHub Actions CI](https://img.shields.io/github/workflow/status/eclipse/kapua/kapua-continuous-integration?label=GitHub%20Actions%20CI&logo=github%20actions) <br/>
![Jenkins](https://img.shields.io/jenkins/build?jobUrl=https:%2F%2Fci.eclipse.org%2Fkapua%2Fjob%2Fdevelop-build&label=Jenkins%20Build&logo=jenkins) <br/>
![Jenkins](https://img.shields.io/jenkins/tests?compact_message&failed_label=%E2%9D%8C&jobUrl=https%3A%2F%2Fci.eclipse.org%2Fkapua%2Fjob%2Fdevelop%2F&label=Jenkins%20CI&passed_label=%E2%9C%85&skipped_label=%E2%9D%95&logo=jenkins) <br/>

[Eclipse Kapua&trade;](http://eclipse.org/kapua) is a modular platform providing the services required to manage IoT gateways and smart edge devices. Kapua provides a core integration framework and an initial set of core IoT services including a device registry, device management services, messaging services, data management, and application enablement.

Expand Down
21 changes: 9 additions & 12 deletions build-tools/src/main/resources/checkstyle/kapua.suppressions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,23 @@

Contributors:
Red Hat Inc - initial API and implementation
Eurotech
-->

<!DOCTYPE suppressions PUBLIC "-//Puppy Crawl//DTD Suppressions 1.1//EN" "http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">
<!DOCTYPE suppressions PUBLIC
"-//Puppy Crawl//DTD Suppressions 1.1//EN"
"http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">

<suppressions>
<!-- ignore headers in package-info.java files -->
<!-- Ignore headers in package-info.java files -->
<suppress checks="RegexpHeader" files="package-info\.java"/>

<!-- ignore all files in target/ folder -->
<!-- Ignore all files in target/ folder -->
<suppress checks=".*" files=".*[\\\/]?target[\\\/].+\.java"/>

<!-- ignore .repository folder for Jenkins build -->
<suppress checks=".*" files="\.repository[\\\/]?.*" />
<!-- Ignore .repository folder for Jenkins build -->
<suppress checks=".*" files="\.repository[\\\/]?.*"/>

<!-- ignore the about.html file -->
<!-- Ignore the about.html file -->
<suppress checks="FileTabCharacter" files="about\.html"/>

<!-- ignore backport of SLF4J logging from EclipseLink -->
<suppress checks=".*" files="org.eclipse.persistence.logging.slf4j.*" />

<!-- ignore console-v2 folder -->
<suppress checks=".*" files="console-v2[\\\/]?.*" />
</suppressions>
6 changes: 1 addition & 5 deletions build-tools/src/main/toolchains/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,4 @@ Or (when using `dnf` instead of `yum`):

dnf install java-1.6.0-openjdk-devel java-1.7.0-openjdk-devel java-1.8.0-openjdk-devel

Either copy or sym-link this file to `~/.m2/toolchains.xml` to activate it.

## `travis-ci.xml`

This file is for the [Travis CI](https://travis-ci.org/) environment.
Either copy or sym-link this file to `~/.m2/toolchains.xml` to activate it.
27 changes: 0 additions & 27 deletions build-tools/src/main/toolchains/travis-ci.xml

This file was deleted.

2 changes: 1 addition & 1 deletion ci-output.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ on_error() {
}
trap 'on_error' ERR

### Build heartbeat process (Travis kills processes with no output)
### Build heartbeat process

bash -c "while true; do echo Building Kapua...; sleep 30; done" &
HEARTBEAT_PROCESS_PID=$!
Expand Down
6 changes: 3 additions & 3 deletions docs/developer-guide/en/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ To build documentation, run `gitbook build` from either `docs/developer-guide/en

## Continuous integration

Kapua is running CI builds against two public environments:
Kapua is running CI builds in the following public environments:

- Travis CI [![Build](https://api.travis-ci.org/eclipse/kapua.svg)](https://travis-ci.org/eclipse/kapua/)
- Eclipse Hudson [![Hudson](https://img.shields.io/jenkins/s/https/hudson.eclipse.org/kapua/job/Develop.svg)](https://hudson.eclipse.org/kapua/)
- GitHub Actions ![GitHub Actions CI](https://img.shields.io/github/workflow/status/eclipse/kapua/kapua-continuous-integration?label=GitHub%20Action%20CI&logo=GitHub)
- Eclipse Hudson ![Hudson](https://img.shields.io/jenkins/build?jobUrl=https:%2F%2Fci.eclipse.org%2Fkapua%2Fjob%2Fdevelop-build&label=Jenkins%20Build)

Please be sure that both environments are "green" (i.e. all tests pass) after you commit any changes into `develop` branch.

Expand Down
5 changes: 2 additions & 3 deletions docs/developer-guide/en/qa.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
This chapter describes a quality assurance process of Kapua. Before you commit changes to the `develop` branch, be sure that you have followed those steps:

1. Run `mvn clean install -DskipTests -Pconsole,docker` and then `mvn clean install` command to see if all the tests pass correctly
2. Push changes to you remote repository and wait for the Travis to complete successfully (there should be no test failures, CI environments should always be green):
- Travis CI [![Build](https://api.travis-ci.org/eclipse/kapua.svg)](https://travis-ci.org/eclipse/kapua/)
- Jenkins CI [![Jenkins](https://img.shields.io/jenkins/build/https/ci.eclipse.org/kapua/job/Develop.svg)](https://ci.eclipse.org/kapua/)
2. Push changes to you remote repository and wait for the CI to complete successfully (there should be no test failures, CI environments should always be green):
- GitHub Actions CI ![GitHub CI](https://img.shields.io/github/workflow/status/eclipse/kapua/kapua-continuous-integration?label=GitHub%20Action%20CI&logo=GitHub)

## Cucumber Specifics In Kapua project

Expand Down
15 changes: 0 additions & 15 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -451,21 +451,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<!-- Travis has an overall 3GB limit -->
<argLine>@{argLine} -Xmx1024m</argLine>
<systemPropertyVariables>
<cucumber.options>--tags ~@rest</cucumber.options>
<commons.db.schema>kapuadb</commons.db.schema>
<commons.settings.hotswap>true</commons.settings.hotswap>
<broker.host>localhost</broker.host>
<jetty.war.file>target/war/api.war</jetty.war.file>
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
Expand Down