brooklyn-dist.git
2 years agoMerge pull request #155 from nakomis/change-packaging-to-pom
Richard Downer [Thu, 30 Jan 2020 14:23:06 +0000 (14:23 +0000)] 
Merge pull request #155 from nakomis/change-packaging-to-pom

Changes packing from feature to pom

2 years agoChanges packing from feature to pom 155/head
Martin Harris [Thu, 30 Jan 2020 12:45:48 +0000 (12:45 +0000)] 
Changes packing from feature to pom

This ensures that the GPG signatures for the feature files are
uploaded to the Nexus repository when creating a release

2 years agoMerge pull request #154 from nakomis/fix/make-release-artifacts
Richard Downer [Tue, 28 Jan 2020 11:05:34 +0000 (11:05 +0000)] 
Merge pull request #154 from nakomis/fix/make-release-artifacts

Updates the 'make-release-artifacts.sh' script compatible with both g…

2 years agoUpdates the 'make-release-artifacts.sh' script compatible with both gpg and gpg2 154/head
Martin Harris [Tue, 28 Jan 2020 10:52:36 +0000 (10:52 +0000)] 
Updates the 'make-release-artifacts.sh' script compatible with both gpg and gpg2

2 years agoThis closes #153
Aled Sage [Mon, 27 Jan 2020 15:58:20 +0000 (15:58 +0000)] 
This closes #153

2 years agoDisables paxexam tests as they are fail in certain environments 153/head
Martin Harris [Mon, 27 Jan 2020 10:16:35 +0000 (10:16 +0000)] 
Disables paxexam tests as they are fail in certain environments

2 years agoMerge pull request #152 from nakomis/update-notices
Thomas Bouron [Wed, 8 Jan 2020 15:59:59 +0000 (15:59 +0000)] 
Merge pull request #152 from nakomis/update-notices

Updates NOTICE files

2 years agoUpdates NOTICE files 152/head
Martin Harris [Wed, 8 Jan 2020 14:02:35 +0000 (14:02 +0000)] 
Updates NOTICE files

2 years agoThis closes #151
Alex Heneveld [Fri, 20 Dec 2019 16:19:40 +0000 (16:19 +0000)] 
This closes #151

2 years agoThis closes #150
Alex Heneveld [Fri, 20 Dec 2019 16:19:17 +0000 (16:19 +0000)] 
This closes #150

2 years agoThis closes #144
Alex Heneveld [Fri, 20 Dec 2019 16:19:15 +0000 (16:19 +0000)] 
This closes #144

2 years agodon't ignore cli vendor directory in copying source files 150/head
Geoff Macartney [Thu, 19 Dec 2019 23:39:51 +0000 (23:39 +0000)] 
don't ignore cli vendor directory in copying source files

the vendor directory is source managed at the moment, which
makes this script easier. We can look into improving this
in a later PR.

2 years agoadd -Dclient to make_release_script.sh
Geoff Macartney [Thu, 19 Dec 2019 19:48:40 +0000 (19:48 +0000)] 
add -Dclient to make_release_script.sh

2 years agomake sure environment.sh exports its variables to the env
Geoff Macartney [Thu, 19 Dec 2019 19:38:00 +0000 (19:38 +0000)] 
make sure environment.sh exports its variables to the env

2 years agoadd rpm and deb build flags
Geoff Macartney [Tue, 17 Dec 2019 23:57:05 +0000 (23:57 +0000)] 
add rpm and deb build flags

2 years agoMerge branch 'master' into remove-md5-sha1
Geoff Macartney [Tue, 17 Dec 2019 20:37:16 +0000 (20:37 +0000)] 
Merge branch 'master' into remove-md5-sha1

2 years agoUpdate Jenkinsfile to: 151/head
Thomas Bouron [Mon, 16 Dec 2019 11:57:02 +0000 (11:57 +0000)] 
Update Jenkinsfile to:
- add the pipeline trigger on comment only if we are building a PR
- not deploy artifacts when building master. This will be taken care of during the full brooklyn build on master (see Jenkinsfile configuration at the brooklyn root)

2 years agoUpdate dockerfile, entrypoint.sh and Jenkinsfile to correctly run integration tests... 144/head
Thomas Bouron [Tue, 3 Dec 2019 14:39:22 +0000 (14:39 +0000)] 
Update dockerfile, entrypoint.sh and Jenkinsfile to correctly run integration tests on Jenkins

2 years agoMerge pull request #147 from tbouron/tbouron-patch-1
Thomas Bouron [Tue, 10 Dec 2019 11:27:54 +0000 (11:27 +0000)] 
Merge pull request #147 from tbouron/tbouron-patch-1

Reuse local maven cache + add PR comment trigger

2 years agoThis closes #149
Alex Heneveld [Fri, 6 Dec 2019 11:16:05 +0000 (11:16 +0000)] 
This closes #149

2 years agoRemove MD5 and SHA-1 checksums from release scripts
Geoff Macartney [Thu, 5 Dec 2019 23:00:50 +0000 (23:00 +0000)] 
Remove MD5 and SHA-1 checksums from release scripts

2 years agomark these scripts as bash, they don't work under zsh 149/head
Alex Heneveld [Thu, 5 Dec 2019 12:06:57 +0000 (12:06 +0000)] 
mark these scripts as bash, they don't work under zsh

2 years agoAdd issue comment build trigger 147/head
Thomas Bouron [Thu, 5 Dec 2019 09:35:25 +0000 (09:35 +0000)] 
Add issue comment build trigger

2 years agoUse the .m2 folder created within the workspace between stages
Thomas Bouron [Wed, 4 Dec 2019 17:14:58 +0000 (17:14 +0000)] 
Use the .m2 folder created within the workspace between stages

This should speedup the build significantly as:
- dependencies won't be downloaded again
- artifacts should be reuse instead of compiled again

2 years agoMake sure the directory use for the RPM build is writable for all users on the docker...
Thomas Bouron [Wed, 4 Dec 2019 16:44:49 +0000 (16:44 +0000)] 
Make sure the directory use for the RPM build is writable for all users on the docker container

2 years agoMerge pull request #143 from tbouron/master
Thomas Bouron [Wed, 4 Dec 2019 15:52:12 +0000 (15:52 +0000)] 
Merge pull request #143 from tbouron/master

Add jenkinsfile for multibranch job on Jenkins

2 years agoAdd jenkinsfile for multibranch job on Jenkins 143/head
Thomas Bouron [Tue, 3 Dec 2019 11:28:41 +0000 (11:28 +0000)] 
Add jenkinsfile for multibranch job on Jenkins

3 years agoMerge pull request #142 from ahgittin/licensing
Thomas Bouron [Wed, 24 Apr 2019 12:47:24 +0000 (13:47 +0100)] 
Merge pull request #142 from ahgittin/licensing

enhance license generation scripts

3 years agoenhance license generation scripts 142/head
Alex Heneveld [Tue, 23 Apr 2019 08:47:32 +0000 (09:47 +0100)] 
enhance license generation scripts

* make friendlier for downstream projects to reuse (--loadonly mode, --keep-metadata-files, extra args to maven)
* search in linked directories
* remove outdated/unsupported reporting instructions

3 years agoMerge pull request #141 from tbouron/feature/optional-build
Duncan Grant [Wed, 20 Mar 2019 09:38:17 +0000 (09:38 +0000)] 
Merge pull request #141 from tbouron/feature/optional-build

Make the build of rpm, deb and docker optional by default

3 years agoMake the build of rpm, deb, docker and go cli optional by default 141/head
Thomas Bouron [Thu, 7 Mar 2019 16:38:37 +0000 (16:38 +0000)] 
Make the build of rpm, deb, docker and go cli optional by default

3 years agoupdated LICENSE and NOTICE files
Alex Heneveld [Thu, 31 Jan 2019 12:07:20 +0000 (12:07 +0000)] 
updated LICENSE and NOTICE files

3 years agoupdate license overrides for new versions, add CC0
Alex Heneveld [Thu, 31 Jan 2019 12:07:09 +0000 (12:07 +0000)] 
update license overrides for new versions, add CC0

3 years agoMerge pull request #139 from ahgittin/fix-sessions
Thomas Bouron [Thu, 31 Jan 2019 11:23:51 +0000 (11:23 +0000)] 
Merge pull request #139 from ahgittin/fix-sessions

update for security provider API change

3 years agoThis closes #140
Alex Heneveld [Thu, 31 Jan 2019 10:47:19 +0000 (10:47 +0000)] 
This closes #140

3 years agoSet up min and max memory for Windows env 140/head
Juan Cabrerizo [Thu, 31 Jan 2019 09:48:22 +0000 (09:48 +0000)] 
Set up min and max memory for Windows env

3 years agoupdate for security provider API change 139/head
Alex Heneveld [Tue, 29 Jan 2019 20:06:50 +0000 (20:06 +0000)] 
update for security provider API change

3 years agoThis closes #126
Alex Heneveld [Wed, 16 Jan 2019 09:08:15 +0000 (09:08 +0000)] 
This closes #126

3 years agoThis closes #138
Alex Heneveld [Wed, 16 Jan 2019 02:13:27 +0000 (02:13 +0000)] 
This closes #138

3 years agofix integration test refs to jaas login 138/head
Alex Heneveld [Wed, 16 Jan 2019 00:02:32 +0000 (00:02 +0000)] 
fix integration test refs to jaas login

they still test rest login, and have added ui page logins

these work, amazingly with the pax exam magic

3 years agonew version of cxf seems to require this setting
Alex Heneveld [Tue, 15 Jan 2019 18:38:15 +0000 (18:38 +0000)] 
new version of cxf seems to require this setting

feels like it _shouldn't_ be needed, but we get a glassfish class not found error otherwise,
and this fixes it by pointing at cxf instead

3 years agoMerge pull request #137 from duncangrant/docker-build-plugin-version
Geoff Macartney [Tue, 8 Jan 2019 21:05:26 +0000 (21:05 +0000)] 
Merge pull request #137 from duncangrant/docker-build-plugin-version

Docker build plugin version

3 years agoMove version to brooklyn-server 137/head
Duncan Grant [Tue, 8 Jan 2019 15:21:53 +0000 (15:21 +0000)] 
Move version to brooklyn-server

All other versions are currently held here

3 years agoAvoid build depending on Docker by default 136/head
Geoff Macartney [Sun, 16 Dec 2018 22:49:09 +0000 (22:49 +0000)] 
Avoid build depending on Docker by default

To avoid the build failing if Docker is not installed and running,
put the docker image build into a profile, so build with

mvn clean install -Pdocker

This also moves the Dockerfile into a separate directory
with a dependency on the .tar.gz Karaf distro.

3 years agoThis closes #130
Thomas Bouron [Tue, 20 Nov 2018 09:22:42 +0000 (09:22 +0000)] 
This closes #130

3 years agoUpdate dockerfile-maven-plugin to 1.4.3 to fix build problem 130/head
Geoff Macartney [Sun, 18 Nov 2018 23:04:45 +0000 (23:04 +0000)] 
Update dockerfile-maven-plugin to 1.4.3 to fix build problem

Building on OSX I get

```
[ERROR] Failed to execute goal com.spotify:dockerfile-maven-plugin:1.4.0:build (default) on project brooklyn-dist: Could not build image: com.spotify.docker.client.shaded.com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot construct instance of `com.spotify.docker.client.messages.RegistryAuth` (although at least one Creator exists): no String-argument constructor/factory method to deserialize from String value ('osxkeychain')
[ERROR]  at [Source: UNKNOWN; line: -1, column: -1] (through reference chain: java.util.LinkedHashMap["credSstore"])
```

Updating the plugin to 1.4.3 per the comment below fixed this issue for
me.

https://github.com/dlcs/elucidate-server/issues/89#issuecomment-411219914

3 years agoCloses #129
Duncan Grant [Mon, 12 Nov 2018 09:25:58 +0000 (09:25 +0000)] 
Closes #129

Update docker instructions to mount the docker socket

This is because #118 now build docker, therefore the container needs to be able to access the docker engine on the host

3 years agoUpdate docker instructions to mount the docker socket 129/head
Thomas Bouron [Sun, 4 Nov 2018 09:47:39 +0000 (09:47 +0000)] 
Update docker instructions to mount the docker socket

This is because #118 now build docker, therefore the container needs to be able to access the docker engine on the host

3 years agoThis closes #118
Thomas Bouron [Sun, 4 Nov 2018 07:40:25 +0000 (07:40 +0000)] 
This closes #118

3 years agoThis closes #128
Thomas Bouron [Sun, 4 Nov 2018 07:26:04 +0000 (07:26 +0000)] 
This closes #128

3 years agoFix additional surefire configurations 128/head
Paul Campbell [Fri, 2 Nov 2018 15:26:24 +0000 (15:26 +0000)] 
Fix additional surefire configurations

3 years agoThis closes #127
Thomas Bouron [Fri, 2 Nov 2018 13:43:21 +0000 (13:43 +0000)] 
This closes #127

3 years agoFix for SUREFIRE-1588 127/head
Paul Campbell [Fri, 2 Nov 2018 12:56:33 +0000 (12:56 +0000)] 
Fix for SUREFIRE-1588

Latest version of Java 1.8.0_191 enforces that Manifest classpath entries be relative.

https://issues.apache.org/jira/browse/SUREFIRE-1588

3 years agofix typo 126/head
Alex Heneveld [Tue, 25 Sep 2018 11:52:50 +0000 (12:52 +0100)] 
fix typo

3 years agoupdate order in pom so we get the preferred versions
Alex Heneveld [Fri, 21 Sep 2018 14:49:07 +0000 (15:49 +0100)] 
update order in pom so we get the preferred versions

in downstream maven projects

3 years agomake change-version script run in selected dot files like .mvn
Alex Heneveld [Sat, 15 Sep 2018 23:39:01 +0000 (00:39 +0100)] 
make change-version script run in selected dot files like .mvn

3 years agoCloses #125
Geoff Macartney [Mon, 30 Jul 2018 10:24:51 +0000 (11:24 +0100)] 
Closes #125

scripts to help automate license generation for new angular js ui

and tidy of generation routines, update to README

3 years agoscripts to help automate license generation for new angular js ui 125/head
Alex Heneveld [Sat, 28 Jul 2018 00:08:52 +0000 (01:08 +0100)] 
scripts to help automate license generation for new angular js ui

and tidy of generation routines, update to README

3 years agoThis closes #124
Alex Heneveld [Fri, 27 Jul 2018 10:04:07 +0000 (11:04 +0100)] 
This closes #124

3 years agoUpdate Brooklyn codebase to build the newly donated UI 124/head
Thomas Bouron [Thu, 26 Jul 2018 11:58:58 +0000 (12:58 +0100)] 
Update Brooklyn codebase to build the newly donated UI

3 years agoCloses #123
Geoff Macartney [Wed, 18 Jul 2018 15:19:27 +0000 (16:19 +0100)] 
Closes #123

New license procedure

As discussed on ML and illustrated in `LICENSE` and `NOTICE` here, and as described in `README.md` here.

4 years agoupdated LICENSE and NOTICE, using new procedure, and pom to simplify locations of... 123/head
Alex Heneveld [Tue, 26 Jun 2018 12:45:19 +0000 (13:45 +0100)] 
updated LICENSE and NOTICE, using new procedure, and pom to simplify locations of files

4 years agorefactored routines for creating LICENSE and NOTICE files
Alex Heneveld [Tue, 26 Jun 2018 12:28:21 +0000 (13:28 +0100)] 
refactored routines for creating LICENSE and NOTICE files

see README.md for info. note many other dependent commits in many projects.

4 years agoThis closes #122
Aled Sage [Thu, 21 Jun 2018 09:15:16 +0000 (10:15 +0100)] 
This closes #122

4 years agoAdd generate-password.sh 122/head
Aled Sage [Wed, 20 Jun 2018 12:20:43 +0000 (13:20 +0100)] 
Add generate-password.sh

4 years agoCloses #121
Geoff Macartney [Thu, 31 May 2018 13:02:28 +0000 (14:02 +0100)] 
Closes #121

[BROOKLYN-579] Add DNS TTL configuration via envvar

Before, java was not refreshing the DNS records, ever. This is due to the default `networkaddress.cache.ttl` set to `-1`, i.e. cache forever.

This PR updates the system property `sun.net.inetaddr.ttl` to `60` by default. It uses `sun.net.inetaddr.ttl` because `networkaddress.cache.ttl` **is not** a system property. But this has the desirable effect (see: https://stackoverflow.com/a/17219327)

4 years agoAdd comment about the use of sun.net.inetaddr.ttl system property 121/head
Thomas Bouron [Wed, 30 May 2018 14:32:29 +0000 (15:32 +0100)] 
Add comment about the use of sun.net.inetaddr.ttl system property

4 years agoAdd DNS TTL configuration via envvar
Thomas Bouron [Thu, 24 May 2018 12:44:46 +0000 (13:44 +0100)] 
Add DNS TTL configuration via envvar

4 years agoRevert "This closes #119"
Thomas Bouron [Mon, 16 Apr 2018 10:57:03 +0000 (11:57 +0100)] 
Revert "This closes #119"

This reverts commit 3f0944c1fcdda36f445e6a2b0485e443838a212c, reversing
changes made to a93a3a36c982adbddf9898ed067070afc12689cd.

4 years agoRevert "Fix build issue due the the addition of k8s helm"
Thomas Bouron [Mon, 16 Apr 2018 10:56:49 +0000 (11:56 +0100)] 
Revert "Fix build issue due the the addition of k8s helm"

This reverts commit c7a737b98993e99f4c9a367994069d0649e0d647.

4 years agoFix build issue due the the addition of k8s helm
Thomas Bouron [Fri, 13 Apr 2018 13:55:05 +0000 (14:55 +0100)] 
Fix build issue due the the addition of k8s helm

4 years agoThis closes #119
Thomas Bouron [Wed, 11 Apr 2018 13:41:58 +0000 (14:41 +0100)] 
This closes #119

4 years ago[DO NOT COMMIT] fix dependencies for brooklyn-all 119/head
andreaturli [Mon, 26 Mar 2018 08:49:50 +0000 (10:49 +0200)] 
[DO NOT COMMIT] fix dependencies for brooklyn-all

- depends on https://github.com/apache/brooklyn-server/pull/830

4 years agoadd asf disclaimer to Dockerfile 118/head
andreaturli [Tue, 20 Mar 2018 16:34:59 +0000 (17:34 +0100)] 
add asf disclaimer to Dockerfile

4 years agoadd docker image generation
andreaturli [Sat, 17 Mar 2018 10:08:10 +0000 (11:08 +0100)] 
add docker image generation

4 years agoThis closes #117
Thomas Bouron [Mon, 19 Feb 2018 14:18:49 +0000 (14:18 +0000)] 
This closes #117

4 years agoMake cosmetic tweak to logging output 117/head
Geoff Macartney [Mon, 5 Feb 2018 16:25:49 +0000 (16:25 +0000)] 
Make cosmetic tweak to logging output

4 years agoAdd Task ID to MDC
Geoff Macartney [Fri, 2 Feb 2018 17:53:36 +0000 (17:53 +0000)] 
Add Task ID to MDC

4 years agoAdd MDC to pax logging config
Geoff Macartney [Tue, 23 Jan 2018 14:12:38 +0000 (14:12 +0000)] 
Add MDC to pax logging config

4 years agoThis closes #116
Thomas Bouron [Thu, 21 Dec 2017 14:50:53 +0000 (14:50 +0000)] 
This closes #116

4 years agobrooklyn-all has a dependency on brooklyn-catalog-aliases 116/head
Sam Corbett [Tue, 12 Dec 2017 12:44:11 +0000 (12:44 +0000)] 
brooklyn-all has a dependency on brooklyn-catalog-aliases

Without the dependency the build does not include the entity images
for clusters and servers.

4 years agoThis closes #114
Duncan Godwin [Wed, 22 Nov 2017 11:24:16 +0000 (11:24 +0000)] 
This closes #114

4 years agoThis closes #105
Duncan Godwin [Tue, 21 Nov 2017 16:28:44 +0000 (16:28 +0000)] 
This closes #105

4 years agoUpdate vagrant configuration (centos 7.x) and use the new RPM package to install... 105/head
Thomas Bouron [Tue, 12 Sep 2017 13:54:19 +0000 (14:54 +0100)] 
Update vagrant configuration (centos 7.x) and use the new RPM package to install Brooklyn

4 years agoThis closes #115
Duncan Godwin [Tue, 21 Nov 2017 11:49:01 +0000 (11:49 +0000)] 
This closes #115

4 years agoAdd dockerfile for CI build 115/head
Thomas Bouron [Tue, 7 Nov 2017 14:16:59 +0000 (14:16 +0000)] 
Add dockerfile for CI build

4 years agoFix brooklyn-dist (classic) build 114/head
Aled Sage [Fri, 10 Nov 2017 18:35:26 +0000 (18:35 +0000)] 
Fix brooklyn-dist (classic) build

4 years agoThis closes #113
Thomas Bouron [Thu, 9 Nov 2017 11:43:33 +0000 (11:43 +0000)] 
This closes #113

4 years agoadd license info for icons added to brooklyn-server project 113/head
Alex Heneveld [Wed, 8 Nov 2017 11:40:38 +0000 (11:40 +0000)] 
add license info for icons added to brooklyn-server project

4 years agoThis closes #112
Thomas Bouron [Tue, 7 Nov 2017 10:40:58 +0000 (10:40 +0000)] 
This closes #112

4 years agoReuse bundle's catalog.bom from server-cli module 112/head
Thomas Bouron [Mon, 6 Nov 2017 17:56:03 +0000 (17:56 +0000)] 
Reuse bundle's catalog.bom from server-cli module

4 years agoChange version to 1.0.0-SNAPSHOT
Duncan Godwin [Fri, 6 Oct 2017 13:21:50 +0000 (13:21 +0000)] 
Change version to 1.0.0-SNAPSHOT

4 years agoCloses #111
Geoff Macartney [Mon, 2 Oct 2017 08:22:43 +0000 (09:22 +0100)] 
Closes #111

Fix vagrant installation folder when downloading dist version

The name of the tar.gz archive is different for the dist version (i.e. `apache-brooklyn-<version>-bin`) and therefore, the name of the extracted folder needs to match that.

Based on the mailing list discussion: https://lists.apache.org/thread.html/104010308cf525da847894c4ec543a6f4ab20a6e0bf9212873422cbd@%3Cdev.brooklyn.apache.org%3E

4 years agoFix vagrant installation folder when downloading dist version 111/head
Thomas Bouron [Mon, 2 Oct 2017 08:05:30 +0000 (10:05 +0200)] 
Fix vagrant installation folder when downloading dist version

4 years agoThis closes #110
Duncan Godwin [Fri, 29 Sep 2017 11:44:06 +0000 (12:44 +0100)] 
This closes #110

4 years agoThis closes #108
Duncan Godwin [Fri, 29 Sep 2017 11:42:48 +0000 (12:42 +0100)] 
This closes #108

4 years agoThis closes #107
Mark McKenna [Fri, 29 Sep 2017 10:36:42 +0000 (11:36 +0100)] 
This closes #107

4 years agoUse `mvn:` syntax with `brooklyn.libraries` to load OSGi bundles 107/head
Thomas Bouron [Mon, 25 Sep 2017 11:01:12 +0000 (13:01 +0200)] 
Use `mvn:` syntax with `brooklyn.libraries` to load OSGi bundles

4 years agoImprove verify brooklyn RC script 110/head
Thomas Bouron [Thu, 21 Sep 2017 16:35:13 +0000 (17:35 +0100)] 
Improve verify brooklyn RC script

4 years agoThis closes #109
Duncan Godwin [Thu, 21 Sep 2017 12:39:49 +0000 (13:39 +0100)] 
This closes #109