python3 scripts/swarm.py up vphhh79vd5ti8501q6m9lzulj Local secrets are ready. DEPRECATED: The legacy builder is deprecated and will be removed in a future release. Install the buildx component to build images with BuildKit: https://docs.docker.com/go/buildx/ Sending build context to Docker daemon 287.2kB Step 1/33 : FROM golang:1.26.4-alpine3.23@sha256:18b460dd17542c2ba43299a633cf6ebfc1115101509531471d7cfce1019af083 AS goose-builder ---> 18b460dd1754 Step 2/33 : RUN GOBIN=/out CGO_ENABLED=0 go install -tags='no_clickhouse no_libsql no_mssql no_mysql no_sqlite3 no_vertica no_ydb no_spanner' github.com/pressly/goose/v3/cmd/goose@v3.27.1 ---> Using cache ---> 7012ef857c0c Step 3/33 : FROM alpine:3.23@sha256:075c2c1a4068c1e251228ca2b0ea8b163f835ca5d66e758b93c7fc89b1995616 AS migrations ---> 075c2c1a4068 Step 4/33 : COPY --from=goose-builder /out/goose /usr/local/bin/goose ---> Using cache ---> 6a0ad52336c1 Step 5/33 : COPY migrations /migrations ---> Using cache ---> bdaed88eb3c4 Step 6/33 : COPY infra/migrate.sh /usr/local/bin/migrate ---> Using cache ---> 6b2f8363246f Step 7/33 : USER 10001:10001 ---> Using cache ---> 0ee0b0a19ac2 Step 8/33 : ENTRYPOINT ["/usr/local/bin/migrate"] ---> Using cache ---> 515a3a194eff Step 9/33 : CMD ["up"] ---> Using cache ---> 3fc9d5a8766e Step 10/33 : FROM golang:1.26.4-alpine3.23@sha256:18b460dd17542c2ba43299a633cf6ebfc1115101509531471d7cfce1019af083 AS builder ---> 18b460dd1754 Step 11/33 : WORKDIR /src ---> Using cache ---> 1ba013278a4a Step 12/33 : RUN apk add --no-cache gcc musl-dev ---> Using cache ---> a0ea65f0bded Step 13/33 : COPY go.mod go.sum ./ ---> Using cache ---> ed7b32b46107 Step 14/33 : RUN go mod download ---> Using cache ---> 560f057986fd Step 15/33 : COPY cmd ./cmd ---> Using cache ---> aeb0e605f035 Step 16/33 : COPY contracts ./contracts ---> Using cache ---> 75214d501e9d Step 17/33 : COPY dto ./dto ---> Using cache ---> c9dde7a85632 Step 18/33 : COPY internal ./internal ---> Using cache ---> 6801de5b6efd Step 19/33 : COPY migrations ./migrations ---> Using cache ---> 450891c612e5 Step 20/33 : RUN CGO_ENABLED=0 GOOS=linux go build -trimpath -ldflags="-s -w" -o /out/messenger ./cmd ---> Using cache ---> a57984366043 Step 21/33 : FROM builder AS tests ---> a57984366043 Step 22/33 : COPY --from=goose-builder /out/goose /usr/local/bin/goose ---> Using cache ---> 3a60e0d8435e Step 23/33 : ENV GOOSE_MIGRATION_DIR=/src/migrations ---> Using cache ---> b9fafb47c63f Step 24/33 : CMD ["go", "test", "-p=1", "-race", "-count=1", "-v", "./..."] ---> Using cache ---> 1e66016b355d Step 25/33 : FROM alpine:3.23@sha256:075c2c1a4068c1e251228ca2b0ea8b163f835ca5d66e758b93c7fc89b1995616 ---> 075c2c1a4068 Step 26/33 : RUN addgroup -S messenger && adduser -S -D -H -u 10001 -G messenger messenger ---> Using cache ---> 33192b561bfc Step 27/33 : COPY --from=builder --chown=messenger:messenger /out/messenger /usr/local/bin/messenger ---> be027a3bbafb Step 28/33 : ENV PORT=8080 ---> Running in 5c48db39543d ---> Removed intermediate container 5c48db39543d ---> 61a2336a2a37 Step 29/33 : EXPOSE 8080 ---> Running in 515a1f448a98 ---> Removed intermediate container 515a1f448a98 ---> e3497378f9a7 Step 30/33 : USER messenger:messenger ---> Running in 3693350a51e8 ---> Removed intermediate container 3693350a51e8 ---> 1cec462a8508 Step 31/33 : HEALTHCHECK --interval=10s --timeout=3s --start-period=3s --retries=3 CMD wget -q -O /dev/null "http://127.0.0.1:${PORT}/health/ready" || exit 1 ---> Running in 727f5423b346 ---> Removed intermediate container 727f5423b346 ---> 9b878104cc49 Step 32/33 : STOPSIGNAL SIGTERM ---> Running in 5f3e134fa48a ---> Removed intermediate container 5f3e134fa48a ---> 4f41abfa4818 Step 33/33 : ENTRYPOINT ["/usr/local/bin/messenger"] ---> Running in 6908a826696b ---> Removed intermediate container 6908a826696b ---> 955025e462af Successfully built 955025e462af Successfully tagged mtusi-messenger:lab3 DEPRECATED: The legacy builder is deprecated and will be removed in a future release. Install the buildx component to build images with BuildKit: https://docs.docker.com/go/buildx/ Sending build context to Docker daemon 287.2kB Step 1/9 : FROM golang:1.26.4-alpine3.23@sha256:18b460dd17542c2ba43299a633cf6ebfc1115101509531471d7cfce1019af083 AS goose-builder ---> 18b460dd1754 Step 2/9 : RUN GOBIN=/out CGO_ENABLED=0 go install -tags='no_clickhouse no_libsql no_mssql no_mysql no_sqlite3 no_vertica no_ydb no_spanner' github.com/pressly/goose/v3/cmd/goose@v3.27.1 ---> Using cache ---> 7012ef857c0c Step 3/9 : FROM alpine:3.23@sha256:075c2c1a4068c1e251228ca2b0ea8b163f835ca5d66e758b93c7fc89b1995616 AS migrations ---> 075c2c1a4068 Step 4/9 : COPY --from=goose-builder /out/goose /usr/local/bin/goose ---> Using cache ---> 6a0ad52336c1 Step 5/9 : COPY migrations /migrations ---> Using cache ---> bdaed88eb3c4 Step 6/9 : COPY infra/migrate.sh /usr/local/bin/migrate ---> Using cache ---> 6b2f8363246f Step 7/9 : USER 10001:10001 ---> Using cache ---> 0ee0b0a19ac2 Step 8/9 : ENTRYPOINT ["/usr/local/bin/migrate"] ---> Using cache ---> 515a3a194eff Step 9/9 : CMD ["up"] ---> Using cache ---> 3fc9d5a8766e Successfully built 3fc9d5a8766e Successfully tagged mtusi-migrations:lab3 image mtusi-migrations:lab3 could not be accessed on a registry to record its digest. Each node will access mtusi-migrations:lab3 independently, possibly leading to different nodes running different versions of the image. umivyx4q9w24x20xw71y2nlws mtusi-lab3_migrations.0.69m69g42sj5f@colima | 2026/10/19 17:44:49 goose: no migrations to run. current version: 2 mtusi-lab3_migrations Since --detach=false was not specified, tasks will be created in the background. In a future release, --detach=false will become the default. Updating service mtusi-lab3_postgres (id: o9b8rwk8ndl1nkz1rsqz0tq9j) Updating service mtusi-lab3_redis (id: 42srgw3otiut6r8f0im8aeyoe) Updating service mtusi-lab3_api (id: r841hyfz1wcy4pfzokhub4x23) Updating service mtusi-lab3_lb (id: f94gv468hb0fr6110xxs4g167) mtusi-lab3_api scaled to 2 mtusi-lab3_api PASS: rolling update completed PASS: Swarm stack ready at http://localhost:8080