Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
e04a8ff5
Commit
e04a8ff5
authored
Feb 24, 2016
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '1.3.x'
parents
f7eec4b3
70ab6134
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
README.adoc
...gration-tests/spring-boot-launch-script-tests/README.adoc
+4
-3
SysVinitLaunchScriptIT.java
...ngframework/boot/launchscript/SysVinitLaunchScriptIT.java
+2
-1
No files found.
spring-boot-integration-tests/spring-boot-launch-script-tests/README.adoc
View file @
e04a8ff5
...
@@ -65,11 +65,12 @@ $ mvn -Pdocker clean verify
...
@@ -65,11 +65,12 @@ $ mvn -Pdocker clean verify
The first time the tests are run, Docker will create the container images that are used to
The first time the tests are run, Docker will create the container images that are used to
run the tests. This can take several minutes, particularly if you have a slow network
run the tests. This can take several minutes, particularly if you have a slow network
connection. Subsequent runs will be faster as the images are cached locally. You can run
connection. Subsequent runs will be faster as the images are cached locally. You can run
`docker images` to see a list of the cached images.
`docker images` to see a list of the cached images. Images created by these tests will be
tagged with `spring-boot-it` prefix to easily distinguish them.
== Cleaning up
== Cleaning up
If you want to reclaim the disk space used by the cached images (at the expense of having
If you want to reclaim the disk space used by the cached images (at the expense of having
to wait for them to be downloaded and rebuilt the next time you run the tests), you can
to wait for them to be downloaded and rebuilt the next time you run the tests), you can
use `docker images` to list the images and `docker rmi <image>` to delete them. See
use `docker images` to list the images and `docker rmi <image>` to delete them (look for
`docker rmi --help` for further details.
`spring-boot-it` tag). See `docker rmi --help` for further details.
\ No newline at end of file
spring-boot-integration-tests/spring-boot-launch-script-tests/src/test/java/org/springframework/boot/launchscript/SysVinitLaunchScriptIT.java
View file @
e04a8ff5
...
@@ -243,7 +243,8 @@ public class SysVinitLaunchScriptIT {
...
@@ -243,7 +243,8 @@ public class SysVinitLaunchScriptIT {
BuildImageResultCallback
resultCallback
=
new
BuildImageResultCallback
();
BuildImageResultCallback
resultCallback
=
new
BuildImageResultCallback
();
String
dockerfile
=
"src/test/resources/conf/"
+
this
.
os
+
"/"
+
this
.
version
String
dockerfile
=
"src/test/resources/conf/"
+
this
.
os
+
"/"
+
this
.
version
+
"/Dockerfile"
;
+
"/Dockerfile"
;
docker
.
buildImageCmd
(
new
File
(
dockerfile
)).
exec
(
resultCallback
);
String
tag
=
"spring-boot-it/"
+
this
.
os
.
toLowerCase
()
+
":"
+
this
.
version
;
docker
.
buildImageCmd
(
new
File
(
dockerfile
)).
withTag
(
tag
).
exec
(
resultCallback
);
String
imageId
=
resultCallback
.
awaitImageId
();
String
imageId
=
resultCallback
.
awaitImageId
();
return
imageId
;
return
imageId
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment