This is an automated email from the ASF dual-hosted git repository.
tiagobento pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-tools.git
The following commit(s) were added to refs/heads/main by this push:
new 40d1a592136 NO-ISSUE: Fix test snapshot and command for
dev-deployment-upload-service (#2149)
40d1a592136 is described below
commit 40d1a5921364eafee5d5e707f8564d4d45f719c5
Author: Thiago Lugli <[email protected]>
AuthorDate: Wed Feb 7 17:36:35 2024 -0300
NO-ISSUE: Fix test snapshot and command for dev-deployment-upload-service
(#2149)
---
.../dev/Containerfile.ddus-buildtime-install | 2 +-
.../dev/Containerfile.ddus-runtime-install | 2 +-
.../tests/__snapshots__/integrationTest.test.js.snap | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git
a/packages/dev-deployment-upload-service/dev/Containerfile.ddus-buildtime-install
b/packages/dev-deployment-upload-service/dev/Containerfile.ddus-buildtime-install
index f102bdc5c9b..79523968e4d 100644
---
a/packages/dev-deployment-upload-service/dev/Containerfile.ddus-buildtime-install
+++
b/packages/dev-deployment-upload-service/dev/Containerfile.ddus-buildtime-install
@@ -32,5 +32,5 @@ RUN microdnf install -y tar gzip findutils
RUN curl
${DDUS_FILESERVER_IP}:8090/apache/incubator-kie-tools/releases/download/${DDUS_VERSION}/getDevDeploymentUploadService.sh
| sed 's/localhost:8090/${DDUS_FILESERVER_IP}:8090/;
s/https:\/\/github.com/http:\/\/${DDUS_FILESERVER_IP}:8090/' | bash
CMD dev-deployment-upload-service \
- && find /tmp/unzip-at | sed -e "s/[^-][^\/]*\// |/g" -e "s/|\([^ ]\)/|-\1/" \
+ && find /tmp/unzip-at | sort -k1 | sed -e "s/[^-][^\/]*\// |/g" -e "s/|\([^
]\)/|-\1/" \
&& echo 'Done!'
\ No newline at end of file
diff --git
a/packages/dev-deployment-upload-service/dev/Containerfile.ddus-runtime-install
b/packages/dev-deployment-upload-service/dev/Containerfile.ddus-runtime-install
index f3172d43e5e..c134a4a3e3a 100644
---
a/packages/dev-deployment-upload-service/dev/Containerfile.ddus-runtime-install
+++
b/packages/dev-deployment-upload-service/dev/Containerfile.ddus-runtime-install
@@ -31,5 +31,5 @@ RUN microdnf install -y tar gzip findutils
CMD curl
$DDUS_FILESERVER_IP:8090/apache/incubator-kie-tools/releases/download/$DDUS_VERSION/getDevDeploymentUploadService.sh
| sed 's/localhost:8090/$DDUS_FILESERVER_IP:8090/;
s/https:\/\/github.com/http:\/\/$DDUS_FILESERVER_IP:8090/' | bash \
&& dev-deployment-upload-service \
- && find /tmp/unzip-at | sed -e "s/[^-][^\/]*\// |/g" -e "s/|\([^ ]\)/|-\1/" \
+ && find /tmp/unzip-at | sort -k1 | sed -e "s/[^-][^\/]*\// |/g" -e "s/|\([^
]\)/|-\1/" \
&& echo 'Done!'
\ No newline at end of file
diff --git
a/packages/dev-deployment-upload-service/tests/__snapshots__/integrationTest.test.js.snap
b/packages/dev-deployment-upload-service/tests/__snapshots__/integrationTest.test.js.snap
index 82e47112015..de2d64c4e78 100644
---
a/packages/dev-deployment-upload-service/tests/__snapshots__/integrationTest.test.js.snap
+++
b/packages/dev-deployment-upload-service/tests/__snapshots__/integrationTest.test.js.snap
@@ -23,9 +23,9 @@ exports[`Test built images individually buildtime install 2`]
= `
[dev-deployment-upload-service] ℹ️ Shutting down HTTP server...
[dev-deployment-upload-service] ✅ Shutdown completed successfully.
|-unzip-at
+ | |-test.txt
| |-testdir
| | |-file.md
- | |-test.txt
Done!
"
`;
@@ -57,9 +57,9 @@ dev-deployment-upload-service installed into
/usr/local/bin/dev-deployment-uploa
[dev-deployment-upload-service] ℹ️ Shutting down HTTP server...
[dev-deployment-upload-service] ✅ Shutdown completed successfully.
|-unzip-at
+ | |-test.txt
| |-testdir
| | |-file.md
- | |-test.txt
Done!
"
`;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]