mirror of
https://github.com/storytold/artcraft.git
synced 2026-10-20 17:02:53 -04:00
re-build all the things
This commit is contained in:
+62
-66
@@ -113,64 +113,61 @@ RUN SQLX_OFFLINE=true \
|
||||
--release \
|
||||
--bin dummy-service
|
||||
|
||||
# TODO(bt,2023-03-08): disabling these to build web artifact faster during outage
|
||||
# RUN SQLX_OFFLINE=true \
|
||||
# LD_LIBRARY_PATH=/usr/lib:${LD_LIBRARY_PATH} \
|
||||
# $HOME/.cargo/bin/cargo build \
|
||||
# --release \
|
||||
# --bin analytics-job
|
||||
#
|
||||
# RUN SQLX_OFFLINE=true \
|
||||
# LD_LIBRARY_PATH=/usr/lib:${LD_LIBRARY_PATH} \
|
||||
# $HOME/.cargo/bin/cargo build \
|
||||
# --release \
|
||||
# --bin download-job
|
||||
#
|
||||
# RUN SQLX_OFFLINE=true \
|
||||
# LD_LIBRARY_PATH=/usr/lib:${LD_LIBRARY_PATH} \
|
||||
# $HOME/.cargo/bin/cargo build \
|
||||
# --release \
|
||||
# --bin inference-job
|
||||
#
|
||||
# RUN SQLX_OFFLINE=true \
|
||||
# LD_LIBRARY_PATH=/usr/lib:${LD_LIBRARY_PATH} \
|
||||
# $HOME/.cargo/bin/cargo build \
|
||||
# --release \
|
||||
# --bin tts-download-job
|
||||
#
|
||||
# RUN SQLX_OFFLINE=true \
|
||||
# LD_LIBRARY_PATH=/usr/lib:${LD_LIBRARY_PATH} \
|
||||
# $HOME/.cargo/bin/cargo build \
|
||||
# --release \
|
||||
# --bin w2l-download-job
|
||||
#
|
||||
# RUN SQLX_OFFLINE=true \
|
||||
# LD_LIBRARY_PATH=/usr/lib:${LD_LIBRARY_PATH} \
|
||||
# $HOME/.cargo/bin/cargo build \
|
||||
# --release \
|
||||
# --bin tts-inference-job
|
||||
#
|
||||
# RUN SQLX_OFFLINE=true \
|
||||
# LD_LIBRARY_PATH=/usr/lib:${LD_LIBRARY_PATH} \
|
||||
# $HOME/.cargo/bin/cargo build \
|
||||
# --release \
|
||||
# --bin w2l-inference-job
|
||||
#
|
||||
# RUN SQLX_OFFLINE=true \
|
||||
# LD_LIBRARY_PATH=/usr/lib:${LD_LIBRARY_PATH} \
|
||||
# $HOME/.cargo/bin/cargo build \
|
||||
# --release \
|
||||
# --bin websocket-gateway
|
||||
#
|
||||
# RUN SQLX_OFFLINE=true \
|
||||
# LD_LIBRARY_PATH=/usr/lib:${LD_LIBRARY_PATH} \
|
||||
# $HOME/.cargo/bin/cargo build \
|
||||
# --release \
|
||||
# --bin twitch-pubsub-subscriber
|
||||
RUN SQLX_OFFLINE=true \
|
||||
LD_LIBRARY_PATH=/usr/lib:${LD_LIBRARY_PATH} \
|
||||
$HOME/.cargo/bin/cargo build \
|
||||
--release \
|
||||
--bin analytics-job
|
||||
|
||||
RUN SQLX_OFFLINE=true \
|
||||
LD_LIBRARY_PATH=/usr/lib:${LD_LIBRARY_PATH} \
|
||||
$HOME/.cargo/bin/cargo build \
|
||||
--release \
|
||||
--bin download-job
|
||||
|
||||
RUN SQLX_OFFLINE=true \
|
||||
LD_LIBRARY_PATH=/usr/lib:${LD_LIBRARY_PATH} \
|
||||
$HOME/.cargo/bin/cargo build \
|
||||
--release \
|
||||
--bin inference-job
|
||||
|
||||
RUN SQLX_OFFLINE=true \
|
||||
LD_LIBRARY_PATH=/usr/lib:${LD_LIBRARY_PATH} \
|
||||
$HOME/.cargo/bin/cargo build \
|
||||
--release \
|
||||
--bin tts-download-job
|
||||
|
||||
RUN SQLX_OFFLINE=true \
|
||||
LD_LIBRARY_PATH=/usr/lib:${LD_LIBRARY_PATH} \
|
||||
$HOME/.cargo/bin/cargo build \
|
||||
--release \
|
||||
--bin w2l-download-job
|
||||
|
||||
RUN SQLX_OFFLINE=true \
|
||||
LD_LIBRARY_PATH=/usr/lib:${LD_LIBRARY_PATH} \
|
||||
$HOME/.cargo/bin/cargo build \
|
||||
--release \
|
||||
--bin tts-inference-job
|
||||
|
||||
RUN SQLX_OFFLINE=true \
|
||||
LD_LIBRARY_PATH=/usr/lib:${LD_LIBRARY_PATH} \
|
||||
$HOME/.cargo/bin/cargo build \
|
||||
--release \
|
||||
--bin w2l-inference-job
|
||||
|
||||
RUN SQLX_OFFLINE=true \
|
||||
LD_LIBRARY_PATH=/usr/lib:${LD_LIBRARY_PATH} \
|
||||
$HOME/.cargo/bin/cargo build \
|
||||
--release \
|
||||
--bin websocket-gateway
|
||||
|
||||
RUN SQLX_OFFLINE=true \
|
||||
LD_LIBRARY_PATH=/usr/lib:${LD_LIBRARY_PATH} \
|
||||
$HOME/.cargo/bin/cargo build \
|
||||
--release \
|
||||
--bin twitch-pubsub-subscriber
|
||||
|
||||
# Print a report on disk space
|
||||
#RUN echo "Disk usage at root (after all builds):"
|
||||
#RUN du -hsc / | sort -hr
|
||||
RUN echo "Disk usage at current directory (after all builds):"
|
||||
RUN pwd
|
||||
RUN du -hsc * | sort -hr
|
||||
@@ -199,16 +196,15 @@ RUN echo -n ${GIT_SHA} > GIT_SHA
|
||||
# Copy all the binaries.
|
||||
COPY --from=builder /tmp/target/release/storyteller-web /
|
||||
COPY --from=builder /tmp/target/release/dummy-service /
|
||||
# TODO(bt,2023-03-08): disabling these to build web artifact faster during outage
|
||||
#COPY --from=builder /tmp/target/release/analytics-job /
|
||||
#COPY --from=builder /tmp/target/release/download-job /
|
||||
#COPY --from=builder /tmp/target/release/inference-job /
|
||||
#COPY --from=builder /tmp/target/release/tts-download-job /
|
||||
#COPY --from=builder /tmp/target/release/tts-inference-job /
|
||||
#COPY --from=builder /tmp/target/release/w2l-download-job /
|
||||
#COPY --from=builder /tmp/target/release/w2l-inference-job /
|
||||
#COPY --from=builder /tmp/target/release/websocket-gateway /
|
||||
#COPY --from=builder /tmp/target/release/twitch-pubsub-subscriber /
|
||||
COPY --from=builder /tmp/target/release/analytics-job /
|
||||
COPY --from=builder /tmp/target/release/download-job /
|
||||
COPY --from=builder /tmp/target/release/inference-job /
|
||||
COPY --from=builder /tmp/target/release/tts-download-job /
|
||||
COPY --from=builder /tmp/target/release/tts-inference-job /
|
||||
COPY --from=builder /tmp/target/release/w2l-download-job /
|
||||
COPY --from=builder /tmp/target/release/w2l-inference-job /
|
||||
COPY --from=builder /tmp/target/release/websocket-gateway /
|
||||
COPY --from=builder /tmp/target/release/twitch-pubsub-subscriber /
|
||||
|
||||
# SSL certs are required for crypto
|
||||
COPY --from=builder /etc/ssl /etc/ssl
|
||||
|
||||
Reference in New Issue
Block a user