earthfile: build satellite-admin for nightly

Change-Id: Iafe7fe1867178517f359ca61d2178a68d1430894
This commit is contained in:
Márton Elek 2023-06-09 21:41:13 +02:00 committed by Egon Elbre
parent b1523f82c8
commit 683f0c493f

View File

@ -37,6 +37,13 @@ satellite-web:
SAVE ARTIFACT dist AS LOCAL web/satellite/dist SAVE ARTIFACT dist AS LOCAL web/satellite/dist
SAVE ARTIFACT static AS LOCAL web/satellite/static SAVE ARTIFACT static AS LOCAL web/satellite/static
satellite-admin:
FROM node:16
WORKDIR /build
COPY satellite/admin/ui .
RUN ./build.sh
SAVE ARTIFACT build AS LOCAL satellite/admin/ui/build
storagenode-bin: storagenode-bin:
COPY go.mod go.mod COPY go.mod go.mod
COPY go.sum go.sum COPY go.sum go.sum
@ -112,6 +119,7 @@ build-tagged-image:
FROM img.dev.storj.io/storjup/base:20230208-1 FROM img.dev.storj.io/storjup/base:20230208-1
COPY +multinode-web/dist /var/lib/storj/storj/web/multinode/dist COPY +multinode-web/dist /var/lib/storj/storj/web/multinode/dist
COPY +satellite-web/dist /var/lib/storj/storj/web/satellite/dist COPY +satellite-web/dist /var/lib/storj/storj/web/satellite/dist
COPY +satellite-admin/build /app/satellite-admin/
COPY +satellite-web/static /var/lib/storj/storj/web/satellite/static COPY +satellite-web/static /var/lib/storj/storj/web/satellite/static
COPY +storagenode-web/dist /var/lib/storj/storj/web/storagenode/dist COPY +storagenode-web/dist /var/lib/storj/storj/web/storagenode/dist
COPY +storagenode-web/static /var/lib/storj/storj/web/storagenode/static COPY +storagenode-web/static /var/lib/storj/storj/web/storagenode/static