File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -116,6 +116,6 @@ moderation-deploy-manifest-production:
116116 - .moderation-deploy-workflow
117117 - .service-deploy-manifest
118118 variables :
119- MANIFEST_QUICK_TARGETS : inventory/polycentric-east/moderation-service .yml:polycentriceast
119+ MANIFEST_QUICK_TARGETS : inventory/polycentric-east/moderation.yml:polycentriceast
120120 needs :
121121 - moderation-deploy-image-production
File renamed without changes.
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ set -eu
3+
4+ # Runtime shared libraries the release binaries link against: rdkafka pulls
5+ # in SASL (libsasl2.so.2) and SSL (libssl.so.3); ca-certificates is needed
6+ # for outbound TLS. These are the runtime counterparts of build-deps.sh.
7+ apt-get update
8+ apt-get install -y --no-install-recommends \
9+ libsasl2-2 \
10+ libssl3 \
11+ ca-certificates
12+ rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change @@ -9,13 +9,15 @@ COPY packages packages
99COPY services services
1010COPY tools tools
1111
12- RUN services/common/deps.sh
12+ RUN services/common/build- deps.sh
1313
1414RUN cargo build --release --package moderation-service
1515RUN cargo build --release --package moderation-migration
1616
1717FROM rust:1.95-slim
1818WORKDIR /app
19+ COPY services/common/runtime-deps.sh runtime-deps.sh
20+ RUN sh runtime-deps.sh
1921COPY --from=build /app/target/release/moderation-service /app/moderation-service
2022COPY --from=build /app/target/release/moderation-migration /app/moderation-migration
2123CMD ["/app/moderation-service" ]
Original file line number Diff line number Diff line change @@ -9,13 +9,15 @@ COPY packages packages
99COPY services services
1010COPY tools tools
1111
12- RUN services/common/deps.sh
12+ RUN services/common/build- deps.sh
1313
1414RUN cargo build --release --package server
1515RUN cargo build --release --package migration
1616
1717FROM rust:1.95-slim
1818WORKDIR /app
19+ COPY services/common/runtime-deps.sh runtime-deps.sh
20+ RUN sh runtime-deps.sh
1921COPY --from=build /app/target/release/server /app/server
2022COPY --from=build /app/target/release/migration /app/migration
2123CMD ["/app/server" ]
You can’t perform that action at this time.
0 commit comments