[trigger-release]
Resulting build should fail release stage due to lack of release version.
Test stage should pass.
Will then test applying custom config to build trigger for release stage.
Will run all stages with dummy scripts so that nothing is deployed but variable extraction takes place.
[skipTests] message [trigger-release] [devRelease=6.3.0-SNAPSHOT] [release=6.3.0-repo-4735-3-1][comRelease=202003] adding some nonsense to test the message -8y-18hrnfjif1][]1[]1r[1][f3][]3g[g]g[[]3[]g[4][]4]g4][3]455[5][6]34[]g[]g[42[r1r31443=1=3=411=3]
[skipTests] message [trigger-release] [devRelease=6.3.0-SNAPSHOT] [release=6.3.0-A5][comRelease=202003] adding some nonsense to test the message -8y-18hrnfjif1][]1[]1r[1][f3][]3g[g]g[[]3[]g[4][]4]g4][3]455[5][6]34[]g[]g[42[r1r31443=1=3=411=3]
[skipTests] message [trigger-release] [devRelease=6.3.0-SNAPSHOT] [release=6.3.0-A5][comRelease=202003] adding some nonsense to test the message -8y-18hrnfjif1][]1[]1r[1][f3][]3g[g]g[[]3[]g[4][]4]g4][3]455[5][6]34[]g[]g[42[r1r31443=1=3=411=3]
[skipTests] message [trigger-release] [devRelease=6.3.0-SNAPSHOT] [release=6.3.0-A5][comRelease=202003] adding some nonsense to test the message -8y-18hrnfjif1][]1[]1r[1][f3][]3g[g]g[[]3[]g[4][]4]g4][3]455[5][6]34[]g[]g[42[r1r31443=1=3=411=3]'
Big test message below:
[skipTests] message [trigger-release] [devRelease=6.3.0-SNAPSHOT] [release=6.3.0-A5][comRelease=202003] adding some nonsense to test the message -8y-18hrnfjif1][]1[]1r[1][f3][]3g[g]g[[]3[]g[4][]4]g4][3]455[5][6]34[]g[]g[42[r1r31443=1=3=411=3]
Travis seems to have issues passing the TRAVIS_COMMIT_MESSAGE as an argument to bash scripts. Using it directly within the script seems to fix that issue:
[skipTests] message [trigger-release] [devRelease=6.3.0-SNAPSHOT] [release=6.3.0-A5][comRelease=202003] adding some nonsense to test the message -8y-18hrnfjif1][]1[]1r[1][f3][]3g[g]g[[]3[]g[4][]4]g4][3]455[5][6]34[]g[]g[42[r1r31443=1=3=411=3]'
[skipTests] message [trigger-release] [devRelease=6.3.0-SNAPSHOT] [release=6.3.0-A5][comRelease=202003] adding some nonsense to test the message -8y-18hrnfjif1][]1[]1r[1][f3][]3g[g]g[[]3[]g[4][]4]g4][3]455[5][6]34[]g[]g[42[r1r31443=1=3=411=3]'
If the stage conditions were met it seemed to override the condiitions further down.
[skipTests][trigger-release][release=6.3.0][devRelease=6.3.0-SNAPSHOT]
No build should be triggered as the current branch is no enabled
[skipTests] message [trigger-release] [devRelease=6.3.0-SNAPSHOT] [release=6.3.0-A5][comRelease=202003] adding some nonsense to test the message -8y-18hrnfjif1][]1[]1r[1][f3][]3g[g]g[[]3[]g[4][]4]g4][3]455[5][6]34[]g[]g[42[r1r31443=1=3=411=3]
PR has been created so the build will be trigger twice if left in config. Also remove PR restriction so that it can be tested with new variable assignment.
[skipTests][trigger-release][release=6.3.0-repo-4735-3-1][devRelease=6.3.0-SNAPSHOT]
Added 2 script designed to extract the release and development versions required for the release process. V1 extracts all "commit variables" into and array and then uses a case statement to assign the variables. V2 extracts the desired variable directly into a variable.
Removed -v flag
Updated TODO sections to indicated where CD could be implemented.
Cleaned up error messages.
Renamed buildRelease.sh to mavenRelease.sh
Move if statements to stages as each stage only has 1 job.
Added [no-test] commit message to prevent test stages being run.
No build should be executed as a result of this commit
Move if statements to stages as each stage only has 1 job.
Added [no test] commit message to prevent test stages being run.
No build should be executed as a result of this commit.
As we need to access to 2 s3 buckets, and the release bucket needs to use the aws cli new variable names are used for the staging bucket aws credentials and the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY will be added to travis as environment variables for the scripts in the Company Release stage to use.
NOTE. This is done with the "RUN java -jar ${TOMCAT_DIR}/alfresco-mmt/alfresco-mmt*.jar install ${TOMCAT_DIR}/amps ${TOMCAT_DIR}/webapps/alfresco -directory -nobackup -force" commented out as this was a point of error in the acs-packaging build number 1636 https://travis-ci.com/Alfresco/acs-packaging/builds/150667508
* Search-1979: Updated SOLR6_TAG to 1.4.1 for the tests
* Search-1979: Updated SOLR6_TAG location to quay.io for testing (until released to dockerhub after company release)
* Revert "Search-1979: Updated SOLR6_TAG location to quay.io for testing (until released to dockerhub after company release)"
This reverts commit 2da3357974.
* Bump cmis from 1.5 to 1.6 (#397)
* Bump javax.json from 1.0.4 to 1.1.4 (#399)
* Update travis config with develop branch
* Bump fabric8-maven-plugin from 4.2.0 to 4.3.1 (#368)
* Bump alfresco-messaging-repo from 1.2.13 to 1.2.15 (#312)
* Bump httpcore from 4.4.11 to 4.4.12 (#298)
* Bump json-path from 2.3.0 to 2.4.0 (#403)
* Bump joda-time from 2.10.3 to 2.10.5 (#371)
* Bump alfresco-data-model from 8.50.2 to 8.54 (#396)
* Bump dependency.cxf.version from 3.3.2 to 3.3.4 (#374)
* Bump dataprep from 2.2 to 2.3 (#402)
* Bump dependency.jackson.version from 2.9.9 to 2.10.1 (#392)
* Bump bcprov-jdk15on from 1.62 to 1.64 (#355)
* Bump alfresco-repository from 7.134 to 8.21 (#394)
* Add retries to cmis rendition test
* Bump alfresco-remote-api from 7.107 to 8.27 (#395)
* Bump quartz from 2.3.1 to 2.3.2 (#370)
* Bump httpclient from 4.5.9 to 4.5.10 (#304)
* Bump alfresco-data-model from 8.54 to 8.55 (#405)
* Bump httpclient-cache from 4.5.9 to 4.5.10 (#303)
* Bump postgresql from 42.2.6 to 42.2.8 (#313)
* Bump groovy from 2.5.5 to 2.5.8 (#401)
* Bump bcmail-jdk15on from 1.62 to 1.64 (#356)
* Bump dependency.javax.mail.version from 1.5.1 to 1.6.2 (#398)
* Additional fixed to CMIS Rendition test
* Mark integration test with a bug
* Mark REST API test with a bug
* Bump dependency.alfresco-spring-webscripts.version from 7.8 to 7.10 (#354)
* Bump alfresco-remote-api from 8.27 to 8.28 (#406)
* Bump alfresco-repository from 8.21 to 8.22 (#407)
* Bump alfresco-repository from 8.22 to 8.24 (#408)
* Mark a test in NodeLockTests with a bug
* Bump alfresco-repository from 8.24 to 8.25 (#410)
* Bump alfresco-core from 7.22 to 7.23 (#412)
* Bump alfresco-data-model from 8.55 to 8.57 (#413)
* Bump alfresco-repository from 8.25 to 8.27 (#414)
* Bump dependency.alfresco-spring-webscripts.version from 7.10 to 7.11 (#418)
* Bump webdav from 1.0 to 1.1 (#419)
* Bump alfresco-repository from 8.27 to 8.28 (#423)
* Bump ftp from 1.0 to 1.1 (#422)
* Exclude spring-jcl from spring-orm & spring-core to guard classpath collission with commons-logging module (#417)
* Bump alfresco-repository from 8.28 to 8.31 (#428)
* Bump ftp from 1.1 to 1.2 (#430)
* Bump alfresco-remote-api from 8.28 to 8.37 (#426)
* Bump webdav from 1.1 to 1.2 (#431)
* Bump alfresco-data-model from 8.57 to 8.59 (#437)
* Bump alfresco-remote-api from 8.37 to 8.40 (#438)
* Remove demo tests
* Bump alfresco-remote-api from 8.40 to 8.44 (#443)
* Bump alfresco-data-model from 8.59 to 8.60 (#445)
* Bump utility from 3.0.14 to 3.0.16 (#444)
* Bump ftp from 1.2 to 1.3 (#447)
* Bump alfresco-remote-api from 8.44 to 8.45 (#451)
* Bump webdav from 1.2 to 1.3 (#449)
* Bump alfresco-remote-api from 8.45 to 8.46 (#452)
* REPO-4751: Upgrade to Spring 5.2
* Bump alfresco-repository from 8.38 to 8.39 (#453)
* Bump postgresql from 42.2.8 to 42.2.9 (#454)
* Bump alfresco-repository from 8.39 to 8.40 (#456)
* Bump alfresco-remote-api from 8.46 to 8.47 (#457)
* Bump alfresco-remote-api from 8.47 to 8.48 (#459)
* upgrade mockito library (#455)
* Bump alfresco-remote-api from 8.48 to 8.50 (#460)
* Bump alfresco-data-model from 8.60 to 8.61 (#462)
* Bump mockito-core from 3.0.0 to 3.2.0 (#464)
* Bump alfresco-repository from 8.40 to 8.41 (#461)
* Bump alfresco-remote-api to 8.51 and alfresco-repository to 8.42
* [maven-release-plugin] prepare release acs-community-packaging-6.3.0-A2
* [maven-release-plugin] prepare for next development iteration
* REPO-4785 Performance improvements to REST API TAS tests (#466)
* Mark test with a bug
* Mark test with a bug
* Mark test with a bug
* Mark test with a bug
* Bump restapi from 1.15 to 1.23 (#463)
* Bump alfresco-data-model from 8.61 to 8.66 (#467)
* Revert "Mark test with a bug"
This reverts commit 7a80d9c539.
* Revert "Mark test with a bug"
This reverts commit 5922f4a0fe.
* Revert "Mark test with a bug"
This reverts commit 5b6cf02b64.
* Revert "Mark test with a bug"
This reverts commit 1b874fbccb.
* REPO-4785 Remove reduced timeout config in tests
Previous iteration of improving test performance introduced a few intermittent failures into tests. This PR removes those changes, but leaves the split in the REST API tests.
* Bump alfresco-remote-api from 8.51 to 8.52 (#469)
* Bump alfresco-data-model from 8.66 to 8.67 (#471)
* Bump alfresco-core from 8.2 to 8.6 (#468)
* Bump alfresco-repository from 8.42 to 8.43 (#470)
* Bump dependencies (#472)
Bump repository to 8.44
Bump data-model to 8.68
Bump remote-api to 8.55
* Bump mockito-core from 3.2.0 to 3.2.4 (#473)
* Bump alfresco-repository from 8.44 to 8.46 (#474)
* Bump utility from 3.0.16 to 3.0.17 (#475)
* Bump restapi from 1.24 to 1.25 (#476)
* Bump alfresco-remote-api from 8.55 to 8.57 (#477)
* Bump jackson-databind 2.9.10 -> 2.10.1 (#479)
* Bump alfresco-remote-api from 8.57 to 8.59 (#481)
* Bump restapi from 1.25 to 1.26 (#483)
* Bump ftp from 1.3 to 1.4 (#484)
* Bump alfresco-core from 8.6 to 8.7 (#487)
* Bump alfresco-repository from 8.46 to 8.48 (#488)
* Bump webdav from 1.3 to 1.4 (#485)
* Bump alfresco-data-model from 8.68 to 8.70 (#489)
* Pickup upstream projects
* REPO-4739 update dependencies of tas framework (#776) (#494)
* Update all tas packages, now with Dependabot enabled
dependency.tas-utility.version>3.0.17
dependency.tas-restapi.version>1.26
dependency.tas-cmis.version>1.12
dependency.tas-email.version>1.7
dependency.tas-webdav.version>1.4
dependency.tas-ftp.version>1.4
Cherry-picked from acs-packaging PR #776
* Bump alfresco-remote-api from 8.62 to 8.63 (#496)
* Bump alfresco-core from 8.9 to 8.10 (#497)
* Bump alfresco-remote-api from 8.63 to 8.64 (#499)
* Bump alfresco-remote-api from 8.64 to 8.65 (#500)
* Bump alfresco-remote-api from 8.65 to 8.66 (#502)
* Bump alfresco-data-model from 8.72 to 8.73 (#503)
* Bump alfresco-remote-api from 8.66 to 8.67 (#505)
* Bump alfresco-remote-api from 8.67 to 8.68 (#506)
* Bump junit from 4.12 to 4.13 (#507)
* Bump alfresco-remote-api from 8.68 to 8.69 (#512)
* Bump commons-codec from 1.13 to 1.14 (#511)
* Bump alfresco-data-model from 8.73 to 8.74 (#513)
* Bump alfresco-core from 8.10 to 8.11 (#514)
* Bump dependency.jackson.version from 2.10.1 to 2.10.2 (#518)
* Bump alfresco-remote-api from 8.69 to 8.73 (#519)
* Bump webdav from 1.4 to 1.5 (#520)
* Bump alfresco-data-model from 8.74 to 8.75 (#521)
* Bump api-explorer from 6.2.0 to 6.2.1 (#524)
* Bump alfresco-core from 8.11 to 8.12 (#523)
* REPO-4917 : Update upstream projects (#517)
* REPO-4917 : Update upsteam projects
Bump remote-api to 8.73
Bump repository to 8.61
Bump data-model to 8.75
Bump core to 8.12
Bump api-explorer to 6.2.1
* Remove unsoported transformation PDF -> PDF
LocalPassThroughTransform was added and supports same source/target mimetype
* GOOGLEDOCS-463 : Release GoogleDocs 3.2.0-A1 (for 6.3.0-dev & next ACS Community release) (#526) (#527)
(cherry picked from commit ba10839e39)
* Bump alfresco-repository from 8.61 to 8.71 (#529)
* Bump alfresco-remote-api from 8.73 to 8.77 (#530)
* Bump alfresco-remote-api from 8.77 to 8.81 (#532)
* Bump alfresco-data-model from 8.75 to 8.83 (#533)
* Bump alfresco-repository from 8.71 to 8.81 (#534)
* Update versions of referenced projects
* Bump alfresco-repository from 8.81 to 8.83 (#535)
* Bump alfresco-remote-api from 8.81 to 8.82 (#536)
* Bump alfresco-data-model from 8.83 to 8.84 (#537)
* Bump api-explorer from 6.2.1 to 6.3.0 (#538)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Alex Mukha <killerboot@users.noreply.github.com>
Co-authored-by: Abdul Mohammed <abdul.mohammed@alfresco.com>
Co-authored-by: Cristian Turlica <cristian.turlica@ness.com>
Co-authored-by: NITHIN NAMBIAR <nithinnambiar@yahoo.co.in>
Co-authored-by: alandavis <alan.davis@alfresco.com>
Co-authored-by: alfresco-build <alfresco-build@users.noreply.github.com>
Co-authored-by: David Edwards <david.edwards@alfresco.com>
Co-authored-by: DenisGabriela <Denis.Ungureanu1@ness.com>
Co-authored-by: antoniojfelix <antonio.felix@texter.ai>
2020-01-12 17:32:22 +02:00
22 changed files with 478 additions and 57 deletions
commitMessage='[skipTests] message [trigger-release] [trigger-company-release] [devRelease=6.3.0-SNAPSHOT] [release=6.3.0-repo-4735-3-1][comRelease=202003] adding some nonsense to test the message -8y-18hrnfjif1][]1[]1r[1][f3][]3g[g]g[[]3[]g[4][]4]g4][3]455[5][6]34[]g[]g[42[r1r31443=1=3=411=3]'
echo"Please provide a communityReleaseVersion and releaseVersion via commit message in the format [comRelease=<acs-version>-<additional-info>] and [release=<acs-version>-<additional-info>] (eg. [release=6.3.0-EA][comRelease=202001])"
thenecho"Please provide a Release and Development verison via commit message in the format [release=<acs-version>-<additional-info>] and [devRelease=<acs-version>-<additional-info>] (eg. [release=6.3.0-EA][devRelease=6.3.0-SNAPSHOT])"
exit -1
exit -1
# TODO: Set up continuous release. As of REPO-4735 the following is not required if release stage is manual
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.