Skip to content

Commit

Permalink
NO-ISSUE: Fix test snapshot and command for dev-deployment-upload-ser…
Browse files Browse the repository at this point in the history
…vice (apache#2149)
  • Loading branch information
thiagoelg authored Feb 7, 2024
1 parent b4ab570 commit 40d1a59
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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!'
Original file line number Diff line number Diff line change
Expand Up @@ -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!'
Original file line number Diff line number Diff line change
Expand Up @@ -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!
"
`;
Expand Down Expand Up @@ -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!
"
`;

0 comments on commit 40d1a59

Please sign in to comment.