File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
modules/s2i/core/tests/features Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -18,3 +18,21 @@ Feature: Openshift S2I tests
18
18
Then s2i build log should not contain rsync: [generator] failed to set permissions on "/var/tmp/." : Operation not permitted
19
19
And s2i build log should contain appsrc-provided s2i assemble script executed
20
20
And run stat /var/tmp/spring-boot-sample-simple-1.5.0.BUILD-SNAPSHOT.jar in container and check its output for Access:
21
+
22
+ # as above, for OPENJDK-3975: handling configuration
23
+ Scenario : Ensure copying custom configuration doesn't fail trying to chmod destination directory (OPENJDK-3975)
24
+ Given s2i build https://github.com/rh-openjdk/openjdk-container-test-applications.git from OPENJDK-2408-bin-custom-s2i-assemble with env
25
+ | variable | value |
26
+ | S2I_TARGET_CONFIGURATION_DIR | /var /tmp |
27
+ Then s2i build log should not contain rsync: [generator] failed to set permissions on "/var/tmp/." : Operation not permitted
28
+ And s2i build log should contain appsrc-provided s2i assemble script executed
29
+ And run stat /var/tmp/example.ini in container and check its output for Access:
30
+
31
+ # as above, for OPENJDK-3975: handling data
32
+ Scenario : Ensure copying custom data doesn't fail trying to chmod destination directory (OPENJDK-3975)
33
+ Given s2i build https://github.com/rh-openjdk/openjdk-container-test-applications.git from OPENJDK-2408-bin-custom-s2i-assemble with env
34
+ | variable | value |
35
+ | S2I_TARGET_DATA_DIR | /var /tmp |
36
+ Then s2i build log should not contain rsync: [generator] failed to set permissions on "/var/tmp/." : Operation not permitted
37
+ And s2i build log should contain appsrc-provided s2i assemble script executed
38
+ And run stat /var/tmp/sample.txt in container and check its output for Access:
You can’t perform that action at this time.
0 commit comments