Compare commits

..
72 Commits
Author SHA1 Message Date
Travis CI User 0acda9915d [maven-release-plugin][skip ci] prepare release 7.3.0-A11 2022-08-14 02:56:47 +00:00
Travis CI User de362015da [release] 7.3.0-A11
Update upstream versions
    - alfresco-community-repo:   17.86
    - alfresco-enterprise-share: 17.62
    - acs-packaging:             7.3.0-A11
    - RELEASE_VERSION:           7.3.0-A11
    - DEVELOPMENT_VERSION:       7.3.0-A12-SNAPSHOT
2022-08-14 01:52:56 +00:00
Domenico Sibilio 3a570f58ee ACS-3347 Upgrade to Java 17 (#1486) 2022-08-02 12:34:28 +02:00
Travis CI User af906b7031 [maven-release-plugin][skip ci] prepare for next development iteration 2022-08-02 10:10:32 +00:00
Travis CI User ae734570fd [maven-release-plugin][skip ci] prepare release 7.3.0-A10 2022-08-02 10:10:30 +00:00
Travis CI User dd04302da0 [release] 7.3.0-A10
Update upstream versions
    - alfresco-community-repo:   17.62
    - alfresco-enterprise-share: 17.52
    - acs-packaging:             7.3.0-A10
    - RELEASE_VERSION:           7.3.0-A10
    - DEVELOPMENT_VERSION:       7.3.0-A11-SNAPSHOT
2022-08-02 09:09:21 +00:00
Travis CI User c7d450f936 [maven-release-plugin][skip ci] prepare for next development iteration 2022-07-31 02:48:12 +00:00
Travis CI User e8729ddfac [maven-release-plugin][skip ci] prepare release 7.3.0-A9 2022-07-31 02:48:10 +00:00
Travis CI User 2305ae7a38 [release] 7.3.0-A9
Update upstream versions
    - alfresco-community-repo:   17.61
    - alfresco-enterprise-share: 17.50
    - acs-packaging:             7.3.0-A9
    - RELEASE_VERSION:           7.3.0-A9
    - DEVELOPMENT_VERSION:       7.3.0-A10-SNAPSHOT
2022-07-31 01:45:15 +00:00
dependabot[bot] 42aaf72c01 Bump groovy from 3.0.11 to 3.0.12 (#1483) 2022-07-29 08:23:51 +00:00
Damian Ujma f987808bc1 ACS-3306 Upgrade activemq to 5.17.X (#1484) 2022-07-28 10:04:16 +02:00
Domenico Sibilio 65d624b41e ACS-3342 Upgrade PostgreSQL to 14.4 (#1485) 2022-07-26 12:10:03 +02:00
Travis CI User 9b32310d5c [maven-release-plugin][skip ci] prepare for next development iteration 2022-07-25 10:53:48 +00:00
Travis CI User e5be1f0071 [maven-release-plugin][skip ci] prepare release 7.3.0-M2 2022-07-25 10:53:46 +00:00
Travis CI User 20ad6948fc [release] 7.3.0-M2
Update upstream versions
    - alfresco-community-repo:   17.50
    - alfresco-enterprise-share: 17.46
    - acs-packaging:             7.3.0-M2
    - RELEASE_VERSION:           7.3.0-M2
    - DEVELOPMENT_VERSION:       7.3.0-A9-SNAPSHOT
2022-07-25 09:47:44 +00:00
Travis CI User ca22c4e454 [maven-release-plugin][skip ci] prepare for next development iteration 2022-07-24 02:36:34 +00:00
Travis CI User fa5291e120 [maven-release-plugin][skip ci] prepare release 7.3.0-A8 2022-07-24 02:36:32 +00:00
Travis CI User 50af2aed48 [release] 7.3.0-A8
Update upstream versions
    - alfresco-community-repo:   17.50
    - alfresco-enterprise-share: 17.46
    - acs-packaging:             7.3.0-A8
    - RELEASE_VERSION:           7.3.0-A8
    - DEVELOPMENT_VERSION:       7.3.0-A9-SNAPSHOT
2022-07-24 01:35:21 +00:00
Travis CI User 9080b69020 [maven-release-plugin][skip ci] prepare for next development iteration 2022-07-19 03:48:58 +00:00
Travis CI User 04d31a7369 [maven-release-plugin][skip ci] prepare release 7.3.0-A7 2022-07-19 03:48:55 +00:00
Travis CI User e72a754fa4 [release] 7.3.0-A7
Update upstream versions
    - alfresco-community-repo:   17.48
    - alfresco-enterprise-share: 17.43
    - acs-packaging:             7.3.0-A7
    - RELEASE_VERSION:           7.3.0-A7
    - DEVELOPMENT_VERSION:       7.3.0-A8-SNAPSHOT
2022-07-19 02:47:41 +00:00
Travis CI User 400a8b44ca [maven-release-plugin][skip ci] prepare for next development iteration 2022-07-14 16:12:29 +00:00
Travis CI User 3510d794d8 [maven-release-plugin][skip ci] prepare release 7.3.0-A6 2022-07-14 16:12:27 +00:00
Travis CI User b8e1f1d11d [release] 7.3.0-A6
Update upstream versions
    - alfresco-community-repo:   17.43
    - alfresco-enterprise-share: 17.39
    - acs-packaging:             7.3.0-A6
    - RELEASE_VERSION:           7.3.0-A6
    - DEVELOPMENT_VERSION:       7.3.0-A7-SNAPSHOT
2022-07-14 14:54:47 +00:00
dependabot[bot] 6cc0116cdf Bump dependency.sis.version from 1.1 to 1.2 (#1479)
Bumps `dependency.sis.version` from 1.1 to 1.2.

Updates `sis-utility` from 1.1 to 1.2

Updates `sis-metadata` from 1.1 to 1.2

Updates `sis-storage` from 1.1 to 1.2

---
updated-dependencies:
- dependency-name: org.apache.sis.core:sis-utility
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.apache.sis.core:sis-metadata
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.apache.sis.storage:sis-storage
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-15 10:30:39 +02:00
dependabot[bot] f3038c9609 Bump assertj-core from 3.22.0 to 3.23.1 (#1480)
Bumps [assertj-core](https://github.com/assertj/assertj-core) from 3.22.0 to 3.23.1.
- [Release notes](https://github.com/assertj/assertj-core/releases)
- [Commits](https://github.com/assertj/assertj-core/compare/assertj-core-3.22.0...assertj-core-3.23.1)

---
updated-dependencies:
- dependency-name: org.assertj:assertj-core
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-15 09:57:42 +02:00
dependabot[bot] 0ef3819222 Bump groovy from 3.0.9 to 3.0.11 (#1481)
Bumps [groovy](https://github.com/apache/groovy) from 3.0.9 to 3.0.11.
- [Release notes](https://github.com/apache/groovy/releases)
- [Commits](https://github.com/apache/groovy/commits)

---
updated-dependencies:
- dependency-name: org.codehaus.groovy:groovy
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-15 09:57:28 +02:00
dependabot[bot] c06697bf8f Bump maven-model from 3.8.4 to 3.8.6 (#1482)
Bumps [maven-model](https://github.com/apache/maven) from 3.8.4 to 3.8.6.
- [Release notes](https://github.com/apache/maven/releases)
- [Commits](https://github.com/apache/maven/compare/maven-3.8.4...maven-3.8.6)

---
updated-dependencies:
- dependency-name: org.apache.maven:maven-model
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-15 09:57:01 +02:00
Travis CI User 1ab7a88af9 [maven-release-plugin][skip ci] prepare for next development iteration 2022-06-13 13:57:03 +00:00
Travis CI User 77ec2e3726 [maven-release-plugin][skip ci] prepare release 7.3.0-M1 2022-06-13 13:57:01 +00:00
Travis CI User 12daf19d5b [release] 7.3.0-M1
Update upstream versions
    - alfresco-community-repo:   17.13
    - alfresco-enterprise-share: 17.14
    - acs-packaging:             7.3.0-M1
    - RELEASE_VERSION:           7.3.0-M1
    - DEVELOPMENT_VERSION:       7.3.0-A6-SNAPSHOT
2022-06-13 12:50:48 +00:00
Travis CI User e29bab8ffe [maven-release-plugin][skip ci] prepare for next development iteration 2022-06-12 02:47:08 +00:00
Travis CI User 1143cd1015 [maven-release-plugin][skip ci] prepare release 7.3.0-A5 2022-06-12 02:47:06 +00:00
Travis CI User d7ce21b3b4 [release] 7.3.0-A5
Update upstream versions
    - alfresco-community-repo:   17.13
    - alfresco-enterprise-share: 17.14
    - acs-packaging:             7.3.0-A5
    - RELEASE_VERSION:           7.3.0-A5
    - DEVELOPMENT_VERSION:       7.3.0-A6-SNAPSHOT
2022-06-12 01:47:03 +00:00
Travis CI User a94a03cb59 [maven-release-plugin][skip ci] prepare for next development iteration 2022-06-05 02:40:18 +00:00
Travis CI User 54fc25409e [maven-release-plugin][skip ci] prepare release 7.3.0-A4 2022-06-05 02:40:17 +00:00
Travis CI User ab4bc47a07 [release] 7.3.0-A4
Update upstream versions
    - alfresco-community-repo:   17.11
    - alfresco-enterprise-share: 17.12
    - acs-packaging:             7.3.0-A4
    - RELEASE_VERSION:           7.3.0-A4
    - DEVELOPMENT_VERSION:       7.3.0-A5-SNAPSHOT
2022-06-05 01:41:04 +00:00
Travis CI User a85d57402c [maven-release-plugin][skip ci] prepare for next development iteration 2022-06-02 17:39:08 +00:00
Travis CI User c26fb7d27d [maven-release-plugin][skip ci] prepare release 7.3.0-A3 2022-06-02 17:39:06 +00:00
Travis CI User 170dfeeecd [release] 7.3.0-A3
Update upstream versions
    - alfresco-community-repo:   17.10
    - alfresco-enterprise-share: 17.11
    - acs-packaging:             7.3.0-A3
    - RELEASE_VERSION:           7.3.0-A3
    - DEVELOPMENT_VERSION:       7.3.0-A4-SNAPSHOT
2022-06-02 16:39:33 +00:00
Travis CI User ebe30818e2 [maven-release-plugin][skip ci] prepare for next development iteration 2022-05-30 10:17:20 +00:00
Travis CI User 1d8123d735 [maven-release-plugin][skip ci] prepare release 7.3.0-A2 2022-05-30 10:17:17 +00:00
Travis CI User cfa9c4886a [release] 7.3.0-A2
Update upstream versions
    - alfresco-community-repo:   17.6
    - alfresco-enterprise-share: 17.9
    - acs-packaging:             7.3.0-A2
    - RELEASE_VERSION:           7.3.0-A2
    - DEVELOPMENT_VERSION:       7.3.0-A3-SNAPSHOT
2022-05-29 01:44:51 +00:00
Travis CI User de8511e396 [maven-release-plugin][skip ci] prepare for next development iteration 2022-05-23 10:27:53 +00:00
Travis CI User 55368b5254 [maven-release-plugin][skip ci] prepare release 7.3.0-A1 2022-05-23 10:27:51 +00:00
Travis CI User db4f20e2f5 [release] 7.3.0-A1
Update upstream versions
    - alfresco-community-repo:   17.2
    - alfresco-enterprise-share: 17.3
    - acs-packaging:             7.3.0-A1
    - RELEASE_VERSION:           7.3.0-A1
    - DEVELOPMENT_VERSION:       7.3.0-A2-SNAPSHOT
2022-05-23 09:28:52 +00:00
alandavis b19f892689 Use 17.1 for ACS 7.3.0 2022-05-23 10:06:46 +01:00
alandavis 34d1221ef7 Stop incrementing version in copy, verify and release scripts [skip ci] 2022-05-19 12:22:46 +01:00
alandavis c439b51275 Change Master branch to 7.3.0 [skip ci] 2022-05-19 12:09:11 +01:00
Domenico Sibilio 0041f25619 Fix broken 'envUp' alias 2022-05-04 13:00:17 +02:00
Travis CI User 180e3a353a [maven-release-plugin][skip ci] prepare for next development iteration 2022-04-26 16:16:05 +00:00
Travis CI User dbaa53d12e [maven-release-plugin][skip ci] prepare release 23.1.0-M1 2022-04-26 16:16:03 +00:00
Travis CI User 4e2bca8799 [release] 23.1.0-M1
Update upstream versions
    - alfresco-community-repo:   23.1.0.24
    - alfresco-enterprise-share: 23.1.0.19
    - acs-packaging:             23.1.0-M1
    - RELEASE_VERSION:           23.1.0-M1
    - DEVELOPMENT_VERSION:       23.1.0-SNAPSHOT
2022-04-26 14:31:20 +00:00
alandavis dfe6a27785 ACS-2768 tidy up start-compose.sh 2022-04-26 12:33:47 +01:00
Travis CI User 120b5df54e [release] 23.1.0-A5
Update upstream versions
    - alfresco-community-repo:   23.1.0.24
    - alfresco-enterprise-share: 23.1.0.18
    - acs-packaging:             23.1.0-A5
    - RELEASE_VERSION:           23.1.0-A5
    - DEVELOPMENT_VERSION:       23.1.0-A6-SNAPSHOT
2022-04-24 03:01:44 +00:00
Kacper Magdziarz 298c55e75c ACS-2768 Fix of Automate update of t-router and t-engine references in repositories (#1473) 2022-04-21 23:36:33 +01:00
Travis CI User 6f604e8b36 [maven-release-plugin][skip ci] prepare for next development iteration 2022-04-15 17:05:57 +00:00
Travis CI User c6813e5831 [maven-release-plugin][skip ci] prepare release 23.1.0-A4 2022-04-15 17:05:55 +00:00
Travis CI User 455e01276f [release] 23.1.0-A4
Update upstream versions
    - alfresco-community-repo:   23.1.0.17
    - alfresco-enterprise-share: 23.1.0.13
    - acs-packaging:             23.1.0-A4
    - RELEASE_VERSION:           23.1.0-A4
    - DEVELOPMENT_VERSION:       23.1.0-A5-SNAPSHOT
2022-04-15 15:20:21 +00:00
Travis CI User fe5cffe9eb [maven-release-plugin][skip ci] prepare for next development iteration 2022-04-14 13:35:16 +00:00
Travis CI User 713683fcbe [maven-release-plugin][skip ci] prepare release 23.1.0-A3 2022-04-14 13:35:14 +00:00
Travis CI User 928cab113c [release] 23.1.0-A3
Update upstream versions
    - alfresco-community-repo:   23.1.0.17
    - alfresco-enterprise-share: 23.1.0.12
    - acs-packaging:             23.1.0-A3
    - RELEASE_VERSION:           23.1.0-A3
    - DEVELOPMENT_VERSION:       23.1.0-A4-SNAPSHOT
2022-04-14 11:52:19 +00:00
alandavis 8e3309825d Pick up t-core 2.6.0-A3 2022-04-13 19:45:50 +01:00
alandavis ce00290c4a ACS-2765 Upgrade to t-core 2.5.7 2022-04-06 12:06:43 +01:00
Travis CI User 4867fc3184 [maven-release-plugin][skip ci] prepare for next development iteration 2022-04-04 13:18:52 +00:00
Travis CI User dd2e4cef45 [maven-release-plugin][skip ci] prepare release 23.1.0-A2 2022-04-04 13:18:50 +00:00
Travis CI User e3b92fc5be [release] 23.1.0-A2
Update upstream versions
    - alfresco-community-repo:   23.1.0.6
    - alfresco-enterprise-share: 23.1.0.6
    - acs-packaging:             23.1.0-A2
    - RELEASE_VERSION:           23.1.0-A2
    - DEVELOPMENT_VERSION:       23.1.0-A3-SNAPSHOT
2022-04-04 11:32:48 +00:00
Travis CI User ab26a06320 [release] 23.1.0-A1
Update upstream versions
    - alfresco-community-repo:   23.1.0.4
    - alfresco-enterprise-share: 23.1.0.3
    - acs-packaging:             23.1.0-A1
    - RELEASE_VERSION:           23.1.0-A1
    - DEVELOPMENT_VERSION:       23.1.0-A2-SNAPSHOT
2022-03-27 04:21:13 +00:00
alandavis ad3f81a228 Update upstream versions
- alfresco-community-repo:   23.1.0.2
    - alfresco-enterprise-share: 23.1.0.1
2022-03-23 15:00:02 +00:00
alandavis 6542cb450f Switch messages and comments to 23.1.0 from 7.2.0 [skip ci] 2022-03-21 16:00:22 +00:00
alandavis d0f5c71fbd Switch messages and comments to 23.1.0 from 7.2.0 [skip ci] 2022-03-21 15:59:58 +00:00
alandavis c80456ab22 Switch master branch ready for 23.1.0 development
[skip ci] wait for manual build
2022-03-21 12:49:47 +00:00
37 changed files with 253 additions and 277 deletions
-215
View File
@@ -1,215 +0,0 @@
name: ACS Community Packaging CI
on:
pull_request:
branches:
- master
- release/**
- feature/**
- fix/**
push:
branches:
- master
- release/**
- feature/**
- fix/**
workflow_dispatch:
env:
JAVA_VERSION: "11"
GIT_USERNAME: ${{ secrets.BOT_GITHUB_USERNAME }}
GIT_EMAIL: ${{ secrets.BOT_GITHUB_EMAIL }}
GIT_PASSWORD: ${{ secrets.BOT_GITHUB_TOKEN }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
DOCKERHUB_USERNAME: ${{ secrets.DOCKER_USERNAME }}
GITHUB_ACTIONS_DEPLOY_TIMEOUT: 60
MAVEN_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
MAVEN_USERNAME: ${{ secrets.NEXUS_USERNAME }}
QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }}
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}
TAS_ENVIRONMENT: ./tests/environment
TAS_SCRIPTS: ../alfresco-community-repo/packaging/tests/scripts
# Release version has to start with real version (7.3.0-....) for the docker image to build successfully.
RELEASE_VERSION: 7.2.2.4
DEVELOPMENT_VERSION: 7.2.2.5-SNAPSHOT
jobs:
tas_tests:
name: ${{ matrix.testSuite }} TAS tests
runs-on: ubuntu-latest
if: ${{ !contains(github.event.head_commit.message, '[skip tas]') && !contains(github.event.head_commit.message, '[skip tests]') }}
strategy:
fail-fast: false
matrix:
include:
- testSuite: REST API part1
pom: tests/tas-restapi/pom.xml
profiles: all-tas-tests,run-restapi-part1
compose-file: docker-compose-minimal+transforms.yml
- testSuite: REST API part2
pom: tests/tas-restapi/pom.xml
profiles: all-tas-tests,run-restapi-part2
compose-file: docker-compose-minimal+transforms.yml
- testSuite: REST API part3
pom: tests/tas-restapi/pom.xml
profiles: all-tas-tests,run-restapi-part3
compose-file: docker-compose-minimal+transforms.yml
- testSuite: CMIS (BROWSER binding)
pom: tests/tas-cmis/pom.xml
profiles: all-tas-tests,run-cmis-browser
compose-file: docker-compose-minimal+transforms.yml
- testSuite: CMIS (ATOM binding)
pom: tests/tas-cmis/pom.xml
profiles: all-tas-tests,run-cmis-atom
compose-file: docker-compose-minimal+transforms.yml
- testSuite: CMIS (WEBSERVICES binding)
pom: tests/tas-cmis/pom.xml
profiles: all-tas-tests,run-cmis-webservices
compose-file: docker-compose-minimal+transforms.yml
- testSuite: Email
pom: tests/tas-email/pom.xml
profiles: all-tas-tests
compose-file: docker-compose-minimal.yml
- testSuite: WebDAV
pom: tests/tas-webdav/pom.xml
profiles: all-tas-tests
compose-file: docker-compose-minimal.yml
- testSuite: Integration
pom: tests/tas-integration/pom.xml
profiles: all-tas-tests
compose-file: docker-compose-minimal.yml
steps:
- uses: actions/checkout@v3
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.33.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.33.0
with:
java-version: ${{ env.JAVA_VERSION }}
- name: "Init"
timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }}
run: |
bash ./scripts/ci/init.sh
bash ./scripts/ci/build.sh
- name: "Setup the environment"
run: |
${TAS_SCRIPTS}/start-compose.sh ${TAS_ENVIRONMENT}/${{ matrix.compose-file }}
${TAS_SCRIPTS}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco"
- name: "Test"
run: mvn -B install -ntp -f ${{ matrix.pom }} -P${{ matrix.profiles }} -Denvironment=default -DrunBugs=false
- name: "Clean Maven cache"
run: bash ./scripts/ci/cleanup_cache.sh
community_zip_tests:
name: Community Distribution Zip content tests
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip tests]')"
steps:
- uses: actions/checkout@v3
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.33.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.33.0
with:
java-version: ${{ env.JAVA_VERSION }}
- name: "Init"
timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }}
run: |
bash ./scripts/ci/init.sh
bash ./scripts/ci/build.sh
- name: "Build"
timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }}
run: mvn -B -ntp -V clean install -Pags -DskipTests -Dmaven.javadoc.skip=true
- name: "Test"
run: mvn -B install -ntp -f tests/tas-distribution-zip/pom.xml -Prun-distribution-zip-contents-check -DrunBugs=false
- name: "Clean Maven cache"
run: bash ./scripts/ci/cleanup_cache.sh
docker_latest:
name: Update latest Docker images
runs-on: ubuntu-latest
needs: [tas_tests, community_zip_tests]
if: >
!(failure() || cancelled()) &&
!contains(github.event.head_commit.message, '[skip docker_latest]') &&
(github.ref_name == 'master' || startsWith(github.ref_name, 'release/')) &&
github.event_name != 'pull_request'
steps:
- uses: actions/checkout@v3
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.33.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v1.35.2
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.33.0
with:
java-version: ${{ env.JAVA_VERSION }}
- name: "Init"
timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }}
run: |
bash ./scripts/ci/init.sh
bash ./scripts/ci/build.sh
- name: "Push Docker images"
timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }}
run: mvn -B -ntp -V clean install -DskipTests -Dmaven.javadoc.skip=true -Pags -Ppush-docker-images
- name: "Clean Maven cache"
run: bash ./scripts/ci/cleanup_cache.sh
release:
name: Release and Copy to S3 Staging Bucket
runs-on: ubuntu-latest
needs: [docker_latest]
if: >
!(failure() || cancelled()) &&
contains(github.event.head_commit.message, '[release]') &&
(github.ref_name == 'master' || startsWith(github.ref_name, 'release/')) &&
github.event_name != 'pull_request'
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.33.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v1.35.2
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.33.0
with:
java-version: ${{ env.JAVA_VERSION }}
- name: "Init"
timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }}
run: |
bash ./scripts/ci/init.sh
bash ./scripts/ci/build.sh
- name: "Release"
timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }}
run: |
bash scripts/ci/verify_release_tag.sh
bash scripts/ci/maven_release.sh
source scripts/ci/prepare_staging_deploy.sh
- name: "Clean Maven cache"
run: bash ./scripts/ci/cleanup_cache.sh
- name: "Configure AWS credentials"
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_S3_STAGING_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.AWS_S3_STAGING_SECRET_KEY }}
aws-region: eu-west-1
- name: "Deploy to S3 Staging Bucket"
run: |
aws s3 cp --acl private --recursive ./deploy_dir s3://alfresco-artefacts-staging/alfresco-content-services-community/release/${BRANCH_NAME}/${BUILD_NUMBER}
aws s3 cp --acl private --recursive ./deploy_dir_ags s3://alfresco-artefacts-staging/community/RM/${RELEASE_VERSION}
echo "Finished release and deployed to https://s3.console.aws.amazon.com/s3/buckets/alfresco-artefacts-staging/alfresco-content-services-community/release/${BRANCH_NAME}/${BUILD_NUMBER}"
publish:
name: Copy to S3 Release Bucket
runs-on: ubuntu-latest
needs: [release]
if: >
!(failure() || cancelled()) &&
contains(github.event.head_commit.message, '[publish]') &&
(github.ref_name == 'master' || startsWith(github.ref_name, 'release/')) &&
github.event_name != 'pull_request'
steps:
- uses: actions/checkout@v3
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.33.0
- name: "Configure AWS credentials"
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_S3_RELEASE_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_S3_RELEASE_SECRET_ACCESS_KEY }}
aws-region: eu-west-1
- name: "Deploy to S3 Release Bucket"
run: |
bash scripts/ci/copy_to_release_bucket.sh
bash scripts/ci/copy_ags_to_release_bucket.sh
+177
View File
@@ -0,0 +1,177 @@
---
dist: xenial
language: java
jdk: openjdk17
services:
- docker
git:
depth: false
quiet: true
cache:
directories:
- ${HOME}/.m2/repository
# the cache can grow constantly
before_cache: bash scripts/travis/cleanup_cache.sh
branches:
only:
- master
- /release\/.*/
- /feature\/.*/
- /fix\/.*/
env:
global:
- TAS_SCRIPTS=../alfresco-community-repo/packaging/tests/scripts
- TAS_ENVIRONMENT=./tests/environment
# Release version has to start with real version (7.3.0-....) for the docker image to build successfully.
- RELEASE_VERSION=7.3.0-A11
- DEVELOPMENT_VERSION=7.3.0-A12-SNAPSHOT
stages:
- name: test
if: commit_message !~ /\[skip tests\]/
- name: docker_latest
if: commit_message !~ /\[skip docker_latest\]/ AND (branch = master OR branch =~ /release\/.*/) AND type != pull_request AND fork = false
- name: release
if: commit_message =~ /\[release\]/ AND (branch = master OR branch =~ /release\/.*/) AND type != pull_request AND fork = false
- name: publish
if: commit_message =~ /\[publish\]/ AND (branch = master OR branch =~ /release\/.*/) AND type != pull_request AND fork = false
before_install: travis_retry bash scripts/travis/init.sh
install: travis_retry travis_wait 40 bash scripts/travis/build.sh
jobs:
include:
- name: "REST API TAS tests part1"
if: commit_message !~ /\[skip tas\]/
before_script:
- ${TAS_SCRIPTS}/start-compose.sh ${TAS_ENVIRONMENT}/docker-compose-minimal+transforms.yml
- ${TAS_SCRIPTS}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco"
script:
- travis_wait 60 mvn -B install -ntp -f tests/tas-restapi/pom.xml -Pall-tas-tests,run-restapi-part1 -Denvironment=default -DrunBugs=false
- name: "REST API TAS tests part2"
if: commit_message !~ /\[skip tas\]/
before_script:
- ${TAS_SCRIPTS}/start-compose.sh ${TAS_ENVIRONMENT}/docker-compose-minimal+transforms.yml
- ${TAS_SCRIPTS}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco"
script:
- travis_wait 60 mvn -B install -ntp -f tests/tas-restapi/pom.xml -Pall-tas-tests,run-restapi-part2 -Denvironment=default -DrunBugs=false
- name: "REST API TAS tests part3"
if: commit_message !~ /\[skip tas\]/
before_script:
- ${TAS_SCRIPTS}/start-compose.sh ${TAS_ENVIRONMENT}/docker-compose-minimal+transforms.yml
- ${TAS_SCRIPTS}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco"
script:
- travis_wait 60 mvn -B install -ntp -f tests/tas-restapi/pom.xml -Pall-tas-tests,run-restapi-part3 -Denvironment=default -DrunBugs=false
- name: "CMIS TAS tests - BROWSER binding"
if: commit_message !~ /\[skip tas\]/
before_script:
- ${TAS_SCRIPTS}/start-compose.sh ${TAS_ENVIRONMENT}/docker-compose-minimal+transforms.yml
- ${TAS_SCRIPTS}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco"
script:
- travis_wait 40 mvn -B install -ntp -f tests/tas-cmis/pom.xml -Pall-tas-tests,run-cmis-browser -Denvironment=default -DrunBugs=false
- name: "CMIS TAS tests - ATOM binding"
if: commit_message !~ /\[skip tas\]/
before_script:
- ${TAS_SCRIPTS}/start-compose.sh ${TAS_ENVIRONMENT}/docker-compose-minimal+transforms.yml
- ${TAS_SCRIPTS}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco"
script:
- travis_wait 40 mvn -B install -ntp -f tests/tas-cmis/pom.xml -Pall-tas-tests,run-cmis-atom -Denvironment=default -DrunBugs=false
- name: "CMIS TAS tests - WEBSERVICES binding"
if: commit_message !~ /\[skip tas\]/
before_script:
- ${TAS_SCRIPTS}/start-compose.sh ${TAS_ENVIRONMENT}/docker-compose-minimal+transforms.yml
- ${TAS_SCRIPTS}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco"
script:
- travis_wait 40 mvn -B install -ntp -f tests/tas-cmis/pom.xml -Pall-tas-tests,run-cmis-webservices -Denvironment=default -DrunBugs=false
- name: "Email TAS tests"
if: commit_message !~ /\[skip tas\]/
before_script:
- ${TAS_SCRIPTS}/start-compose.sh ${TAS_ENVIRONMENT}/docker-compose-minimal.yml
- ${TAS_SCRIPTS}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco"
script:
- travis_wait 30 mvn -B install -ntp -f tests/tas-email/pom.xml -Pall-tas-tests -Denvironment=default -DrunBugs=false
- name: "WebDAV TAS tests"
if: commit_message !~ /\[skip tas\]/
before_script:
- ${TAS_SCRIPTS}/start-compose.sh ${TAS_ENVIRONMENT}/docker-compose-minimal.yml
- ${TAS_SCRIPTS}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco"
script:
- travis_wait 20 mvn -B install -ntp -f tests/tas-webdav/pom.xml -Pall-tas-tests -Denvironment=default -DrunBugs=false
- name: "Integration TAS tests"
if: commit_message !~ /\[skip tas\]/
before_script:
- ${TAS_SCRIPTS}/start-compose.sh ${TAS_ENVIRONMENT}/docker-compose-minimal.yml
- ${TAS_SCRIPTS}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco"
script:
- travis_wait 30 mvn -B install -ntp -f tests/tas-integration/pom.xml -Pall-tas-tests -Denvironment=default -DrunBugs=false
- name: "Community Distribution Zip content tests"
before_script:
- travis_retry travis_wait 20 mvn -B -ntp -V clean install -Pags -DskipTests -Dmaven.javadoc.skip=true
script:
- travis_wait 20 mvn -B install -ntp -f tests/tas-distribution-zip/pom.xml -Prun-distribution-zip-contents-check -DrunBugs=false
- name: "Update latest images"
stage: docker_latest
script: travis_retry travis_wait 30 mvn -B -ntp -V clean install -DskipTests -Dmaven.javadoc.skip=true -Pags -Ppush-docker-images
- name: "Release and Copy to S3 Staging Bucket"
stage: release
before_script: bash scripts/travis/verify_release_tag.sh
script: travis_wait 60 bash scripts/travis/maven_release.sh
before_deploy: source scripts/travis/prepare_staging_deploy.sh
deploy:
- provider: s3
access_key_id: "${AWS_STAGING_ACCESS_KEY}"
secret_access_key: "${AWS_STAGING_SECRET_KEY}"
bucket: "alfresco-artefacts-staging"
region: "eu-west-1"
skip_cleanup: true
acl: private
local_dir: "deploy_dir"
upload_dir: "alfresco-content-services-community/release/${TRAVIS_BRANCH}/${TRAVIS_BUILD_NUMBER}"
on:
all_branches: true
- provider: s3
access_key_id: "${AWS_STAGING_ACCESS_KEY}"
secret_access_key: "${AWS_STAGING_SECRET_KEY}"
bucket: "alfresco-artefacts-staging"
region: "eu-west-1"
skip_cleanup: true
acl: private
local_dir: "deploy_dir_ags"
upload_dir: "community/RM/${RELEASE_VERSION}"
on:
all_branches: true
after_deploy:
- echo "Finished release and deployed to https://s3.console.aws.amazon.com/s3/buckets/alfresco-artefacts-staging/alfresco-content-services/release/${TRAVIS_BRANCH}/${TRAVIS_BUILD_NUMBER}"
- name: "Copy to S3 Release Bucket"
stage: publish
# Nothing to build/install as we are just copying from S3 buckets
install: skip
script: skip
before_deploy: pip install awscli
deploy:
- provider: script
script: bash scripts/travis/copy_to_release_bucket.sh
on:
all_branches: true
- provider: script
script: bash scripts/travis/copy_ags_to_release_bucket.sh
on:
all_branches: true
+4 -4
View File
@@ -66,9 +66,9 @@ The repository code will need to talk to other ACS components, such as a databas
The simplest way to create these, is to use the `docker-compose.yml` file in the `dev` directory.
~~~
# The `envUp` alias is the same as the following commands. Run these in a new terminal session, or add a `-d` flag to
the `docker compose` command.
the `docker-compose` command.
cd acs-community-packaging
docker compose -f dev/docker-compose.yml up
docker-compose -f dev/docker-compose.yml up
Creating dev_activemq_1 ... done
Creating dev_solr6_1 ... done
Creating dev_postgres_1 ... done
@@ -121,12 +121,12 @@ mvn install -Prun,withShare -rf dev-acs-amps-overlay
When finished, kill the tomcat instance and stop the Docker instances. You will normally also
remove the Docker containers, as you will need a clean database if you are going to issue
another `mvn clean install` command. If you started `docker-compose` in a separate terminal session,
simply use `^C` or if you used a `-d` flag, use `docker compose -f dev/docker-compose.yml stop`.
simply use `^C` or if you used a `-d` flag, use `docker-compose -f dev/docker-compose.yml stop`.
~~~
^C
... Stopped 'sysAdmin' subsystem, ID: [sysAdmin, default]
docker compose -f dev/docker-compose.yml rm
docker-compose -f dev/docker-compose.yml rm
Going to remove dev_transform-core-aio_1, dev_transform-router_1, dev_solr6_1, dev_postgres_1, dev_activemq_1, dev_shared-file-store_1
Are you sure? [yN] y
Removing dev_transform-core-aio_1 ... done
+4 -4
View File
@@ -64,7 +64,7 @@ alias comXS='comS && comP'
# Clean up of docker images and content stores (alf_data directories)
alias drm='docker rm -f $(docker ps -q)'
alias arm='rm -rf `find . -name alf_data`'
alias envUp='docker compose -f acs-community-packaging/dev/docker-compose.yml up'
alias envStop='docker compose -f acs-community-packaging/dev/docker-compose.yml stop'
alias envKill='docker compose -f acs-community-packaging/dev/docker-compose.yml kill'
alias envRm='docker compose -f acs-community-packaging/dev/docker-compose.yml rm'
alias envUp='./acs-community-packaging/scripts/dev/start-compose.sh'
alias envStop='docker-compose -f acs-community-packaging/dev/docker-compose.yml stop'
alias envKill='docker-compose -f acs-community-packaging/dev/docker-compose.yml kill'
alias envRm='docker-compose -f acs-community-packaging/dev/docker-compose.yml rm'
+2 -2
View File
@@ -7,11 +7,11 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-dev-community-tomcat-env</artifactId>
<version>7.2.2.4</version>
<version>7.3.0-A11</version>
</parent>
<properties>
<dependency.sis.version>1.1</dependency.sis.version>
<dependency.sis.version>1.2</dependency.sis.version>
<tomcat.version>7.0.86</tomcat.version>
<tomcat.default.solr6.port>8983</tomcat.default.solr6.port>
+1 -1
View File
@@ -8,7 +8,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-dev-community-tomcat-env</artifactId>
<version>7.2.2.4</version>
<version>7.3.0-A11</version>
</parent>
<build>
+1 -1
View File
@@ -8,7 +8,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-dev-community-tomcat-env</artifactId>
<version>7.2.2.4</version>
<version>7.3.0-A11</version>
</parent>
<build>
+1 -1
View File
@@ -9,7 +9,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-dev-community-tomcat-env</artifactId>
<version>7.2.2.4</version>
<version>7.3.0-A11</version>
</parent>
<properties>
+4 -4
View File
@@ -6,7 +6,7 @@ version: "2"
services:
transform-core-aio:
image: alfresco/alfresco-transform-core-aio:2.5.7
image: alfresco/alfresco-transform-core-aio:${TRANSFORMERS_TAG}
mem_limit: 1536m
environment:
JAVA_OPTS: " -Xms256m -Xmx1536m"
@@ -14,7 +14,7 @@ services:
- 8090:8090
postgres:
image: postgres:13.3
image: postgres:14.4
mem_limit: 512m
environment:
- POSTGRES_PASSWORD=alfresco
@@ -25,7 +25,7 @@ services:
- 5432:5432
solr6:
image: alfresco/alfresco-search-services:2.0.11
image: alfresco/alfresco-search-services:2.0.3
mem_limit: 2g
environment:
#Solr needs to know how to register itself with Alfresco
@@ -47,7 +47,7 @@ services:
- 8083:8983 #Browser port
activemq:
image: alfresco/alfresco-activemq:5.16.1
image: alfresco/alfresco-activemq:5.17.1-jre11-rockylinux8
mem_limit: 1g
ports:
- 8161:8161 # Web Console
+1 -1
View File
@@ -9,7 +9,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>acs-community-packaging</artifactId>
<version>7.2.2.4</version>
<version>7.3.0-A11</version>
</parent>
<properties>
+1 -1
View File
@@ -8,7 +8,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>acs-community-packaging</artifactId>
<version>7.2.2.4</version>
<version>7.3.0-A11</version>
</parent>
<dependencies>
+1 -1
View File
@@ -7,7 +7,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>acs-community-packaging</artifactId>
<version>7.2.2.4</version>
<version>7.3.0-A11</version>
</parent>
<dependencies>
+1 -1
View File
@@ -8,7 +8,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>content-services-community-docker</artifactId>
<version>7.2.2.4</version>
<version>7.3.0-A11</version>
</parent>
<properties>
+1 -1
View File
@@ -7,7 +7,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>acs-community-packaging</artifactId>
<version>7.2.2.4</version>
<version>7.3.0-A11</version>
</parent>
<properties>
+1 -1
View File
@@ -8,7 +8,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>share-community-docker</artifactId>
<version>7.2.2.4</version>
<version>7.3.0-A11</version>
</parent>
<properties>
+1 -1
View File
@@ -7,6 +7,6 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>acs-community-packaging</artifactId>
<version>7.2.2.4</version>
<version>7.3.0-A11</version>
</parent>
</project>
+6 -6
View File
@@ -3,19 +3,19 @@
<artifactId>acs-community-packaging</artifactId>
<packaging>pom</packaging>
<name>Alfresco Content Services Community Packaging</name>
<version>7.2.2.4</version>
<version>7.3.0-A11</version>
<parent>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-community-repo</artifactId>
<relativePath>../alfresco-community-repo/pom.xml</relativePath>
<version>16.28</version>
<version>17.86</version>
</parent>
<properties>
<dependency.alfresco-community-repo.version>16.28</dependency.alfresco-community-repo.version>
<dependency.alfresco-community-share.version>16.29</dependency.alfresco-community-share.version>
<dependency.acs-packaging.version>7.2.2.4</dependency.acs-packaging.version> <!-- for Share distribution zip -->
<dependency.alfresco-community-repo.version>17.86</dependency.alfresco-community-repo.version>
<dependency.alfresco-community-share.version>17.62</dependency.alfresco-community-share.version>
<dependency.acs-packaging.version>7.3.0-A11</dependency.acs-packaging.version> <!-- for Share distribution zip -->
<repo.image.tag>${dependency.alfresco-community-repo.version}</repo.image.tag>
<share.image.tag>${dependency.alfresco-community-share.version}</share.image.tag>
@@ -25,7 +25,7 @@
<connection>scm:git:https://github.com/Alfresco/acs-community-packaging.git</connection>
<developerConnection>scm:git:https://github.com/Alfresco/acs-community-packaging.git</developerConnection>
<url>https://github.com/Alfresco/acs-community-packaging</url>
<tag>7.2.2.4</tag>
<tag>7.3.0-A11</tag>
</scm>
<distributionManagement>
+1 -1
View File
@@ -5,7 +5,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>acs-community-packaging</artifactId>
<version>7.2.2.4</version>
<version>7.3.0-A11</version>
</parent>
<packaging>pom</packaging>
+5
View File
@@ -0,0 +1,5 @@
set -x
export TRANSFORMERS_TAG=$(mvn -f acs-community-packaging/pom.xml help:evaluate -Dexpression=dependency.alfresco-transform-core.version -q -DforceStdout)
# .env files are picked up from project directory correctly on docker-compose 1.23.0+
docker-compose -f acs-community-packaging/dev/docker-compose.yml up
@@ -16,13 +16,13 @@ if [ "${COM_DEPENDENCY_VERSION}" != "$(retrievePomParentVersion)" ]; then
fi
# Prevent merging of any SNAPSHOT dependencies into the master or the release/* branches
if [[ $(isPullRequestBuild) && "${COM_DEPENDENCY_VERSION}" =~ ^.+-SNAPSHOT$ && "${BRANCH_NAME}" =~ ^master$|^release/.+$ ]] ; then
if [[ $(isPullRequestBuild) && "${COM_DEPENDENCY_VERSION}" =~ ^.+-SNAPSHOT$ && "${TRAVIS_BRANCH}" =~ ^master$|^release/.+$ ]] ; then
printf "PRs with SNAPSHOT dependencies are not allowed into master or release branches\n"
exit 1
fi
# Prevent release jobs from starting when there are SNAPSHOT upstream dependencies
if [[ "${COM_DEPENDENCY_VERSION}" =~ ^.+-SNAPSHOT$ ]] && [ "${JOB_NAME,,}" = "release" ] ; then
if [[ "${COM_DEPENDENCY_VERSION}" =~ ^.+-SNAPSHOT$ ]] && [ "${TRAVIS_BUILD_STAGE_NAME,,}" = "release" ] ; then
printf "Cannot release project with SNAPSHOT dependencies!\n"
exit 1
fi
@@ -41,13 +41,13 @@ SHARE_DEPENDENCY_VERSION="$(retrievePomProperty "dependency.alfresco-community-s
SHARE_IMAGE=$([[ "${SHARE_DEPENDENCY_VERSION}" =~ ^.+-SNAPSHOT$ ]] && echo "-Dshare.image.tag=latest" || echo)
# Prevent merging of any SNAPSHOT dependencies into the master or the release/* branches
if [[ $(isPullRequestBuild) && "${SHARE_DEPENDENCY_VERSION}" =~ ^.+-SNAPSHOT$ && "${BRANCH_NAME}" =~ ^master$|^release/.+$ ]] ; then
if [[ $(isPullRequestBuild) && "${SHARE_DEPENDENCY_VERSION}" =~ ^.+-SNAPSHOT$ && "${TRAVIS_BRANCH}" =~ ^master$|^release/.+$ ]] ; then
printf "PRs with SNAPSHOT dependencies are not allowed into master or release branches\n"
exit 1
fi
# Prevent release jobs from starting when there are SNAPSHOT upstream dependencies
if [[ "${SHARE_DEPENDENCY_VERSION}" =~ ^.+-SNAPSHOT$ ]] && [ "${JOB_NAME,,}" = "release" ] ; then
if [[ "${SHARE_DEPENDENCY_VERSION}" =~ ^.+-SNAPSHOT$ ]] && [ "${TRAVIS_BUILD_STAGE_NAME,,}" = "release" ] ; then
printf "Cannot release project with SNAPSHOT dependencies!\n"
exit 1
fi
@@ -2,11 +2,11 @@
set +vx
function isPullRequestBuild() {
test "${PULL_REQUEST}" != "false"
test "${TRAVIS_PULL_REQUEST}" != "false"
}
function isBranchBuild() {
test "${PULL_REQUEST}" = "false"
test "${TRAVIS_PULL_REQUEST}" = "false"
}
function cloneRepo() {
@@ -82,9 +82,15 @@ function remoteBranchExists() {
function identifyUpstreamSourceBranch() {
local UPSTREAM_REPO="${1}"
# use the current branch name (or in case of PRs, the source branch name)
if remoteBranchExists "${UPSTREAM_REPO}" "${BRANCH_NAME}" ; then
echo "${BRANCH_NAME}"
# if it's a pull request, use the source branch name (if it exists)
if isPullRequestBuild && remoteBranchExists "${UPSTREAM_REPO}" "${TRAVIS_PULL_REQUEST_BRANCH}" ; then
echo "${TRAVIS_PULL_REQUEST_BRANCH}"
exit 0
fi
# otherwise use the current branch name (or in case of PRs, the target branch name)
if remoteBranchExists "${UPSTREAM_REPO}" "${TRAVIS_BRANCH}" ; then
echo "${TRAVIS_BRANCH}"
exit 0
fi
@@ -17,7 +17,7 @@ DESTINATION="s3://eu.dl.alfresco.com/release/community/RM/${RELEASE_VERSION}"
printf "\n%s\n%s\n" "${SOURCE}" "${DESTINATION}"
aws s3 cp --acl private --recursive --copy-props none "${SOURCE}" "${DESTINATION}"
aws s3 cp --acl private --recursive "${SOURCE}" "${DESTINATION}"
set +vex
echo "=========================== Finishing Copy to Release Bucket Script =========================="
@@ -12,12 +12,12 @@ if [ -z "${RELEASE_VERSION}" ]; then
exit 1
fi
SOURCE="s3://alfresco-artefacts-staging/alfresco-content-services-community/release/${BRANCH_NAME}/${BUILD_NUMBER}"
DESTINATION="s3://eu.dl.alfresco.com/release/community/${RELEASE_VERSION}-build-${BUILD_NUMBER}"
SOURCE="s3://alfresco-artefacts-staging/alfresco-content-services-community/release/${TRAVIS_BRANCH}/${TRAVIS_BUILD_NUMBER}"
DESTINATION="s3://eu.dl.alfresco.com/release/community/${RELEASE_VERSION}-build-${TRAVIS_BUILD_NUMBER}"
printf "\n%s\n%s\n" "${SOURCE}" "${DESTINATION}"
aws s3 cp --acl private --recursive --copy-props none "${SOURCE}" "${DESTINATION}"
aws s3 cp --acl private --recursive "${SOURCE}" "${DESTINATION}"
set +vex
echo "=========================== Finishing Copy to Release Bucket Script =========================="
@@ -5,6 +5,7 @@ set -vex
pushd "$(dirname "${BASH_SOURCE[0]}")/../../"
# Maven Setup
mkdir -p "${HOME}/.m2" && cp -f .travis.settings.xml "${HOME}/.m2/settings.xml"
find "${HOME}/.m2/repository/" -type d -name "*-SNAPSHOT*" | xargs -r -l rm -rf
# Docker Logins
@@ -11,17 +11,16 @@ if [ -z "${RELEASE_VERSION}" ] || [ -z "${DEVELOPMENT_VERSION}" ]; then
fi
# Use full history for release
git checkout -B "${BRANCH_NAME}"
# Define git identity for commits
git checkout -B "${TRAVIS_BRANCH}"
# Add email to link commits to user
git config user.email "${GIT_EMAIL}"
git config user.name "${GIT_USERNAME}"
mvn -B \
-ntp \
-Prelease,all-tas-tests -Pags \
-DreleaseVersion="${RELEASE_VERSION}" \
-DdevelopmentVersion="${DEVELOPMENT_VERSION}" \
"-Darguments=-Prelease,all-tas-tests -Pags -DskipTests -Dbuild-number=${BUILD_NUMBER}" \
"-Darguments=-Prelease,all-tas-tests -Pags -DskipTests -Dbuild-number=${TRAVIS_BUILD_NUMBER}" \
release:clean release:prepare release:perform \
-DscmCommentPrefix="[maven-release-plugin][skip ci] " \
-Dusername="${GIT_USERNAME}" \
+3 -4
View File
@@ -1,4 +1,3 @@
TRANSFORMERS_TAG=5.1.2
SOLR6_TAG=2.0.11
POSTGRES_TAG=13.3
ACTIVEMQ_TAG=5.16.1
SOLR6_TAG=2.0.3
POSTGRES_TAG=14.4
ACTIVEMQ_TAG=5.17.1-jre11-rockylinux8
+1 -1
View File
@@ -6,7 +6,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>acs-community-packaging</artifactId>
<version>7.2.2.4</version>
<version>7.3.0-A11</version>
</parent>
<modules>
+1 -1
View File
@@ -9,7 +9,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>content-repository-community-tests</artifactId>
<version>7.2.2.4</version>
<version>7.3.0-A11</version>
</parent>
<developers>
+3 -3
View File
@@ -9,7 +9,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>content-repository-community-tests</artifactId>
<version>7.2.2.4</version>
<version>7.3.0-A11</version>
</parent>
<properties>
@@ -21,7 +21,7 @@
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.22.0</version>
<version>3.23.1</version>
<scope>test</scope>
</dependency>
<dependency>
@@ -32,7 +32,7 @@
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-model</artifactId>
<version>3.8.4</version>
<version>3.8.6</version>
</dependency>
</dependencies>
+1 -1
View File
@@ -9,7 +9,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>content-repository-community-tests</artifactId>
<version>7.2.2.4</version>
<version>7.3.0-A11</version>
</parent>
<developers>
+4 -2
View File
@@ -9,7 +9,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>content-repository-community-tests</artifactId>
<version>7.2.2.4</version>
<version>7.3.0-A11</version>
</parent>
<developers>
@@ -23,7 +23,7 @@
<properties>
<suiteXmlFile>${project.basedir}/src/test/resources/integration-suite.xml</suiteXmlFile>
<dependency.groovy.version>3.0.9</dependency.groovy.version>
<dependency.groovy.version>3.0.12</dependency.groovy.version>
</properties>
<dependencies>
@@ -114,8 +114,10 @@
<suiteXmlFiles>
<suiteXmlFile>${suiteXmlFile}</suiteXmlFile>
</suiteXmlFiles>
<!-- Keeping illegal-access=warn for Java 11 compatibility, even though it has no effect on JDK 17 -->
<argLine>
--illegal-access=warn
--add-opens=java.base/java.lang=ALL-UNNAMED
</argLine>
</configuration>
</plugin>
+3 -1
View File
@@ -9,7 +9,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>content-repository-community-tests</artifactId>
<version>7.2.2.4</version>
<version>7.3.0-A11</version>
</parent>
<developers>
@@ -84,8 +84,10 @@
<suiteXmlFiles>
<suiteXmlFile>${suiteXmlFile}</suiteXmlFile>
</suiteXmlFiles>
<!-- Keeping illegal-access=warn for Java 11 compatibility, even though it has no effect on JDK 17 -->
<argLine>
--illegal-access=warn
--add-opens=java.base/java.lang=ALL-UNNAMED
</argLine>
</configuration>
</plugin>
+1 -1
View File
@@ -9,7 +9,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>content-repository-community-tests</artifactId>
<version>7.2.2.4</version>
<version>7.3.0-A11</version>
</parent>
<developers>