You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@archiva.apache.org by ol...@apache.org on 2022/04/10 02:49:11 UTC

[archiva-redback-core] branch master updated (0f83a2bc -> d5f3cfe0)

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

olamy pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/archiva-redback-core.git


    from 0f83a2bc Fixing RAT excludes
     new f1d6d0e8 test gh action
     new d5f3cfe0 get rid of travis

The 2 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.


Summary of changes:
 .../mail.properties => .github/release-drafter.yml |  5 +++--
 .github/workflows/maven.yml                        |  8 ++++----
 .../release-drafter.yml}                           | 23 +++++++++++-----------
 .travis.yml                                        | 16 ---------------
 4 files changed, 19 insertions(+), 33 deletions(-)
 copy redback-integrations/redback-common-integrations/src/test/config/mail.properties => .github/release-drafter.yml (85%)
 copy .github/{dependabot.yml => workflows/release-drafter.yml} (76%)
 delete mode 100644 .travis.yml


[archiva-redback-core] 01/02: test gh action

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

olamy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/archiva-redback-core.git

commit f1d6d0e84a01621acd77822c51e2c64afac492ff
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Sun Apr 10 12:38:09 2022 +1000

    test gh action
    
    Signed-off-by: Olivier Lamy <ol...@apache.org>
---
 .../{workflows/maven.yml => release-drafter.yml}   | 34 ++------------------
 .github/workflows/maven.yml                        |  8 ++---
 .../workflows/{maven.yml => release-drafter.yml}   | 36 +++++-----------------
 3 files changed, 14 insertions(+), 64 deletions(-)

diff --git a/.github/workflows/maven.yml b/.github/release-drafter.yml
similarity index 58%
copy from .github/workflows/maven.yml
copy to .github/release-drafter.yml
index 0e1731e0..9d4314a7 100644
--- a/.github/workflows/maven.yml
+++ b/.github/release-drafter.yml
@@ -15,35 +15,5 @@
 # specific language governing permissions and limitations
 # under the License.
 
-name: GitHub CI
-
-on:
-  push:
-    branches-ignore:
-      - dependabot/**
-  pull_request:
-
-jobs:
-  build:
-
-    strategy:
-      matrix:
-        os: [ubuntu-latest, windows-latest]
-        java: [8, 11]
-      fail-fast: false
-
-    runs-on: ${{ matrix.os }}
-
-    steps:
-      - name: Checkout
-        uses: actions/checkout@v2
-
-      - name: Set up JDK
-        uses: actions/setup-java@v2.5.0
-        with:
-          distribution: adopt
-          java-version: ${{ matrix.java }}
-          cache: 'maven'
-
-      - name: Build with Maven
-        run: mvn -e -B -V verify
+_extends: archiva-parent
+tag-template: redback-2.6.x-$NEXT_MINOR_VERSION
\ No newline at end of file
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 0e1731e0..c8d415d8 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -19,8 +19,6 @@ name: GitHub CI
 
 on:
   push:
-    branches-ignore:
-      - dependabot/**
   pull_request:
 
 jobs:
@@ -30,7 +28,7 @@ jobs:
       matrix:
         os: [ubuntu-latest, windows-latest]
         java: [8, 11]
-      fail-fast: false
+      fail-fast: true
 
     runs-on: ${{ matrix.os }}
 
@@ -42,8 +40,10 @@ jobs:
         uses: actions/setup-java@v2.5.0
         with:
           distribution: adopt
+          distribution: temurin
           java-version: ${{ matrix.java }}
           cache: 'maven'
 
       - name: Build with Maven
-        run: mvn -e -B -V verify
+        run: mvn -e -B -V install
+
diff --git a/.github/workflows/maven.yml b/.github/workflows/release-drafter.yml
similarity index 60%
copy from .github/workflows/maven.yml
copy to .github/workflows/release-drafter.yml
index 0e1731e0..11a02029 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/release-drafter.yml
@@ -15,35 +15,15 @@
 # specific language governing permissions and limitations
 # under the License.
 
-name: GitHub CI
-
+name: Release Drafter
 on:
   push:
-    branches-ignore:
-      - dependabot/**
-  pull_request:
-
+    branches:
+      - archiva-2.x
 jobs:
-  build:
-
-    strategy:
-      matrix:
-        os: [ubuntu-latest, windows-latest]
-        java: [8, 11]
-      fail-fast: false
-
-    runs-on: ${{ matrix.os }}
-
+  update_release_draft:
+    runs-on: ubuntu-latest
     steps:
-      - name: Checkout
-        uses: actions/checkout@v2
-
-      - name: Set up JDK
-        uses: actions/setup-java@v2.5.0
-        with:
-          distribution: adopt
-          java-version: ${{ matrix.java }}
-          cache: 'maven'
-
-      - name: Build with Maven
-        run: mvn -e -B -V verify
+      - uses: release-drafter/release-drafter@v5
+        env:
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
\ No newline at end of file


[archiva-redback-core] 02/02: get rid of travis

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

olamy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/archiva-redback-core.git

commit d5f3cfe0cec13783c25b7e2174ae73956e30df4f
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Sun Apr 10 12:49:02 2022 +1000

    get rid of travis
    
    Signed-off-by: Olivier Lamy <ol...@apache.org>
---
 .travis.yml | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 37b50339..00000000
--- a/.travis.yml
+++ /dev/null
@@ -1,16 +0,0 @@
-language: java
-dist: bionic
-jdk:
-  - openjdk8
-
-script: "mvn clean install"
-
-cache:
-    directories:
-    - $HOME/.m2
-branches:
-    except:
-        - gh-pages
-notifications:
-    email:
-        - olamy@apache.org