Compare commits

...

170 Commits

Author SHA1 Message Date
Travis CI User
e4da378421 [maven-release-plugin][skip ci]prepare release acs-community-packaging-6.3.0-repo-4735-2-15 2020-03-04 09:34:33 +00:00
David Edwards
67428fa4c5 Update .travis.yml
[no-test][trigger-release][trigger-company-release]
2020-03-04 09:27:13 +00:00
David Edwards
4db43ff229 Delete engineeringReleaseDeployment.sh
Not required, using travis functionalitly for eng s3 deployment.
[no-test][trigger-release][trigger-company-release]
2020-03-04 09:11:01 +00:00
David Edwards
87c33e8dc3 Tidy up stage if statements 2020-03-04 09:09:32 +00:00
David Edwards
24cdd98cf8 Skip script stage [no-test][trigger-company-release] 2020-03-03 17:25:42 +00:00
Travis CI User
9978d90a57 [maven-release-plugin][skip ci]prepare for next development iteration 2020-03-03 16:38:07 +00:00
Travis CI User
4eb60992cb [maven-release-plugin][skip ci]prepare release acs-community-packaging-6.3.0-repo-4735-2-14 2020-03-03 16:38:01 +00:00
David Edwards
e4cc86cdf7 Update .travis.yml
[trigger-release][trigger-company-release][no-test]
2020-03-03 16:30:32 +00:00
David Edwards
d6f9b00fc4 Revert "skip install stage (not needed)"
This reverts commit 2918153744.
2020-03-03 16:29:39 +00:00
David Edwards
842380e072 Update .travis.yml
Not required, when would you every both trigger and prevent a release...? [skip ci]
2020-03-03 16:24:58 +00:00
David Edwards
288978012d Clean variables + comments [skip ci] 2020-03-03 16:21:18 +00:00
David Edwards
5bcf4be8a9 Update .travis.yml
clean commits
[no-test]
2020-03-03 16:15:17 +00:00
David Edwards
cacc1e9715 Revert version to SNAPSHOT
[no-test][trigger-release][trigger-company-release]
2020-03-03 16:01:34 +00:00
David Edwards
bb6b260c4d Remove extra whitespace
[no-test][trigger-release][trigger-company-release]
2020-03-03 15:56:21 +00:00
David Edwards
4336a01ac7 Update .travis.yml
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
2020-03-03 15:54:38 +00:00
David Edwards
ae4f308c73 Revert "Revert "Revert "Update .travis.yml"""
This reverts commit 90ba6efbc8.
2020-03-03 15:53:49 +00:00
David Edwards
90ba6efbc8 Revert "Revert "Update .travis.yml""
This reverts commit 9549958121.
2020-03-03 15:53:18 +00:00
David Edwards
9549958121 Revert "Update .travis.yml"
This reverts commit e945b637a1.
2020-03-03 15:52:42 +00:00
David Edwards
e945b637a1 Update .travis.yml
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.
2020-03-03 15:50:50 +00:00
David Edwards
ebb488e8e0 Remove comments
[trigger release][trigger company release]
2020-03-03 15:44:49 +00:00
David Edwards
676013d4d3 Moved release versioning to global variables to be shared accross stages
Company release stage also needs access to release version.
Run full build:
[trigger release][trigger company release]
2020-03-03 15:38:56 +00:00
David Edwards
ec254dc26a Allowing company release to run independently of eng release
Full release test:
[trigger release][trigger company release]
2020-03-03 15:35:25 +00:00
David Edwards
2918153744 skip install stage (not needed)
[trigger release][trigger company release]
2020-03-03 15:24:31 +00:00
David Edwards
b74e130f6f Add stricter commit message to ensure eng release is done with company release
[trigger release] [trigger company release]
2020-03-03 15:21:49 +00:00
David Edwards
a780c19d66 Remove alternative solutions
Add test comm_release version and bump release version.
[trigger release]
Require new commit message for company release: [trigger company release]
2020-03-03 15:18:55 +00:00
David Edwards
da032b2da0 Delete alternative solutions, Update aws variables
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.
2020-03-03 14:56:45 +00:00
David Edwards
c80e759274 Update prepareEngineeringRelease.sh
Add check for release version
2020-03-03 11:14:15 +00:00
David Edwards
9dd13c2464 Update .travis.yml
Remove extra deploy script from Engineering release
2020-03-03 11:13:49 +00:00
David Edwards
059e085d6e Add script to create deployment directory
This allows a single s3 deploy stage and provides a workaround for the glob alias not working as expected in travis.yml
[trigger release]
2020-03-03 10:53:27 +00:00
David Edwards
55bcd3f5b6 escape *
[trigger release]
2020-03-03 10:45:39 +00:00
David Edwards
f35d66c044 Update .travis.yml
[trigger release]
2020-03-03 10:42:52 +00:00
David Edwards
276bccf3f4 Skip mvn release stage while testing deploy 2020-03-03 10:42:39 +00:00
David Edwards
b22054537d Update .travis.yml
[trigger release]
2020-03-03 10:11:16 +00:00
David Edwards
46cff21c1b add comments 2020-03-03 09:54:00 +00:00
David Edwards
389f5a75ca Remove local dir and attempt glob again...
[trigger release]
2020-03-03 09:51:46 +00:00
David Edwards
03a5b43658 Update region to region: "eu-west-1" 2020-03-03 09:51:24 +00:00
David Edwards
480e6ad9dd Turn off release stage to test deployment
AWS creds do not work atm. This is to test the correct files are selected or deployment stages.
[trigger release]
2020-03-03 09:34:13 +00:00
David Edwards
00dbbca169 Change glob to file
"glob" does not seem to be working, updating to file as only a single file is needed for this deployment section.
2020-03-03 09:33:11 +00:00
Travis CI User
12501e0442 [maven-release-plugin][skip ci]prepare for next development iteration 2020-03-02 21:50:44 +00:00
Travis CI User
8d06e9b616 [maven-release-plugin][skip ci]prepare release acs-community-packaging-6.3.0-repo-4735-2-12 2020-03-02 21:50:38 +00:00
David Edwards
730a51b963 Update .travis.yml
[trigger release]
2020-03-02 21:43:57 +00:00
David Edwards
e9b13bc42f Update .travis.yml
[trigger release]
2020-03-02 21:43:06 +00:00
David Edwards
4229dd72d0 [trigger release] fix build script 2020-03-02 21:41:54 +00:00
David Edwards
0eadab2c0f [trigger release] 2020-03-02 21:11:58 +00:00
David Edwards
3b5430935c disable docker push 2020-03-02 21:11:37 +00:00
David Edwards
eee813be52 Update deploy 2020-03-02 21:10:31 +00:00
Travis CI User
bd17b7b65b [maven-release-plugin][skip ci]prepare for next development iteration 2020-03-02 20:43:25 +00:00
Travis CI User
9b3c0a5200 [maven-release-plugin][skip ci]prepare release acs-community-packaging-6.3.0-repo-4735-2-11 2020-03-02 20:43:19 +00:00
David Edwards
e21231cacb [trigger release] 2020-03-02 20:14:30 +00:00
David Edwards
def5668e86 Merge branch 'feature/REPO-4735_Add-release-stages-2' of github.com:Alfresco/acs-community-packaging into feature/REPO-4735_Add-release-stages-2 2020-03-02 20:09:38 +00:00
David Edwards
27de8d313a bump version [trigger release] 2020-03-02 20:09:35 +00:00
Travis CI User
afec08043c [maven-release-plugin][skip ci] rollback the release of acs-community-packaging-6.3.0-repo-4735-2-10 2020-03-02 19:59:53 +00:00
Travis CI User
65ae71832d [maven-release-plugin][skip ci]prepare release acs-community-packaging-6.3.0-repo-4735-2-10 2020-03-02 19:59:25 +00:00
David Edwards
852b32a1b7 Re-add install phase [trigger release]
Creates a cache before release stage to prevent timeout
2020-03-02 19:52:37 +00:00
Travis CI User
f78c38e3a6 [maven-release-plugin][skip ci]prepare for next development iteration 2020-03-02 19:36:37 +00:00
Travis CI User
d580b98697 [maven-release-plugin][skip ci]prepare release acs-community-packaging-6.3.0-repo-4735-2-10 2020-03-02 19:36:31 +00:00
David Edwards
4852e6855f fix build script [trigger release] 2020-03-02 19:10:17 +00:00
David Edwards
00d916f1b1 Fix travis [trigger release] 2020-03-02 19:03:56 +00:00
David Edwards
60f03f9837 Make build script print commands to terminal 2020-03-02 17:40:17 +00:00
David Edwards
280e52cd52 [trigger release] Remove extra install phase add travis_wait 2020-03-02 17:37:44 +00:00
David Edwards
c6bf98f741 [trigger release] Bump release version to 6.3.0-repo-4735-2-10 2020-03-02 17:35:05 +00:00
David Edwards
5091af8e55 Add commit message trigger to company release stage 2020-03-02 17:35:01 +00:00
David Edwards
0d5ad8f17a Update .travis.yml 2020-03-02 17:31:15 +00:00
David Edwards
800b73ec5e Enable company release stage 2020-03-02 17:31:00 +00:00
David Edwards
6ef453586e Enable native S3 upload
comment out aws cli upload
2020-03-02 17:27:25 +00:00
David Edwards
acd9abbf27 Update .travis.yml 2020-03-02 17:20:37 +00:00
David Edwards
0472996186 Update .travis.yml 2020-03-02 17:20:32 +00:00
David Edwards
bd84cd9e65 Add company release stage 2020-03-02 17:20:29 +00:00
David Edwards
7ccf7846c1 Enable deploy stage on branch + company release stage 2020-03-02 17:20:16 +00:00
David Edwards
4e002e55c2 Re-enable build script, fix after_failure 2020-03-02 17:18:53 +00:00
David Edwards
3237b95d9c Update verifyReleaseTag.sh
Instead of using a hard coded string the image name is retrieved from the docker-alfresco/pom.xml
2020-03-02 17:13:54 +00:00
David Edwards
19fdbe3840 Update image.name for test-releases 2020-03-02 17:08:02 +00:00
David Edwards
9599815cd3 Merge branch 'feature/REPO-4735_Add-release-stages-2' of github.com:Alfresco/acs-community-packaging into feature/REPO-4735_Add-release-stages-2 2020-03-02 17:07:33 +00:00
David Edwards
58d370105e Update buildRelease.sh
Fail if versions not set.
Add git email to config.
Update comments
2020-03-02 17:07:30 +00:00
David Edwards
0684049e53 combine release stages 2020-03-02 16:55:04 +00:00
David Edwards
5f09b585d0 Add commit message requirement 2020-03-02 16:54:51 +00:00
Travis CI User
fb0732c341 [maven-release-plugin][skip ci] prepare for next development iteration 2020-03-02 15:59:13 +00:00
Travis CI User
f95dc7f7a1 [maven-release-plugin][skip ci] prepare release acs-community-packaging-6.3.0-repo-4735-2-9 2020-03-02 15:59:07 +00:00
David Edwards
3ab9153a66 Update .travis.yml 2020-03-02 15:30:23 +00:00
David Edwards
a90447885e Add dockerhub credentials 2020-03-02 15:22:54 +00:00
David Edwards
beadd08090 Remove alfresco-public, rename QUAY creds 2020-02-28 17:52:08 +00:00
David Edwards
89fab9b670 Bump release version 2020-02-28 17:41:48 +00:00
Travis CI User
193e4116d0 [maven-release-plugin][skip ci] prepare for next development iteration 2020-02-28 17:13:34 +00:00
Travis CI User
391eb399a7 [maven-release-plugin][skip ci] prepare release acs-community-packaging-6.3.0-repo-4735-2-7 2020-02-28 17:13:28 +00:00
David Edwards
028dfc59a3 Update .travis.yml 2020-02-28 16:45:07 +00:00
David Edwards
210d3d070a Correct naming of image
Should now be: alfresco/alfresco-content-repository-community-test-release:tag
2020-02-28 16:28:10 +00:00
David Edwards
07f257dda7 Silence install, increment release version 2020-02-28 16:27:13 +00:00
Travis CI User
5f85067681 [maven-release-plugin][skip ci] prepare for next development iteration 2020-02-28 16:08:45 +00:00
Travis CI User
384aca442d [maven-release-plugin][skip ci] prepare release acs-community-packaging-6.3.0-repo-4735-2-6 2020-02-28 16:08:40 +00:00
David Edwards
541d209448 Update Dockerfile 2020-02-28 15:40:37 +00:00
David Edwards
52f03e7a7f Rearrange pom profiles 2020-02-28 15:40:25 +00:00
David Edwards
189b88b812 Bump release version 2020-02-28 15:36:49 +00:00
David Edwards
01874c8cb5 Update .travis.yml 2020-02-28 15:36:27 +00:00
David Edwards
2424ea9edd Update pom.xml 2020-02-28 15:36:12 +00:00
David Edwards
c1545b37ea Use project version as image tag for communityDocker (temp) 2020-02-28 15:36:04 +00:00
David Edwards
8a8f58c8d7 Rename images 2020-02-28 15:34:48 +00:00
Travis CI User
a5041bcc83 [maven-release-plugin][skip ci] rollback the release of acs-community-packaging-6.3.0-repo-4735-2-4 2020-02-28 15:28:50 +00:00
Travis CI User
861112707b [maven-release-plugin][skip ci] prepare release acs-community-packaging-6.3.0-repo-4735-2-4 2020-02-28 15:28:23 +00:00
David Edwards
ebe2a6f75a Comment out dockerhub creds 2020-02-28 15:24:18 +00:00
David Edwards
ffa9149176 Run install
To download dependencies before trying release stage, to hopefully prevent time out.
2020-02-28 15:17:18 +00:00
David Edwards
88af802b4c Update version to 6.3.0-SNAPSHOT 2020-02-28 15:11:16 +00:00
David Edwards
ade117c405 Merge branch 'feature/REPO-4735_Add-release-stages-2' of github.com:Alfresco/acs-community-packaging into feature/REPO-4735_Add-release-stages-2 2020-02-28 15:09:52 +00:00
Travis CI User
e712b9ded8 [maven-release-plugin][skip ci] rollback the release of acs-community-packaging-6.3.0-repo-4735-2-4 2020-02-28 15:08:18 +00:00
David Edwards
4ca2e28f65 Use development_version variable 2020-02-28 15:07:56 +00:00
Travis CI User
12a4391350 [maven-release-plugin][skip ci] prepare release acs-community-packaging-6.3.0-repo-4735-2-4 2020-02-28 15:07:51 +00:00
David Edwards
131d4d053a Add cache maintainance 2020-02-28 15:07:23 +00:00
David Edwards
92c0dc7aae Timeouts.... 2020-02-28 14:41:58 +00:00
David Edwards
b56b82d4d9 Revert "Add build stage to cache downloads, to prevent timeout..."
This reverts commit fbb2d2836e.
2020-02-28 14:41:09 +00:00
David Edwards
7b005725b5 Revert "Update .travis.yml"
This reverts commit 3e70f80a74.
2020-02-28 14:41:05 +00:00
David Edwards
3e70f80a74 Update .travis.yml 2020-02-28 14:40:10 +00:00
David Edwards
fbb2d2836e Add build stage to cache downloads, to prevent timeout... 2020-02-28 14:38:26 +00:00
Travis CI User
ca0a19ed3d [maven-release-plugin][skip ci] prepare for next development iteration 2020-02-28 14:20:29 +00:00
Travis CI User
a41a30bea9 [maven-release-plugin][skip ci] prepare release acs-community-packaging-6.3.0-repo-4735-2-4 2020-02-28 14:20:22 +00:00
David Edwards
2ed693a822 Fix docker-maven plugin version 2020-02-28 13:52:41 +00:00
David Edwards
e7c71ac239 Update .travis.yml 2020-02-28 13:49:20 +00:00
David Edwards
de795f8b63 Update .travis.yml 2020-02-28 13:48:53 +00:00
David Edwards
2f35d58503 Merge branch 'feature/REPO-4735_Add-release-stages-2' of github.com:Alfresco/acs-community-packaging into feature/REPO-4735_Add-release-stages-2 2020-02-28 13:47:57 +00:00
David Edwards
c85fe9924b Combine release stages 2020-02-28 13:47:53 +00:00
David Edwards
abb3b4cbf3 Use docker-maven plugin instead of fabric8-maven plugin
fabric8 maven plugin attempts to build in Kubernetes mode. This is not needed to create acs images.
2020-02-28 13:47:25 +00:00
Travis CI User
236a943643 [maven-release-plugin][skip ci] prepare for next development iteration 2020-02-28 13:45:34 +00:00
Travis CI User
15ac47205f [maven-release-plugin][skip ci] prepare release acs-community-packaging-6.3.0-repo-4735-2-3 2020-02-28 13:45:28 +00:00
David Edwards
768ee33878 Set version to 6.3.0-SNAPSHOT 2020-02-28 13:45:16 +00:00
David Edwards
92ff0105e4 Update .travis.yml 2020-02-28 13:19:26 +00:00
David Edwards
8d5fabf930 Comment out apply amps 2020-02-28 13:17:06 +00:00
David Edwards
d09a9b44df Update .travis.yml 2020-02-28 13:16:42 +00:00
Travis CI User
2ee12e749b [maven-release-plugin][skip ci] prepare for next development iteration 2020-02-28 12:11:00 +00:00
Travis CI User
6de667cc56 [maven-release-plugin][skip ci] prepare release acs-community-packaging-6.3.0-repo-4735-2-2 2020-02-28 12:10:54 +00:00
David Edwards
63bce60c31 Add docker login details to settings and remove from travis.yml 2020-02-28 11:44:36 +00:00
David Edwards
0580c3820a Update release version to 6.3.0-<dev_release> + uncomment apply amps
The warfile generated doesn't recognise the repo-xxxx- release version and has a version of 0.0.0. This may be the cause of the docker file errors.
2020-02-28 11:43:56 +00:00
David Edwards
ce784460e9 Rename image name, add alias for debugging
We don't want to accidentally override the latest tag with WIP builds.
2020-02-28 11:41:59 +00:00
David Edwards
9496feaefe Merge branch 'feature/REPO-4735_Add-release-stages-2' of github.com:Alfresco/acs-community-packaging into feature/REPO-4735_Add-release-stages-2 2020-02-28 11:41:13 +00:00
Travis CI User
06a65098c0 [maven-release-plugin][skip ci] prepare for next development iteration 2020-02-28 09:51:19 +00:00
Travis CI User
7929123554 [maven-release-plugin][skip ci] prepare release acs-community-packaging-repo-4735-2-2 2020-02-28 09:51:13 +00:00
David Edwards
95aaa819e0 Add clean install with release:perform
The dockerfile recommends this when building....
2020-02-28 09:34:18 +00:00
David Edwards
4041c9495d Separate release jobs put detailed logging on perform
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
2020-02-28 09:24:53 +00:00
Travis CI User
bd96c27d37 [maven-release-plugin][skip ci] prepare for next development iteration 2020-02-27 17:25:38 +00:00
Travis CI User
ff9685ac67 [maven-release-plugin][skip ci] prepare release acs-community-packaging-repo-4735-2-1 2020-02-27 17:25:33 +00:00
David Edwards
8d3762f416 Bump release version 2020-02-27 16:59:38 +00:00
Travis CI User
ed26c7b258 [maven-release-plugin][skip ci] rollback the release of acs-community-packaging-repo-4735-16 2020-02-27 16:56:16 +00:00
Travis CI User
117b65879f [maven-release-plugin][skip ci] prepare release acs-community-packaging-repo-4735-16 2020-02-27 16:56:05 +00:00
David Edwards
068e7066bf add extra logging and remove release:clean 2020-02-27 16:54:29 +00:00
Travis CI User
6a6df0dccd [maven-release-plugin][skip ci] rollback the release of acs-community-packaging-repo-4735-16 2020-02-27 16:48:05 +00:00
Travis CI User
6ed957ca77 [maven-release-plugin][skip ci] prepare release acs-community-packaging-repo-4735-16 2020-02-27 16:47:21 +00:00
David Edwards
9c4b53bec8 Merge branch 'feature/REPO-4735_Add-release-stages-2' of github.com:Alfresco/acs-community-packaging into feature/REPO-4735_Add-release-stages-2 2020-02-27 16:20:56 +00:00
David Edwards
656c3a9c0f Update .travis.yml 2020-02-27 16:20:51 +00:00
Travis CI User
9b07a93890 [maven-release-plugin][skip ci] rollback the release of acs-community-packaging-repo-4735-16 2020-02-27 16:19:18 +00:00
Travis CI User
d0e6c6bed7 [maven-release-plugin][skip ci] prepare release acs-community-packaging-repo-4735-16 2020-02-27 16:19:05 +00:00
David Edwards
66044db9cc Comment out amp installation
Potential place for errors.
2020-02-27 16:01:53 +00:00
Travis CI User
1df4c8f7c2 [maven-release-plugin][skip ci] prepare for next development iteration 2020-02-27 13:11:34 +00:00
Travis CI User
1e6b797d57 [maven-release-plugin][skip ci] prepare release acs-community-packaging-repo-4735-16 2020-02-27 13:11:27 +00:00
David Edwards
d03689f5d3 Update release version 2020-02-27 13:09:44 +00:00
Travis CI User
99fc0a330a [maven-release-plugin][skip ci] rollback the release of acs-community-packaging-repo-4735-15 2020-02-27 12:47:50 +00:00
Travis CI User
16ad37b169 [maven-release-plugin][skip ci] prepare release acs-community-packaging-repo-4735-15 2020-02-27 12:47:04 +00:00
David Edwards
1798d0fd2b Remove detailed logging
Hit log limit in travis
2020-02-27 12:21:23 +00:00
Travis CI User
1bb7035e68 [maven-release-plugin][skip ci] prepare for next development iteration 2020-02-27 12:09:13 +00:00
Travis CI User
65d3a861ec [maven-release-plugin][skip ci] prepare release acs-community-packaging-repo-4735-15 2020-02-27 12:09:04 +00:00
David Edwards
524228771d REPO-4735 Fix java11 javadoc 8 error
(cherry picked from commit 91f66cdacc)
2020-02-27 11:40:07 +00:00
David Edwards
0f96d69af6 REPO-4735-Use https scm connection
(cherry picked from commit d8c15c846c)
2020-02-27 11:40:01 +00:00
David Edwards
541cb9a326 Create .travis.settings.xml 2020-02-27 11:35:05 +00:00
David Edwards
3401c50215 Make scripts executable 2020-02-27 11:28:40 +00:00
David Edwards
8d1e2a5d5f Add WIP scripts from original branch 2020-02-27 11:21:57 +00:00
David Edwards
4441e82213 Create verifyReleaseTag.sh 2020-02-27 11:21:35 +00:00
David Edwards
b95a7df236 Add branch to build 2020-02-27 11:17:16 +00:00
David Edwards
a4dcd3b5b5 Update .travis.yml 2020-02-27 11:12:18 +00:00
David Edwards
fb0d9b0b37 Replace USERNAME with LINUXUSERNAME to fix windows error 2020-02-27 11:05:54 +00:00
David Edwards
e592d0bf23 Add WIP release stages from original branch 2020-02-27 11:03:46 +00:00
David Edwards
405dd92d8d Disable test stage 2020-02-27 11:03:24 +00:00
David Edwards
48fde80eca Remove extra line 2020-02-27 11:03:10 +00:00
David Edwards
a376256826 Add stages to travis 2020-02-27 11:02:31 +00:00
David Edwards
60cd53cd2d Add branch to build 2020-02-27 11:01:57 +00:00
26 changed files with 809 additions and 51 deletions

5
.gitignore vendored
View File

@@ -35,4 +35,7 @@ alf_data/
helm/alfresco-content-services-community/charts/*
helm/alfresco-content-services-community/requirements.lock
helm/alfresco-content-services-community*.tgz
helm/alfresco-content-services-community*.tgz
# Travis deployment folder
deploy_dir

49
.travis.settings.xml Normal file
View File

@@ -0,0 +1,49 @@
<settings>
<profiles>
<profile>
<id>alfresco-internal</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<repositories>
<repository>
<id>alfresco-internal</id>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
<name>Alfresco Internal Repository</name>
<url>https://artifacts.alfresco.com/nexus/content/groups/internal</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>alfresco-internal</id>
<name>Alfresco Internal Repository</name>
<url>https://artifacts.alfresco.com/nexus/content/groups/public</url>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<servers>
<server>
<id>alfresco-internal</id>
<username>${env.MAVEN_USERNAME}</username>
<password>${env.MAVEN_PASSWORD}</password>
</server>
<server>
<id>quay.io</id>
<username>${env.QUAY_USERNAME}</username>
<password>${env.QUAY_PASSWORD}</password>
</server>
<server>
<id>docker.io</id>
<username>${env.DOCKERHUB_USERNAME}</username>
<password>${env.DOCKERHUB_PASSWORD}</password>
</server>
</servers>
</settings>

View File

@@ -10,19 +10,37 @@ services:
cache:
directories:
- $HOME/.m2
# the cache can grow constantly
before_cache:
- rm -rf $HOME/.m2/repository/org/alfresco
env:
global:
- VERSION_EDITION=Community
# Must be in the format <alfresco-version>-<additional_versioning> ie. 6.3.0-repo-xxxx-x or 6.3.0-A-x
- RELEASE_VERSION=6.3.0-repo-4735-2-15
- DEVELOPMENT_VERSION=6.3.0-SNAPSHOT
- COMM_RELEASE_VERSION=202003-test-release
branches:
only:
- master
- develop
- feature/REPO-4735_Add-release-stages-2
stages:
- name: test
if: commit_message !~ /\[no-test\]/
- name: engineering release
if: commit_message ~= /\[trigger-release\]/ AND fork = false
- name: company release
if: commit_message ~= /\[trigger-company-release\]/ AND fork = false
before_install: "cp .travis.settings.xml $HOME/.m2/settings.xml"
matrix:
include:
- name: "WhiteSource scan"
- stage: test
name: "WhiteSource scan"
# only on master and if it is not a PR
if: fork = false AND branch = master AND type != pull_request
install:
@@ -88,3 +106,47 @@ matrix:
- ./tests/scripts/wait-for-alfresco-start.sh "http://localhost:8082/alfresco"
script:
- travis_wait 30 mvn install -q -f tests/tas-integration/pom.xml -Pall-tas-tests -Denvironment=default -DrunBugs=false
- stage: Engineering Release
name: "Maven release"
# TODO only on master branch
if: fork = false AND branch = feature/REPO-4735_Add-release-stages-2
install: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
# Fail the job if there is a docker image tag that matches the RELEASE_VERSION (or project version in the POM if not set)
before_script: bash ./scripts/travis/verifyReleaseTag.sh
script: bash ./scripts/travis/buildRelease.sh ${RELEASE_VERSION} ${DEVELOPMENT_VERSION}
# if the release stage fails rollback
after_failure:
- mvn release:rollback -DscmCommentPrefix="[maven-release-plugin][skip ci] "
# Copy alfresco.war and the distribution zip to deploy_dir
before_deploy: bash ./scripts/travis/prepareEngineeringRelease.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
upload_dir: "/alfresco-content-services-community/release/${TRAVIS_BRANCH}/${TRAVIS_BUILD_NUMBER}/"
local_dir: deploy_dir
# TODO extra run only on master or develop branch
on:
all_branches: true
condition: $TRAVIS_BRANCH =~ ^(master|develop|feature/REPO-4735_Add-release-stages-2)$
# This release stage should copy from our staging bucket to our release bucket
- stage: "Company Release"
name: "Copy to S3 Release"
# TODO Final version should only "release" on master
if: fork = false AND branch = feature/REPO-4735_Add-release-stages-2
# Nothing to build/install as we are just copying from S3 buckets
install: skip
script: skip
before_deploy: pip install awscli
delpoy:
- provider: script
script: ./scripts/travis/companyReleaseDeployment.sh ${TRAVIS_BUILD_NUMBER} ${TRAVIS_BRANCH}
on:
# TODO Final version should only "release" on master
branch: feature/REPO-4735_Add-release-stages-2

View File

@@ -7,7 +7,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>acs-community-packaging</artifactId>
<version>6.3.0-SNAPSHOT</version>
<version>6.3.0-repo-4735-2-15</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@@ -5,7 +5,7 @@ FROM alfresco/alfresco-base-tomcat:8.5.43-java-11-openjdk-centos-7
# Set default user information
ARG GROUPNAME=Alfresco
ARG GROUPID=1000
ARG USERNAME=alfresco
ARG LINUXUSERNAME=alfresco
ARG USERID=33000
# Set default environment args
@@ -73,7 +73,7 @@ RUN yum install -y fontconfig-2.13.0-4.3.el7 \
RUN mkdir -p ${TOMCAT_DIR}/conf/Catalina/localhost && \
mkdir -p ${TOMCAT_DIR}/alf_data && \
groupadd -g ${GROUPID} ${GROUPNAME} && \
useradd -u ${USERID} -G ${GROUPNAME} ${USERNAME} && \
useradd -u ${USERID} -G ${GROUPNAME} ${LINUXUSERNAME} && \
chgrp -R ${GROUPNAME} ${TOMCAT_DIR} && \
chmod g+w ${TOMCAT_DIR}/logs && \
chmod g+rx ${TOMCAT_DIR}/conf && \
@@ -94,4 +94,4 @@ RUN mkdir -p ${TOMCAT_DIR}/conf/Catalina/localhost && \
# Changes are also required to the docker-compose/docker-compose.yml file.
# EXPOSE 8000
USER ${USERNAME}
USER ${LINUXUSERNAME}

View File

@@ -7,12 +7,12 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>acs-community-packaging</artifactId>
<version>6.3.0-SNAPSHOT</version>
<version>6.3.0-repo-4735-2-15</version>
<relativePath>../pom.xml</relativePath>
</parent>
<properties>
<image.name>alfresco/alfresco-content-repository-community</image.name>
<image.name>alfresco/alfresco-content-repository-community-test-release</image.name>
<image.registry>quay.io</image.registry>
</properties>
@@ -216,12 +216,12 @@
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>fabric8-maven-plugin</artifactId>
<version>${dependency.fabric8.version}</version>
<artifactId>docker-maven-plugin</artifactId>
<version>${dependency.docker-maven.version}</version>
<configuration>
<images>
<image>
<name>${image.name}</name>
<name>${image.name}:${project.version}</name>
<build>
<dockerFileDir>${project.basedir}/</dockerFileDir>
</build>
@@ -239,8 +239,8 @@
<plugins>
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>fabric8-maven-plugin</artifactId>
<version>${dependency.fabric8.version}</version>
<artifactId>docker-maven-plugin</artifactId>
<version>${dependency.docker-maven.version}</version>
<executions>
<execution>
<id>build-image</id>
@@ -261,8 +261,8 @@
<plugins>
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>fabric8-maven-plugin</artifactId>
<version>${dependency.fabric8.version}</version>
<artifactId>docker-maven-plugin</artifactId>
<version>${dependency.docker-maven.version}</version>
<configuration>
<images>
<image>
@@ -295,8 +295,8 @@
<plugins>
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>fabric8-maven-plugin</artifactId>
<version>${dependency.fabric8.version}</version>
<artifactId>docker-maven-plugin</artifactId>
<version>${dependency.docker-maven.version}</version>
<configuration>
<images>
<image>
@@ -335,11 +335,12 @@
<plugins>
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>fabric8-maven-plugin</artifactId>
<version>${dependency.fabric8.version}</version>
<artifactId>docker-maven-plugin</artifactId>
<version>${dependency.docker-maven.version}</version>
<configuration>
<images>
<image>
<alias>quay.io</alias>
<name>${image.name}:${project.version}</name>
<registry>${image.registry}</registry>
<build>
@@ -347,6 +348,7 @@
</build>
</image>
<image>
<alias>dockerhub</alias>
<name>${image.name}:${project.version}</name>
<build>
<dockerFileDir>${project.basedir}/</dockerFileDir>

View File

@@ -4,6 +4,6 @@ SHARE_TAG=6.2.0
SOLR6_TAG=1.4.1
POSTGRES_TAG=11.4
ACTIVEMQ_TAG=5.15.8
REGISTRY=
REGISTRY=test-
LEGACY_TRANSFORM_SERVICE_ENABLED=true
LOCAL_TRANSFORM_SERVICE_ENABLED=true

46
pom.xml
View File

@@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>acs-community-packaging</artifactId>
<name>Alfresco Content Services Community Packaging</name>
<version>6.3.0-SNAPSHOT</version>
<version>6.3.0-repo-4735-2-15</version>
<packaging>pom</packaging>
<parent>
@@ -12,6 +12,18 @@
</parent>
<profiles>
<profile>
<id>fullBuild</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<modules>
<module>war</module>
<module>distribution</module>
<module>public-javadoc</module>
<module>docker-alfresco</module>
</modules>
</profile>
<profile>
<id>community</id>
<modules>
@@ -25,18 +37,6 @@
<module>docker-alfresco</module>
</modules>
</profile>
<profile>
<id>fullBuild</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<modules>
<module>war</module>
<module>distribution</module>
<module>public-javadoc</module>
<module>docker-alfresco</module>
</modules>
</profile>
<profile>
<id>all-tas-tests</id>
<modules>
@@ -46,10 +46,10 @@
</profiles>
<scm>
<connection>scm:git:git@github.com:Alfresco/acs-community-packaging.git</connection>
<developerConnection>scm:git:git@github.com:Alfresco/acs-community-packaging.git</developerConnection>
<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>HEAD</tag>
<tag>acs-community-packaging-6.3.0-repo-4735-2-15</tag>
</scm>
<distributionManagement>
@@ -86,6 +86,7 @@
<dependency.spring.version>5.2.2.RELEASE</dependency.spring.version>
<dependency.fabric8.version>4.3.1</dependency.fabric8.version>
<dependency.docker-maven.version>0.33.0</dependency.docker-maven.version>
<dependency.jackson.version>2.10.2</dependency.jackson.version>
<dependency.jackson-databind.version>2.10.1</dependency.jackson-databind.version>
@@ -116,6 +117,8 @@
<dependency.tas-webdav.version>1.5</dependency.tas-webdav.version>
<dependency.tas-ftp.version>1.4</dependency.tas-ftp.version>
<dependency.tas-dataprep.version>2.3</dependency.tas-dataprep.version>
<maven.build.sourceVersion>11</maven.build.sourceVersion>
</properties>
<dependencyManagement>
@@ -543,4 +546,15 @@
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<source>11</source>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@@ -5,7 +5,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>acs-community-packaging</artifactId>
<version>6.3.0-SNAPSHOT</version>
<version>6.3.0-repo-4735-2-15</version>
<relativePath>../pom.xml</relativePath>
</parent>
<packaging>pom</packaging>

42
scripts/travis/buildRelease.sh Executable file
View File

@@ -0,0 +1,42 @@
#!/usr/bin/env bash
set -ev
releaseVersion=$1
developmentVersion=$2
scm_path=$(mvn help:evaluate -Dexpression=project.scm.url -q -DforceStdout)
# Use full history for release
git checkout -B "${TRAVIS_BRANCH}"
# Add email to link commits to user
git config user.email "${GIT_EMAIL}"
if [ -z ${releaseVersion} ] || [ -z ${developmentVersion} ];
then echo "Please provide a Release and Development verison in the format <acs-version>-<additional-info> (6.3.0-EA or 6.3.0-SNAPSHOT)"
exit -1
# TODO: add Continuous Release (auto incrementing version) if required
# mvn --batch-mode \
# -Dusername="${GIT_USERNAME}" \
# -Dpassword="${GIT_PASSWORD}" \
# -Dbuild-number=${TRAVIS_BUILD_NUMBER} \
# -Dbuild-name="${TRAVIS_BUILD_STAGE_NAME}" \
# -Dscm-path=${scm_path} \
# -DscmCommentPrefix="[maven-release-plugin][skip ci]" \
# -DskipTests \
# "-Darguments=-DskipTests -Dbuild-number=${TRAVIS_BUILD_NUMBER} '-Dbuild-name=${TRAVIS_BUILD_STAGE_NAME}' -Dscm-path=${scm_path} " \
# -Prelease \
# release:prepare release:perform
else
mvn --batch-mode \
-Dusername="${GIT_USERNAME}" \
-Dpassword="${GIT_PASSWORD}" \
-DreleaseVersion=${releaseVersion} \
-DdevelopmentVersion=${developmentVersion} \
-Dbuild-number=${TRAVIS_BUILD_NUMBER} \
-Dbuild-name="${TRAVIS_BUILD_STAGE_NAME}" \
-Dscm-path=${scm_path} \
-DscmCommentPrefix="[maven-release-plugin][skip ci]" \
-DskipTests \
"-Darguments=-DskipTests -Dbuild-number=${TRAVIS_BUILD_NUMBER} '-Dbuild-name=${TRAVIS_BUILD_STAGE_NAME}' -Dscm-path=${scm_path} " \
release:clean release:prepare release:perform \
-Prelease
fi

View File

@@ -0,0 +1,17 @@
#!/usr/bin/env bash
set -e
if [ -z ${COMM_RELEASE_VERSION} ] || [ -z ${RELEASE_VERSION} ];
then
echo "Please provide a COMM_RELEASE_VERSION and Development verison in the format <acs-version>-<additional-info> (6.3.0-EA or 6.3.0-SNAPSHOT)"
exit -1
fi
build_number=$1
branch_name=$2
build_stage=release
SOURCE=s3://alfresco-artefacts-staging/alfresco-content-services-community/$build_stage/$branch_name/$build_number
DESTINATION=s3://eu.dl.alfresco.com/release/community/$COMM_RELEASE_VERSION-build-$build_number
aws s3 cp --acl private $SOURCE/alfresco.war $DESTINATION/alfresco.war
aws s3 cp --acl private $SOURCE/alfresco-content-services-community-distribution-$RELEASE_VERSION.zip $DESTINATION/alfresco-content-services-community-distribution-$RELEASE_VERSION.zip

View File

@@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -ev
if [ -z ${RELEASE_VERSION} ];
then
exit -1
fi
DEPLOYMENT_DIR=deploy_dir
mkdir $DEPLOYMENT_DIR -p
cp war/target/alfresco.war ${DEPLOYMENT_DIR}
cp distribution/target/alfresco-content-services-community-distribution-$RELEASE_VERSION.zip ${DEPLOYMENT_DIR}

View File

@@ -0,0 +1,36 @@
#!/usr/bin/env bash
set -e
# get the image name from the pom file
alfresco_docker_image=$(mvn help:evaluate -f ./docker-alfresco/pom.xml -Dexpression=image.name -q -DforceStdout)
if [ -v ${RELEASE_VERSION} ]||[ -z ${RELEASE_VERSION} ]; then
# if we don't have a user added release version, get the verison from the pom
pom_version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
if echo $pom_version | grep -q ".*-SNAPSHOT"; then
RELEASE_VERSION=${pom_version%-*} # remove everything after the last '-'
else
RELEASE_VERSION=$pom_version
fi
fi
docker_image_full_name="$alfresco_docker_image:$RELEASE_VERSION"
function docker_image_exists() {
local image_full_name="$1"; shift
local wait_time="${1:-5}"
local search_term='Pulling|is up to date|not found'
echo "Looking to see if $image_full_name already exists..."
local result="$((timeout --preserve-status "$wait_time" docker 2>&1 pull "$image_full_name" &) | grep -v 'Pulling repository' | egrep -o "$search_term")"
test "$result" || { echo "Timed out too soon. Try using a wait_time greater than $wait_time..."; return 1 ;}
if echo $result | grep -vq 'not found'; then
true
else
false
fi
}
if docker_image_exists $docker_image_full_name; then
echo "Tag $RELEASE_VERSION already pushed, release process will interrupt."
exit -1
else
echo "The $RELEASE_VERSION tag was not found"
fi

View File

@@ -1,13 +1,13 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>content-repository-community-tas-tests-parent</artifactId>
<version>6.3.0-SNAPSHOT</version>
<version>6.3.0-repo-4735-2-12</version>
<packaging>pom</packaging>
<parent>
<groupId>org.alfresco</groupId>
<artifactId>acs-community-packaging</artifactId>
<version>6.3.0-SNAPSHOT</version>
<version>6.3.0-repo-4735-2-12</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@@ -0,0 +1,86 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>content-repository-community-tas-tests-parent</artifactId>
<version>6.3.0-SNAPSHOT</version>
<packaging>pom</packaging>
<parent>
<groupId>org.alfresco</groupId>
<artifactId>acs-community-packaging</artifactId>
<version>6.3.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modules>
<module>tas-restapi</module>
<module>tas-cmis</module>
<module>tas-email</module>
<module>tas-webdav</module>
<module>tas-integration</module>
</modules>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.alfresco.tas</groupId>
<artifactId>utility</artifactId>
<version>${dependency.tas-utility.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.rest-assured</groupId>
<artifactId>rest-assured</artifactId>
<version>${dependency.rest-assured.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.glassfish</groupId>
<artifactId>javax.json</artifactId>
<version>${dependency.javax.json.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.alfresco.tas</groupId>
<artifactId>restapi</artifactId>
<version>${dependency.tas-restapi.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.alfresco.tas</groupId>
<artifactId>cmis</artifactId>
<version>${dependency.tas-cmis.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.alfresco.tas</groupId>
<artifactId>email</artifactId>
<version>${dependency.tas-email.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.alfresco.tas</groupId>
<artifactId>webdav</artifactId>
<version>${dependency.tas-webdav.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.alfresco.tas</groupId>
<artifactId>ftp</artifactId>
<version>${dependency.tas-ftp.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.alfresco.test</groupId>
<artifactId>dataprep</artifactId>
<version>${dependency.tas-dataprep.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<version>${dependency.spring.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
</project>

View File

@@ -4,13 +4,13 @@
<groupId>org.alfresco.tas</groupId>
<artifactId>content-repository-community-cmis-test</artifactId>
<name>content-repository-community-cmis-test</name>
<version>6.3.0-SNAPSHOT</version>
<version>6.3.0-repo-4735-2-12</version>
<packaging>jar</packaging>
<parent>
<groupId>org.alfresco</groupId>
<artifactId>content-repository-community-tas-tests-parent</artifactId>
<version>6.3.0-SNAPSHOT</version>
<version>6.3.0-repo-4735-2-12</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@@ -0,0 +1,66 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.alfresco.tas</groupId>
<artifactId>content-repository-community-cmis-test</artifactId>
<name>content-repository-community-cmis-test</name>
<version>6.3.0-SNAPSHOT</version>
<packaging>jar</packaging>
<parent>
<groupId>org.alfresco</groupId>
<artifactId>content-repository-community-tas-tests-parent</artifactId>
<version>6.3.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<developers>
<developer>
<name>Paul Brodner</name>
<roles>
<role>Test Automation Architect</role>
</roles>
</developer>
</developers>
<properties>
<suiteXmlFile>${project.basedir}/src/test/resources/cmis-suite.xml</suiteXmlFile>
</properties>
<dependencies>
<dependency>
<groupId>org.alfresco.tas</groupId>
<artifactId>cmis</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<suiteXmlFiles>
<suiteXmlFile>${suiteXmlFile}</suiteXmlFile>
</suiteXmlFiles>
<argLine>
--illegal-access=warn
</argLine>
</configuration>
</plugin>
<!-- Build only test jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

View File

@@ -4,13 +4,13 @@
<groupId>org.alfresco.tas</groupId>
<artifactId>content-repository-community-email-test</artifactId>
<name>content-repository-community-email-test</name>
<version>6.3.0-SNAPSHOT</version>
<version>6.3.0-repo-4735-2-12</version>
<packaging>jar</packaging>
<parent>
<groupId>org.alfresco</groupId>
<artifactId>content-repository-community-tas-tests-parent</artifactId>
<version>6.3.0-SNAPSHOT</version>
<version>6.3.0-repo-4735-2-12</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@@ -0,0 +1,66 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.alfresco.tas</groupId>
<artifactId>content-repository-community-email-test</artifactId>
<name>content-repository-community-email-test</name>
<version>6.3.0-SNAPSHOT</version>
<packaging>jar</packaging>
<parent>
<groupId>org.alfresco</groupId>
<artifactId>content-repository-community-tas-tests-parent</artifactId>
<version>6.3.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<developers>
<developer>
<name>Paul Brodner</name>
<roles>
<role>Test Automation Architect</role>
</roles>
</developer>
</developers>
<properties>
<suiteXmlFile>${project.basedir}/src/test/resources/email-suite.xml</suiteXmlFile>
</properties>
<dependencies>
<dependency>
<groupId>org.alfresco.tas</groupId>
<artifactId>email</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<suiteXmlFiles>
<suiteXmlFile>${suiteXmlFile}</suiteXmlFile>
</suiteXmlFiles>
<argLine>
--illegal-access=warn
</argLine>
</configuration>
</plugin>
<!-- Build only test jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

View File

@@ -4,13 +4,13 @@
<groupId>org.alfresco.tas</groupId>
<artifactId>content-repository-community-integration-test</artifactId>
<name>content-repository-community-integration-test</name>
<version>6.3.0-SNAPSHOT</version>
<version>6.3.0-repo-4735-2-12</version>
<packaging>jar</packaging>
<parent>
<groupId>org.alfresco</groupId>
<artifactId>content-repository-community-tas-tests-parent</artifactId>
<version>6.3.0-SNAPSHOT</version>
<version>6.3.0-repo-4735-2-12</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@@ -0,0 +1,134 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.alfresco.tas</groupId>
<artifactId>content-repository-community-integration-test</artifactId>
<name>content-repository-community-integration-test</name>
<version>6.3.0-SNAPSHOT</version>
<packaging>jar</packaging>
<parent>
<groupId>org.alfresco</groupId>
<artifactId>content-repository-community-tas-tests-parent</artifactId>
<version>6.3.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<developers>
<developer>
<name>Paul Brodner</name>
<roles>
<role>Test Automation Architect</role>
</roles>
</developer>
</developers>
<properties>
<suiteXmlFile>${project.basedir}/src/test/resources/integration-suite.xml</suiteXmlFile>
<dependency.groovy.version>2.5.8</dependency.groovy.version>
<dependency.javax.mail.version>1.6.2</dependency.javax.mail.version>
</properties>
<dependencies>
<dependency>
<groupId>org.alfresco.tas</groupId>
<artifactId>utility</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.rest-assured</groupId>
<artifactId>rest-assured</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.mail</groupId>
<artifactId>javax.mail-api</artifactId>
<version>${dependency.javax.mail.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.sun.mail</groupId>
<artifactId>javax.mail</artifactId>
<version>${dependency.javax.mail.version}</version>
</dependency>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy</artifactId>
<version>${dependency.groovy.version}</version>
</dependency>
<!-- FTP -->
<dependency>
<groupId>org.alfresco.tas</groupId>
<artifactId>ftp</artifactId>
<scope>test</scope>
</dependency>
<!-- REST API -->
<dependency>
<groupId>org.alfresco.tas</groupId>
<artifactId>restapi</artifactId>
<scope>test</scope>
</dependency>
<!-- CMIS -->
<dependency>
<groupId>org.alfresco.tas</groupId>
<artifactId>cmis</artifactId>
<scope>test</scope>
</dependency>
<!-- EMAIL: IMAP & SMTP -->
<dependency>
<groupId>org.alfresco.tas</groupId>
<artifactId>email</artifactId>
<scope>test</scope>
</dependency>
<!-- WebDAV -->
<dependency>
<groupId>org.alfresco.tas</groupId>
<artifactId>webdav</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.jayway.jsonpath</groupId>
<artifactId>json-path</artifactId>
<version>2.4.0</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<suiteXmlFiles>
<suiteXmlFile>${suiteXmlFile}</suiteXmlFile>
</suiteXmlFiles>
<argLine>
--illegal-access=warn
</argLine>
</configuration>
</plugin>
<!-- Build only test jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

View File

@@ -4,13 +4,13 @@
<groupId>org.alfresco.tas</groupId>
<artifactId>content-repository-community-restapi-test</artifactId>
<name>content-repository-community-restapi-test</name>
<version>6.3.0-SNAPSHOT</version>
<version>6.3.0-repo-4735-2-12</version>
<packaging>jar</packaging>
<parent>
<groupId>org.alfresco</groupId>
<artifactId>content-repository-community-tas-tests-parent</artifactId>
<version>6.3.0-SNAPSHOT</version>
<version>6.3.0-repo-4735-2-12</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@@ -0,0 +1,102 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.alfresco.tas</groupId>
<artifactId>content-repository-community-restapi-test</artifactId>
<name>content-repository-community-restapi-test</name>
<version>6.3.0-SNAPSHOT</version>
<packaging>jar</packaging>
<parent>
<groupId>org.alfresco</groupId>
<artifactId>content-repository-community-tas-tests-parent</artifactId>
<version>6.3.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<developers>
<developer>
<name>Paul Brodner</name>
<roles>
<role>Test Automation Architect</role>
</roles>
</developer>
</developers>
<properties>
<suiteXmlFile>${project.basedir}/src/test/resources/restapi-suite.xml</suiteXmlFile>
</properties>
<profiles>
<profile>
<id>run-restapi-part1</id>
<properties>
<suiteXmlFile>${project.basedir}/src/test/resources/test-suites/part1-suite.xml</suiteXmlFile>
</properties>
</profile>
<profile>
<id>run-restapi-part2</id>
<properties>
<suiteXmlFile>${project.basedir}/src/test/resources/test-suites/part2-suite.xml</suiteXmlFile>
</properties>
</profile>
<profile>
<id>run-restapi-part3</id>
<properties>
<suiteXmlFile>${project.basedir}/src/test/resources/test-suites/part3-suite.xml</suiteXmlFile>
</properties>
</profile>
</profiles>
<dependencies>
<dependency>
<groupId>org.alfresco.tas</groupId>
<artifactId>restapi</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.rest-assured</groupId>
<artifactId>rest-assured</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.glassfish</groupId>
<artifactId>javax.json</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<suiteXmlFiles>
<suiteXmlFile>${suiteXmlFile}</suiteXmlFile>
</suiteXmlFiles>
<argLine>
--illegal-access=warn
</argLine>
</configuration>
</plugin>
<!-- Build only test jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

View File

@@ -4,13 +4,13 @@
<groupId>org.alfresco.tas</groupId>
<artifactId>content-repository-community-webdav-test</artifactId>
<name>content-repository-community-webdav-test</name>
<version>6.3.0-SNAPSHOT</version>
<version>6.3.0-repo-4735-2-12</version>
<packaging>jar</packaging>
<parent>
<groupId>org.alfresco</groupId>
<artifactId>content-repository-community-tas-tests-parent</artifactId>
<version>6.3.0-SNAPSHOT</version>
<version>6.3.0-repo-4735-2-12</version>
<relativePath>../pom.xml</relativePath>
</parent>

View File

@@ -0,0 +1,66 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.alfresco.tas</groupId>
<artifactId>content-repository-community-webdav-test</artifactId>
<name>content-repository-community-webdav-test</name>
<version>6.3.0-SNAPSHOT</version>
<packaging>jar</packaging>
<parent>
<groupId>org.alfresco</groupId>
<artifactId>content-repository-community-tas-tests-parent</artifactId>
<version>6.3.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<developers>
<developer>
<name>Paul Brodner</name>
<roles>
<role>Test Automation Architect</role>
</roles>
</developer>
</developers>
<properties>
<suiteXmlFile>${project.basedir}/src/test/resources/webdav-suite.xml</suiteXmlFile>
</properties>
<dependencies>
<dependency>
<groupId>org.alfresco.tas</groupId>
<artifactId>webdav</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<suiteXmlFiles>
<suiteXmlFile>${suiteXmlFile}</suiteXmlFile>
</suiteXmlFiles>
<argLine>
--illegal-access=warn
</argLine>
</configuration>
</plugin>
<!-- Build only test jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

View File

@@ -7,7 +7,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>acs-community-packaging</artifactId>
<version>6.3.0-SNAPSHOT</version>
<version>6.3.0-repo-4735-2-15</version>
<relativePath>../pom.xml</relativePath>
</parent>