Skip to content

Commit

Permalink
fix: deploy failed message too long
Browse files Browse the repository at this point in the history
  • Loading branch information
fuxiaohei committed Mar 27, 2024
1 parent 770ae71 commit 9578aba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion crates/kernel/src/tasks/deploy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pub async fn init() -> Result<()> {
let _ = deployment::mark_status(
deploy_id,
deployment::DeployStatus::Failed,
format!("failed: {:?}", e),
format!("failed:{}", e.to_string()),
None,
None,
)
Expand Down
4 changes: 4 additions & 0 deletions land-server.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ RUN cargo build -p land-server --release

FROM debian:stable-slim
WORKDIR /opt/bin/
RUN \
apt-get update && \
apt-get install -y ca-certificates && \
apt-get clean
COPY --from=build /usr/src/land-server/target/release/land-server /opt/bin/land-server
COPY --from=build /usr/src/land-server/wizer-v5.0.0-x86_64-linux /opt/bin/wizer
EXPOSE 8840
Expand Down

0 comments on commit 9578aba

Please sign in to comment.