You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2021/03/12 06:56:16 UTC

[isis-app-simpleapp] branch jdo-SNAPSHOT updated (95385d8 -> 48eb5c7)

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

danhaywood pushed a change to branch jdo-SNAPSHOT
in repository https://gitbox.apache.org/repos/asf/isis-app-simpleapp.git.


    from 95385d8  adds matrix support
     new b4fea9f  debugging failed build and versoin
     new 48eb5c7  renames workflow file

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:
 .github/workflows/mavenJdk8.yml | 100 ----------------------------------------
 1 file changed, 100 deletions(-)
 delete mode 100644 .github/workflows/mavenJdk8.yml


[isis-app-simpleapp] 01/02: debugging failed build and versoin

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

danhaywood pushed a commit to branch jdo-SNAPSHOT
in repository https://gitbox.apache.org/repos/asf/isis-app-simpleapp.git

commit b4fea9faeb4b3db87a17dd0855fd6068a8c00bc2
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Fri Mar 12 06:54:56 2021 +0000

    debugging failed build and versoin
---
 .github/workflows/mavenJdk8.yml | 66 ++++++++++++++++++++++-------------------
 1 file changed, 35 insertions(+), 31 deletions(-)

diff --git a/.github/workflows/mavenJdk8.yml b/.github/workflows/mavenJdk8.yml
index c190a0b..0ca3201 100644
--- a/.github/workflows/mavenJdk8.yml
+++ b/.github/workflows/mavenJdk8.yml
@@ -63,38 +63,42 @@ jobs:
         BASELINE=$(cat pom.xml | grep "<version>" | head -1 | awk -F'>' '{print $2}' | awk -F'<' '{print $1}')
         SHA_ID=$(echo $GITHUB_SHA | cut -c1-8)
         REVISION=${BASELINE}.$(date +%Y%m%d-%H%M)-${SHA_ID}
+        echo "REVISION  : $REVISION"
+        echo "REVISION  : $REVISION"
+        echo "REVISION  : $REVISION"
+        echo "REVISION  : $REVISION"
         echo "##[set-output name=revision;]${REVISION}"
 
-    - name: Share $REVISION as Environment Variable
-      run: echo "REVISION=${{ steps.revision.outputs.revision }}" >> $GITHUB_ENV
-
-    - name: Print $REVISION
-      shell: bash
-      run: |
-        echo ==============  ENV  =================
-        echo REVISION            \: $REVISION
-        echo ======================================
-
-    - name: Update Maven version
-      shell: bash
-      run: |
-        mvn versions:set -DnewVersion=$REVISION
-
-    - name: Print pom.xml
-      shell: bash
-      run: |
-        cat pom.xml
-
-    - name: Build with Maven
-      shell: bash
-      run: |
-        mvn install
-
-# uncomment and set environment variables to push to Docker registry
-#    - name: Build and Push Docker Image
+#    - name: Share $REVISION as Environment Variable
+#      run: echo "REVISION=${{ steps.revision.outputs.revision }}" >> $GITHUB_ENV
+#
+#    - name: Print $REVISION
+#      shell: bash
+#      run: |
+#        echo ==============  ENV  =================
+#        echo REVISION            \: $REVISION
+#        echo ======================================
+#
+#    - name: Update Maven version
+#      shell: bash
+#      run: |
+#        mvn versions:set -DnewVersion=$REVISION
+#
+#    - name: Print pom.xml
+#      shell: bash
+#      run: |
+#        cat pom.xml
+#
+#    - name: Build with Maven
 #      shell: bash
 #      run: |
-#        mvn -pl webapp -Ddocker jib:build
-#      env:
-#        DOCKER_REGISTRY_USERNAME: ${{ secrets.DOCKER_REGISTRY_USERNAME }}
-#        DOCKER_REGISTRY_PASSWORD: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
+#        mvn install
+#
+## uncomment and set environment variables to push to Docker registry
+##    - name: Build and Push Docker Image
+##      shell: bash
+##      run: |
+##        mvn -pl webapp -Ddocker jib:build
+##      env:
+##        DOCKER_REGISTRY_USERNAME: ${{ secrets.DOCKER_REGISTRY_USERNAME }}
+##        DOCKER_REGISTRY_PASSWORD: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}


[isis-app-simpleapp] 02/02: renames workflow file

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

danhaywood pushed a commit to branch jdo-SNAPSHOT
in repository https://gitbox.apache.org/repos/asf/isis-app-simpleapp.git

commit 48eb5c75c1a3625728f69e6cff5fb22b800f82af
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Fri Mar 12 06:56:06 2021 +0000

    renames workflow file
---
 .github/workflows/mavenJdk8.yml | 104 ----------------------------------------
 1 file changed, 104 deletions(-)

diff --git a/.github/workflows/mavenJdk8.yml b/.github/workflows/mavenJdk8.yml
deleted file mode 100644
index 0ca3201..0000000
--- a/.github/workflows/mavenJdk8.yml
+++ /dev/null
@@ -1,104 +0,0 @@
-name: Build and Test
-
-on:
-  push:
-    branches:
-      - jdo
-      - jpa
-      - jdo-SNAPSHOT
-      - jpa-SNAPSHOT
-  pull_request:
-    branches:
-      - jdo
-      - jpa
-      - jdo-SNAPSHOT
-      - jpa-SNAPSHOT
-
-jobs:
-  build:
-    name: Build, Test
-    runs-on: ubuntu-latest
-
-    strategy:
-      matrix:
-        java-version:
-          - 1.8
-          - 15
-
-    steps:
-    - name: Checkout repo
-      uses: actions/checkout@v2.3.3
-
-    - name: Set up JDK ${{ matrix.java-version }}
-      uses: actions/setup-java@v1
-      with:
-        java-version: ${{ matrix.java-version }}
-
-    - name: Print Maven Version
-      run: mvn --version
-
-    - name: Activate Cache for Maven Downloads
-      uses: actions/cache@v2
-      env:
-        cache-name: cache-maven-modules
-      with:
-        path: ~/.m2/repository
-        key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
-        restore-keys: |
-          ${{ runner.os }}-build-${{ env.cache-name }}-
-          ${{ runner.os }}-build-
-          ${{ runner.os }}-
-
-    - name: Calculate $REVISION
-      id: revision
-      shell: bash
-      run: |
-        ON_SNAPSHOT=$(echo $GITHUB_REF | grep SNAPSHOT)
-        if [[ $ON_SNAPSHOT != "" ]]
-        then
-          PARENT=$(curl -X GET "https://nexus.incode.work/service/rest/v1/search?sort=version&repository=nightly-builds&group=org.apache.isis.app&name=isis-app-starter-parent" -H "accept: application/json" -s | jq '.items[0].version' | sed 's/"//g')
-          echo "parentVersion = $PARENT"
-          mvn versions:update-parent -DparentVersion="[$PARENT]"
-        fi
-        BASELINE=$(cat pom.xml | grep "<version>" | head -1 | awk -F'>' '{print $2}' | awk -F'<' '{print $1}')
-        SHA_ID=$(echo $GITHUB_SHA | cut -c1-8)
-        REVISION=${BASELINE}.$(date +%Y%m%d-%H%M)-${SHA_ID}
-        echo "REVISION  : $REVISION"
-        echo "REVISION  : $REVISION"
-        echo "REVISION  : $REVISION"
-        echo "REVISION  : $REVISION"
-        echo "##[set-output name=revision;]${REVISION}"
-
-#    - name: Share $REVISION as Environment Variable
-#      run: echo "REVISION=${{ steps.revision.outputs.revision }}" >> $GITHUB_ENV
-#
-#    - name: Print $REVISION
-#      shell: bash
-#      run: |
-#        echo ==============  ENV  =================
-#        echo REVISION            \: $REVISION
-#        echo ======================================
-#
-#    - name: Update Maven version
-#      shell: bash
-#      run: |
-#        mvn versions:set -DnewVersion=$REVISION
-#
-#    - name: Print pom.xml
-#      shell: bash
-#      run: |
-#        cat pom.xml
-#
-#    - name: Build with Maven
-#      shell: bash
-#      run: |
-#        mvn install
-#
-## uncomment and set environment variables to push to Docker registry
-##    - name: Build and Push Docker Image
-##      shell: bash
-##      run: |
-##        mvn -pl webapp -Ddocker jib:build
-##      env:
-##        DOCKER_REGISTRY_USERNAME: ${{ secrets.DOCKER_REGISTRY_USERNAME }}
-##        DOCKER_REGISTRY_PASSWORD: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}