Skip to content

Commit 5384a86

Browse files
authored
Merge pull request #351 from jmtd/OPENJDK-1674-s2i-cp-p-ubi8
[OPENJDK-1674] use cp -p for s2i deployments
2 parents 6751d6c + a719df6 commit 5384a86

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

modules/s2i/core/bash/artifacts/opt/jboss/container/s2i/core/s2i-core

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ function s2i_core_copy_deployments() {
103103
local relative_source=$(realpath --relative-to "${S2I_SOURCE_DIR}" "${1}/${S2I_SOURCE_DEPLOYMENTS_DIR}")
104104
log_info "Copying deployments from $relative_source to ${S2I_TARGET_DEPLOYMENTS_DIR}..."
105105
for filter in ${S2I_SOURCE_DEPLOYMENTS_FILTER:-*}; do
106-
find "${S2I_SOURCE_DIR}/${relative_source}/" -maxdepth 1 -name "${filter}" | xargs -I '{}' -r cp -Lrv '{}' "${S2I_TARGET_DEPLOYMENTS_DIR}"
106+
find "${S2I_SOURCE_DIR}/${relative_source}/" -maxdepth 1 -name "${filter}" | xargs -I '{}' -r cp -Lrpv '{}' "${S2I_TARGET_DEPLOYMENTS_DIR}"
107107
done
108108
fi
109109
fi
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1+
# builder only
12
@ubi8/openjdk-8
23
@ubi8/openjdk-11
34
@ubi8/openjdk-17
4-
# OpenJDK/hotspot only
55
Feature: Openshift OpenJDK-only S2I tests
66
Scenario: Check java perf dir owned by jboss (CLOUD-2070)
77
Given s2i build https://github.com/jboss-openshift/openshift-quickstarts from undertow-servlet
88
Then run jstat -gc 1 1000 1 in container and check its output for S0C
99
And run stat --printf="%U %G" /tmp/hsperfdata_jboss/ in container and check its output for jboss root
10+
11+
Scenario: Ensure Quarkus CDS doesn't fail due to timestamp mismatch (OPENDJK-1673)
12+
Given s2i build https://github.com/jerboaa/quarkus-quickstarts from getting-started using quickstart-2.16-s2i-cds
13+
Then container log should not contain A jar file is not the one used while building the shared archive file

0 commit comments

Comments
 (0)