-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into ALFREDAPI-535/merge
- Loading branch information
Showing
355 changed files
with
6,561 additions
and
7,831 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
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 |
---|---|---|
@@ -1,21 +1,16 @@ | ||
name: 'Continuous Integration' | ||
on: | ||
push: | ||
branches: | ||
- 'master*' | ||
- 'release*' | ||
pull_request: | ||
workflow_dispatch: | ||
env: | ||
ALFRESCO_NEXUS_USERNAME: ${{ secrets.ALFRESCO_NEXUS_USERNAME }} | ||
ALFRESCO_NEXUS_PASSWORD: ${{ secrets.ALFRESCO_NEXUS_PASSWORD }} | ||
CLOUDSMITH_USER: ${{ secrets.CLOUDSMITH_USER }} | ||
CLOUDSMITH_APIKEY: ${{ secrets.CLOUDSMITH_APIKEY }} | ||
jobs: | ||
BuildAndPublish: | ||
strategy: | ||
matrix: | ||
alfresco_version: [ 62, 70, 71, 72, 73 ] | ||
alfresco_version: [ 70, 71, 72, 73, 74 ] | ||
fail-fast: false | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out | ||
|
@@ -31,28 +26,23 @@ jobs: | |
registry: private.docker.xenit.eu | ||
username: ${{ secrets.CLOUDSMITH_USER }} | ||
password: ${{ secrets.CLOUDSMITH_APIKEY }} | ||
|
||
- name: Build interface # Execute before integration testing to catch errors early | ||
uses: gradle/[email protected] | ||
with: | ||
arguments: :apix-interface:build :apix-interface:javadoc | ||
|
||
- name: Unit test REST API | ||
uses: gradle/gradle-build-action@v2.3.0 | ||
uses: gradle/gradle-build-action@v2.4.2 | ||
with: | ||
arguments: --info :apix-rest-v1:test | ||
- name: Build and test | ||
uses: gradle/gradle-build-action@v2.3.0 | ||
uses: gradle/gradle-build-action@v2.4.2 | ||
with: | ||
arguments: >- | ||
--info | ||
:apix-impl:apix-impl-${{ matrix.alfresco_version }}:test | ||
:apix-integrationtests:test-${{ matrix.alfresco_version }}:integrationTest | ||
- name: Upload test reports | ||
if: always() | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: test-result | ||
path: /home/runner/work/**/build/reports | ||
retention-days: 2 | ||
:apix-integrationtests:alfresco:${{ matrix.alfresco_version }}:integrationTest | ||
- name: Publish Test Report | ||
uses: mikepenz/[email protected] | ||
if: success() || failure() | ||
|
@@ -63,8 +53,8 @@ jobs: | |
detailed_summary: true | ||
|
||
- name: Publish | ||
if: ${{ startsWith(github.ref, 'refs/heads/master') || startsWith(github.ref, 'refs/heads/release') }} | ||
uses: gradle/gradle-build-action@v2.3.0 | ||
if: ${{ startsWith(github.ref, 'refs/heads/master') || startsWith(github.ref, 'refs/heads/release') }}" | ||
uses: gradle/gradle-build-action@v2.4.2 | ||
env: | ||
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.MAVEN_CENTRAL_GPG_KEY }} | ||
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.MAVEN_CENTRAL_GPG_PASSWORD }} | ||
|
@@ -75,4 +65,4 @@ jobs: | |
arguments: >- | ||
--info -PsigningKeyId=DF8285F0 | ||
:apix-interface:publish | ||
:apix-impl:apix-impl-${{ matrix.alfresco_version }}:publish | ||
:alfresco:${{ matrix.alfresco_version }}:publish |
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
_idea_runConfigurations/Integration_tests_51__JUnit___1_.xml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
ext { | ||
alfresco_version = "7.0.0" | ||
alfresco_min_version = alfresco_version.substring(0, 3) + ".0" | ||
alfresco_max_version = alfresco_version.substring(0, 3) + ".99" | ||
} |
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,5 @@ | ||
ext { | ||
alfresco_version = "7.1.1" | ||
alfresco_min_version = alfresco_version.substring(0, 3) + ".0" | ||
alfresco_max_version = alfresco_version.substring(0, 3) + ".99" | ||
} |
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,5 @@ | ||
ext { | ||
alfresco_version = "7.2.1" | ||
alfresco_min_version = alfresco_version.substring(0, 3) + ".0" | ||
alfresco_max_version = alfresco_version.substring(0, 3) + ".99" | ||
} |
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,7 @@ | ||
description = "Xenit Alfred API implementation Alfresco 7.3" | ||
|
||
ext { | ||
alfresco_version = '7.3.1' | ||
alfresco_min_version = alfresco_version.substring(0, 3) + ".0" | ||
alfresco_max_version = alfresco_version.substring(0, 3) + ".99" | ||
} |
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,8 @@ | ||
description = "Xenit Alfred API implementation Alfresco 7.4" | ||
|
||
ext { | ||
alfresco_version = '7.4.0' | ||
alfresco_min_version = alfresco_version.substring(0, 3) + ".0" | ||
//Not setting alfresco_max_version here to make it easier to test on next Alfresco version (only for latest version) | ||
alfresco_max_version = null // explicit null to overwrite properties from other projects | ||
} |
Oops, something went wrong.