John Blum
00534fe590
Set the Docs host for deployment.
2021-04-27 11:16:57 -07:00
John Blum
102928314c
Add sub-project-specific directory (e.g. 'boot') under /tmp/geode directory on build machine.
2021-04-14 14:51:43 -07:00
John Blum
d0deadefbb
Switch Jenkinsfile to build on 'any' agent.
2021-04-12 15:13:20 -07:00
John Blum
ee8593918b
Edit README to refer to 1.5.0-M3.
2021-04-09 16:29:05 -07:00
John Blum
0bede72cca
Prepare next development iteration.
...
Set Spring Boot version to 2.5.0-SNAPSHOT.
Set version to 1.5.0-SNAPSHOT.
2021-04-09 16:07:58 -07:00
John Blum
3dfba672b5
Release 1.5.0-M3.
2021-04-09 15:47:28 -07:00
John Blum
7d78f06cac
Edit changelog and add 1.5.0-M3 release notes.
2021-04-09 15:44:00 -07:00
John Blum
bb228afec8
Upgrade Spring Geode Samples parent Maven POM to Spring Boot 2.5.0-M3.
2021-04-09 15:36:06 -07:00
John Blum
8be725f875
Upgrade to Spring Cloud Bindings 1.7.1.
2021-04-09 15:23:24 -07:00
John Blum
2207797e33
Upgrade to Spring Boot 2.5.0-M3.
2021-04-09 15:22:34 -07:00
John Blum
416497545c
Upgrade to Apache Geode 1.13.2.
2021-04-09 15:21:43 -07:00
John Blum
fd8c874ef8
Edit README to refer to 1.4.4 and 1.4.5-SNAPSHOT.
2021-04-09 15:19:32 -07:00
John Blum
6d3267d219
Edit changelog and include 1.4.4 release notes.
2021-04-09 15:18:20 -07:00
John Blum
cd9c9f8561
Serialize the deployment of artifacts & docs.
2021-04-08 23:05:35 -07:00
John Blum
db6d6ec2c5
Fix syntax error in --no-build-cache option to the gradlew command in the ci/deployArtifact.sh Bash shell script.
2021-04-08 22:48:39 -07:00
John Blum
9404c0d6c0
Change log messages (echo) when deploying artifacts & docs.
2021-04-08 22:29:09 -07:00
John Blum
fabf9dec13
Move (start) the deployment of docs stage before the deployment of artifacts stage.
2021-04-08 22:08:48 -07:00
John Blum
30b7c66f23
Name the Docker container forks for the deployment of artifacts & docs after the hostname.
...
Log (echo) the $HOSTNAME for the host running each deployment.
2021-04-08 22:08:07 -07:00
John Blum
3550f3c124
Map the /tmp directory between the host Jenkins node and the Docker container.
2021-04-08 20:55:03 -07:00
John Blum
d778ebe1c9
Remove (clean) the .gradle/ directory inside the build/checkout/working directory.
2021-04-08 20:54:54 -07:00
John Blum
ebe48bd62b
Create and use different/separate Gradle caches (directory locations) for build, artifacts and docs phases/stages.
2021-04-08 15:06:03 -07:00
John Blum
11e8e7aa3b
Login as 'root' when forking the Docker containers used to deploy artifacts & docs.
...
Reinstate the declaration of the 'user.name' Java System System Property set to 'jenkins' during the Build phase (check).
Execute chown command to change the owner of the SBDG build directory to 'jenkins' prior to deploying artifacts & docs.
Declare the 'user.name' (set to 'jenkins') and `java.io.tmpdir' (set to '/tmp') Java System Properties in Gradle Options prior to deploying artifacts & docs.
2021-04-08 13:21:27 -07:00
John Blum
56ca80ff73
Polish.
2021-04-07 21:02:44 -07:00
John Blum
fee8821d89
Disable the Gradle build-cache & configuration-cache when deploying artifacts.
...
Remove the unnecessary --refresh-dependencies option when deploying artifacts & docs.
2021-04-07 21:01:10 -07:00
John Blum
59b7f678b3
Set the 'java.io.tmpdir' Java System Property to '/tmp'.
2021-04-07 20:52:51 -07:00
John Blum
b2c1363d76
Move 'docker login' command to setup.sh.
...
Move 'chown' and and 'mkdir /tmp/jenkins-home' commmands to setup.sh.
Add 'exit 0' commands to the cleanup Bash shell scripts.
Add 'echo' commands to log build progress.
2021-04-07 20:49:27 -07:00
John Blum
65e111dd0f
Use Docker to deploy artifacts & docs.
2021-04-07 20:47:59 -07:00
John Blum
64cff111bf
Maintain 15 previous Jenkins CI build results.
2021-04-07 20:47:55 -07:00
John Blum
766d2d08eb
Define 'DOCKER_HUB' (build) environment variable to access the credentials (username/password) required to login to Docker.
2021-04-07 20:47:50 -07:00
John Blum
404f8759e8
Fix Jenkinsfile syntax errors.
...
Remove outer, erroneous try-finally block wrapping the build stages and then attempting to 'notify' users of the build result.
Change finally block to a post block.
Add slacksend notification.
2021-04-07 20:37:22 -07:00
John Blum
7144a5e4af
Refactor Jenkinsfile to use Bash shell scripts to execute individual, isolated Steps in the Staged Jenkins CI build Pipeline.
2021-04-07 20:36:24 -07:00
John Blum
01347ac4af
Separate Jenkins CI build Pipeline Steps into individual Bash shell scripts.
2021-04-07 20:36:04 -07:00
John Blum
0ba6de396e
Add doc on how to build locally.
...
"Think global, build local!"
2021-04-07 20:33:44 -07:00
John Blum
06870a6615
Configure the NoHTTP Checkstyle Gradle Plugin to ignore the .gradle/ and .m2/ directories if under the project (build) working directory.
2021-04-04 17:43:34 -07:00
John Blum
56497fb9ec
Edit comments.
2021-04-02 13:41:38 -07:00
John Blum
92b27be07f
Wrap deploy artifacts & deploy docs in a 'withEnv' directive to set the JAVA_HOME env var on the host machine (Jenkins node) before Gradle is run.
2021-04-02 13:41:38 -07:00
John Blum
d553406262
Mount the Docker socket to allow Testcontainers to spawn (new) containers inside the build Docker container.
2021-04-02 13:41:38 -07:00
John Blum
16dc3331a8
Define GRADLE_OPTS environment variable for Gradle command/builds.
...
Remove any working directory based .m2/ or .gradle/ directories created by the Gradle build.
2021-04-02 13:41:11 -07:00
John Blum
132003b430
Switch Jenkins CI build (Jenkinsfile) to use the Declarative Pipeline Syntax, build within Docker containers and target Jenkins nodes with the 'geode' label.
2021-04-02 13:40:18 -07:00
John Blum
9ec6d221f2
Cleanup any GemFire/Geode file system resources prior to the 'check' (build).
2021-03-30 17:20:26 -07:00
John Blum
49398ebe89
Change Jenkins CI build timeout to 15 minutes.
2021-03-30 17:02:37 -07:00
John Blum
2ce7175663
Fix compiler warning.
...
Declare User.name constant (immutable) field as final.
2021-03-30 16:11:54 -07:00
John Blum
3306de1f03
Randomize Locator network ports.
2021-03-30 16:09:47 -07:00
John Blum
c87dca7d74
Add additional SLF4J Logback Loggers for Apache Geode & Spring Geode along with distinguishing the Loggers by name.
2021-03-30 16:09:25 -07:00
John Blum
a907395364
Rename application-vcap.properties to application-vcap-cloud.properties.
2021-03-30 13:38:33 -07:00
John Blum
bdd2c1bc29
Declare 'vcapApplicationProperties' class member field as final.
...
Declare 'loadVcapApplicationProperties()' and 'unsetTestAutoConfiguredPoolServersPortSystemProperty()' methods as private.
2021-03-30 13:23:36 -07:00
John Blum
942b504a38
Fix compiler warnings.
...
Declare the TestHttpBasicAuthenticationSecurityConfiguration instance field as final.
2021-03-30 13:04:02 -07:00
John Blum
cbb51289bf
Move Spring Geode Security Sample test class to the example.app.security.tests package.
...
Declare both SBDG security auth and SSL environment post-proccessor enabled properties.
2021-03-30 12:08:35 -07:00
John Blum
55b8ca5373
Annotate Spring Geode Sample test classes with Spring Test Framework's @DirtiesContext annotation to avoid test conflicts.
2021-03-30 11:58:39 -07:00
John Blum
61af587a0d
Refactor all Unit & Integration Tests starting a Spring container with SpringRunner to extend STDG's IntegrationTestsSupport.
2021-03-30 11:25:08 -07:00