Commit graph

778 commits

Author SHA1 Message Date
hllvc
edafd6e123 experimenting with Dockerfile.run 2021-07-11 14:48:45 +02:00
hllvc
77ec0fe8a8 experimenting with Dockerfile.run 2021-07-11 14:48:01 +02:00
hllvc
641401e614 another try to setup 2021-07-11 14:13:41 +02:00
hllvc
82bdeec731 final .jar name 2021-07-11 14:01:46 +02:00
hllvc
3ce595938c Dockerfile.run fix 2021-07-11 13:40:44 +02:00
hllvc
e51e237a55 naming error 2021-07-11 13:17:23 +02:00
hllvc
6df1d539ee Jenkinsfile fix 2021-07-11 13:14:35 +02:00
hllvc
a8590d1d1c Dockerfile.run fix & modified Jenkinsfile 2021-07-11 13:13:50 +02:00
hllvc
9919fee5fc changed run stage 2021-07-11 13:08:54 +02:00
hllvc
82c7247d8a modified Jenkinsfile 2021-07-11 12:56:08 +02:00
hllvc
ab296d73dc modified Jenkinsfile 2021-07-11 12:50:05 +02:00
hllvc
5d79ac805e modified Jenkinsfile 2021-07-11 12:40:06 +02:00
hllvc
2926df3357 modified Jenkinsfile 2021-07-11 12:36:42 +02:00
hllvc
0c48a1c681 modified Jenkinsfile 2021-07-11 12:35:30 +02:00
hllvc
821449ccf9 modified Jenkinsfile 2021-07-11 12:34:00 +02:00
hllvc
17b80286f1 modified Jenkinsfile 2021-07-11 12:27:42 +02:00
hllvc
a850cb8766 removed unnecessary checkout 2021-07-11 12:23:22 +02:00
hllvc
caa1a1b4ca jenkins fixup 2021-07-11 12:19:01 +02:00
hllvc
2edd04b1b1 running app fix 2021-07-11 00:24:50 +02:00
hllvc
dc2414a2f9 entrypoint to cmd 2021-07-11 00:16:35 +02:00
hllvc
96e172ee56 if docker network exists bypass with return of 1 2021-07-11 00:13:44 +02:00
hllvc
2499493c75 fix to run mysql in background 2021-07-11 00:03:47 +02:00
hllvc
594b85b823 docker network creating 2021-07-11 00:01:00 +02:00
hllvc
797e8418ac agent none -> agent any 2021-07-10 23:59:30 +02:00
hllvc
57d3b1ea23 fix empty step in Jenkinsfile 2021-07-10 23:58:06 +02:00
hllvc
9f0baac9d6 fixing volumes and mysql connection 2021-07-10 23:57:03 +02:00
hllvc
5f384351ca removed label from agent 2021-07-10 23:12:15 +02:00
hllvc
41020dd406 Jenkinsfile fix 2021-07-10 22:09:04 +02:00
hllvc
94e6dbc7ff added .m2 volume do Dockerfiles 2021-07-10 22:01:08 +02:00
hllvc
b5f78e65ca Jenkins setup 2021-07-10 21:51:31 +02:00
hllvc
a666c41a62 better layer caching & multi-stage build 2021-07-05 12:09:43 +02:00
hllvc
131e96b7a2 fixed docker-compose.yml 2021-06-26 14:15:38 +02:00
Halilović Adis
845809970c
Update docker-image.yml 2021-06-26 13:44:29 +02:00
Halilović Adis
322d000cd3
Update docker-compose.yml 2021-06-26 13:29:39 +02:00
Halilović Adis
6828e7bdaf
Update pom.xml 2021-06-26 13:28:20 +02:00
Halilović Adis
edf0073469
Update application-mysql.properties 2021-06-26 13:27:34 +02:00
Halilović Adis
331f53b7bb
Update Dockerfile 2021-06-26 13:27:02 +02:00
Halilović Adis
b973965dd0
Create Dockerfile 2021-06-26 13:13:58 +02:00
Halilović Adis
f3c642eeb7
Create docker-image.yml 2021-06-26 13:12:39 +02:00
lsap
e7c879ed3a Update petclinic_db_setup_mysql.txt
Hey Team, thanks in advance!
2021-05-14 16:17:25 +01:00
Frank Migliorino
b91e21378c Fix docs for setting profiles
Add using -Dspring-boot.run.jvmArguments to the notes for how to set up using MySQL.
2021-05-14 13:01:26 +01:00
Dave Syer
8954fa9585 Add note about autocrlf on windows 2021-05-12 10:45:14 +01:00
Dave Syer
0d8a80da65 Clarify that a JDK is needed 2021-05-12 10:41:09 +01:00
Dave Syer
525dc6a2d0 Only attempt to login to docker on main 2021-05-12 10:40:13 +01:00
Dave Syer
d0e4e7731b Only attempt to login to docker on main 2021-05-11 16:21:54 +01:00
Dave Syer
af1857cda1 Add javaformat plugin to Eclipse workaround 2021-05-04 11:37:31 +01:00
Jinbo Wang
39d60e2761 Configure an inline m2e lifecycle mapping for wro4j-maven-plugin
Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>
2021-04-29 07:15:16 +01:00
Dave Syer
09e07869ac Update Spring Boot to 2.4.5 2021-04-29 07:11:20 +01:00
Dave Syer
e2fbc56130 Only publish docker image from main branch 2021-01-28 12:01:57 +00:00
Diego Lemos
a0d743cfed Do not fail packaging if repo info is absent
As part of a process to build a BOSH release, I encountered the error
below while running `./mvnw package`:

```
[ERROR] Failed to execute goal pl.project13.maven:git-commit-id-plugin:3.0.1:revision (default) on project spring-petclinic: Could not complete Mojo execution...: Error: Could not get HEAD Ref, are you sure you have set the dotGitDirectory property of this plugin to a valid path? -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
```

That's because we are just interested on the source files for the BOSH
release, we don't care about repo metadata (so we exclude them).

Going through the [git-commit-id-maven-plugin
docs](https://github.com/git-commit-id/git-commit-id-maven-plugin/blob/master/maven/docs/using-the-plugin.md)
we learned it is possible to prevent the failure above via
configuration.

We propose then to set
`<failOnUnableToExtractRepoInfo>false</failOnUnableToExtractRepoInfo>`,
enabling use cases similar to ours.

FWIW `failOnNoGitDirectory` is already set to false.
2021-01-28 10:13:23 +00:00