Skip to content

Commit

Permalink
Merge pull request #2384 from rohanKanojia/pr/issue1714
Browse files Browse the repository at this point in the history
  • Loading branch information
fusesource-ci committed Aug 7, 2020
2 parents 50c1e8d + 8c8c909 commit fa4e44d
Show file tree
Hide file tree
Showing 9 changed files with 62 additions and 832 deletions.
50 changes: 0 additions & 50 deletions .circleci/config.yml

This file was deleted.

27 changes: 20 additions & 7 deletions circle.yml → .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,24 @@
# limitations under the License.
#

dependencies:
override:
- mvn install -DskipTests -U
test:
post:
- mkdir -p $CIRCLE_TEST_REPORTS/junit/
- find . -type f -regex ".*/target/.*-reports/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;
name: Build

on:
push:
branches:
- master
pull_request:

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Java 11
uses: actions/setup-java@v1
with:
java-version: '11'
- name: Check License Headers
run: mvn clean install
43 changes: 21 additions & 22 deletions scripts/release.sh → .github/workflows/javadocs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/bin/bash
#
# Copyright (C) 2015 Red Hat, Inc.
#
Expand All @@ -15,24 +14,24 @@
# limitations under the License.
#

#!/bin/bash

set -x

project="fabric8io/kubernetes-client"
use_git_tag_next_version="true"
artifact_id_to_watch_in_central="kubernetes-client"

git config --global user.email fabric8cd@gmail.com
git config --global user.name fabric8-cd

source ./scripts/utils.sh

# stage
output=$(stage_project)
echo $output

# promote
release_sonatype_repo
wait_until_artifacts_are_synced_in_central

name: JavaDocs

on:
push:
branches:
- master
pull_request:

jobs:
javadoc:
name: JavaDocs
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Java 11
uses: actions/setup-java@v1
with:
java-version: '11'
- name: Check License Headers
run: mvn clean install javadoc:jar -DskipTests -Pjavadoc-test
26 changes: 21 additions & 5 deletions scripts/prepare-environment.sh → .github/workflows/license.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,24 @@
# limitations under the License.
#

echo $SETTINGS_XML | base64 --decode > $HOME/.m2/settings.xml
echo $PUBRING | base64 --decode > $HOME/.gnupg/pubring.gpg
echo $SEC_JENKINS | base64 --decode > $HOME/.gnupg/sec_jenkins.gpg
echo $SECRING | base64 --decode > $HOME/.gnupg/secring.gpg
echo $TRUSTDB | base64 --decode > $HOME/.gnupg/trustdb.gpg
name: License

on:
push:
branches:
- master
pull_request:

jobs:
license-check:
name: License Check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Java 11
uses: actions/setup-java@v1
with:
java-version: '11'
- name: Check License Headers
run: mvn -N license:check
92 changes: 0 additions & 92 deletions release.groovy

This file was deleted.

44 changes: 0 additions & 44 deletions release.sh

This file was deleted.

0 comments on commit fa4e44d

Please sign in to comment.