-
Notifications
You must be signed in to change notification settings - Fork 297
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stop using JCenter for publishing (#469)
Main goal of this change is to phase out the use of JCenter before it is [sunset]. [sunset]: https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/ The following updates have been made: - Move from TravisCI to Github Actions. - Update to latest Nebula plugins. - Update to latest Gradle and codequality plugins. - Fix a few issues flagged by updated codequality plugins. - Remove API compatibility check. This broke for some and given the current state of Servo, it was just removed rather than trying to fix.
- Loading branch information
1 parent
7810bb7
commit e29abcf
Showing
20 changed files
with
261 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: PR Build | ||
|
||
on: [pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
java: [8, 11, 15] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Set up JDK ${{ matrix.java }} | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: ${{ matrix.java }} | ||
- uses: actions/cache@v2 | ||
id: gradle-cache | ||
with: | ||
path: | | ||
~/.gradle/caches | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | ||
- uses: actions/cache@v2 | ||
id: gradle-wrapper-cache | ||
with: | ||
path: | | ||
~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradlewrapper-${{ hashFiles('gradle/wrapper/*') }} | ||
- name: Build | ||
run: ./gradlew build | ||
validation: | ||
name: "Gradle Validation" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: gradle/wrapper-validation-action@v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- v[0-9]+.[0-9]+.[0-9]+ | ||
- v[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+ | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up JDK | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 8 | ||
- uses: actions/cache@v2 | ||
id: gradle-cache | ||
with: | ||
path: | | ||
~/.gradle/caches | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | ||
- uses: actions/cache@v2 | ||
id: gradle-wrapper-cache | ||
with: | ||
path: | | ||
~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradlewrapper-${{ hashFiles('gradle/wrapper/*') }} | ||
- name: Build candidate | ||
if: contains(github.ref, '-rc.') | ||
run: ./gradlew --info --stacktrace -Prelease.useLastTag=true candidate | ||
env: | ||
NETFLIX_OSS_SIGNING_KEY: ${{ secrets.ORG_SIGNING_KEY }} | ||
NETFLIX_OSS_SIGNING_PASSWORD: ${{ secrets.ORG_SIGNING_PASSWORD }} | ||
NETFLIX_OSS_REPO_USERNAME: ${{ secrets.ORG_NETFLIXOSS_USERNAME }} | ||
NETFLIX_OSS_REPO_PASSWORD: ${{ secrets.ORG_NETFLIXOSS_PASSWORD }} | ||
- name: Build release | ||
if: (!contains(github.ref, '-rc.')) | ||
run: ./gradlew --info -Prelease.useLastTag=true final | ||
env: | ||
NETFLIX_OSS_SONATYPE_USERNAME: ${{ secrets.ORG_SONATYPE_USERNAME }} | ||
NETFLIX_OSS_SONATYPE_PASSWORD: ${{ secrets.ORG_SONATYPE_PASSWORD }} | ||
NETFLIX_OSS_SIGNING_KEY: ${{ secrets.ORG_SIGNING_KEY }} | ||
NETFLIX_OSS_SIGNING_PASSWORD: ${{ secrets.ORG_SIGNING_PASSWORD }} | ||
NETFLIX_OSS_REPO_USERNAME: ${{ secrets.ORG_NETFLIXOSS_USERNAME }} | ||
NETFLIX_OSS_REPO_PASSWORD: ${{ secrets.ORG_NETFLIXOSS_PASSWORD }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Snapshot | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Set up JDK | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 8 | ||
- uses: actions/cache@v2 | ||
id: gradle-cache | ||
with: | ||
path: | | ||
~/.gradle/caches | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | ||
- uses: actions/cache@v2 | ||
id: gradle-wrapper-cache | ||
with: | ||
path: | | ||
~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradlewrapper-${{ hashFiles('gradle/wrapper/*') }} | ||
- name: Build | ||
run: ./gradlew build snapshot | ||
env: | ||
NETFLIX_OSS_SIGNING_KEY: ${{ secrets.ORG_SIGNING_KEY }} | ||
NETFLIX_OSS_SIGNING_PASSWORD: ${{ secrets.ORG_SIGNING_PASSWORD }} | ||
NETFLIX_OSS_REPO_USERNAME: ${{ secrets.ORG_NETFLIXOSS_USERNAME }} | ||
NETFLIX_OSS_REPO_PASSWORD: ${{ secrets.ORG_NETFLIXOSS_PASSWORD }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<FindBugsFilter> | ||
<Match> | ||
<And> | ||
<Class name="com.netflix.spectator.impl.Scheduler$DelayedTask"/> | ||
<Bug pattern="EQ_COMPARETO_USE_OBJECT_EQUALS"/> | ||
</And> | ||
</Match> | ||
<Match> | ||
<And> | ||
<Class name="com.netflix.spectator.sandbox.HttpResponse"/> | ||
<Bug pattern="EI_EXPOSE_REP"/> | ||
</And> | ||
</Match> | ||
<Match> | ||
<And> | ||
<Class name="com.netflix.spectator.sandbox.HttpResponse"/> | ||
<Bug pattern="EI_EXPOSE_REP2"/> | ||
</And> | ||
</Match> | ||
<Match> | ||
<And> | ||
<Class name="com.netflix.spectator.sandbox.HttpRequestBuilder"/> | ||
<Bug pattern="EI_EXPOSE_REP2"/> | ||
</And> | ||
</Match> | ||
<Match> | ||
<And> | ||
<Class name="com.netflix.spectator.ipc.http.HttpResponse"/> | ||
<Bug pattern="EI_EXPOSE_REP"/> | ||
</And> | ||
</Match> | ||
<Match> | ||
<And> | ||
<Class name="com.netflix.spectator.ipc.http.HttpResponse"/> | ||
<Bug pattern="EI_EXPOSE_REP2"/> | ||
</And> | ||
</Match> | ||
<Match> | ||
<And> | ||
<Class name="com.netflix.spectator.ipc.http.HttpRequestBuilder"/> | ||
<Bug pattern="EI_EXPOSE_REP2"/> | ||
</And> | ||
</Match> | ||
<Match> | ||
<And> | ||
<Class name="com.netflix.spectator.api.patterns.LongTaskTimer"/> | ||
<Bug pattern="NM_SAME_SIMPLE_NAME_AS_INTERFACE"/> | ||
</And> | ||
</Match> | ||
<Match> | ||
<And> | ||
<Class name="com.netflix.spectator.impl.AsciiSet"/> | ||
<Bug pattern="REC_CATCH_EXCEPTION"/> | ||
</And> | ||
</Match> | ||
<Match> | ||
<And> | ||
<Class name="com.netflix.spectator.impl.matcher.Parser"/> | ||
<Bug pattern="SF_SWITCH_FALLTHROUGH"/> | ||
</And> | ||
</Match> | ||
<Match> | ||
<And> | ||
<Class name="com.netflix.spectator.api.Clock"/> | ||
<Bug pattern="IC_SUPERCLASS_USES_SUBCLASS_DURING_INITIALIZATION"/> | ||
</And> | ||
</Match> | ||
</FindBugsFilter> |
Binary file not shown.
Binary file not shown.
Oops, something went wrong.