Skip to content

Commit 389c183

Browse files
authored
Merge pull request #349 from jmtd/OPENJDK-1673-s2i-cp-p
[OPENJDK-1673] use cp -p for s2i deployments
2 parents f79eb18 + 3a36527 commit 389c183

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ function s2i_core_copy_deployments() {
9292
local relative_source=$(realpath --relative-to "${S2I_SOURCE_DIR}" "${1}/${S2I_SOURCE_DEPLOYMENTS_DIR}")
9393
log_info "Copying deployments from $relative_source to ${S2I_TARGET_DEPLOYMENTS_DIR}..."
9494
for filter in ${S2I_SOURCE_DEPLOYMENTS_FILTER:-*}; do
95-
find "${S2I_SOURCE_DIR}/${relative_source}/" -maxdepth 1 -name "${filter}" | xargs -I '{}' -r cp -Lrv '{}' "${S2I_TARGET_DEPLOYMENTS_DIR}"
95+
find "${S2I_SOURCE_DIR}/${relative_source}/" -maxdepth 1 -name "${filter}" | xargs -I '{}' -r cp -Lrpv '{}' "${S2I_TARGET_DEPLOYMENTS_DIR}"
9696
done
9797
fi
9898
fi
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
1-
# OpenJDK/hotspot only
1+
# builder only
2+
@ubi9/openjdk-11
3+
@ubi9/openjdk-17
24
Feature: Openshift OpenJDK-only S2I tests
35
Scenario: Check java perf dir owned by jboss (CLOUD-2070)
46
Given s2i build https://github.com/jboss-openshift/openshift-quickstarts from undertow-servlet
57
Then run jstat -gc 1 1000 1 in container and check its output for S0C
68
And run stat --printf="%U %G" /tmp/hsperfdata_jboss/ in container and check its output for jboss root
9+
10+
Scenario: Ensure Quarkus CDS doesn't fail due to timestamp mismatch (OPENDJK-1673)
11+
Given s2i build https://github.com/jerboaa/quarkus-quickstarts from getting-started using quickstart-2.16-s2i-cds
12+
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)