Skip to content

Commit

Permalink
pkg/{files/docker,recipe}: update edge dockerfile and billing recipe
Browse files Browse the repository at this point in the history
Change-Id: Ib3dee056442efc0699308fac917f014c1325f0cf
  • Loading branch information
dlamarmorgan committed May 23, 2024
1 parent 5d987c6 commit f876847
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
5 changes: 1 addition & 4 deletions pkg/files/docker/edge.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,4 @@ RUN --mount=type=cache,target=/var/lib/storj/go/pkg/mod,mode=777,uid=1000 \
go install -race ./cmd/...

FROM img.dev.storj.io/storjup/base:20240509-1 AS final
COPY --from=binaries /var/lib/storj/go/bin /var/lib/storj/go/bin
COPY --from=binaries /var/lib/storj/gateway-mt/pkg/linksharing/web /var/lib/storj/pkg/linksharing/web


COPY --from=binaries /var/lib/storj/go/bin /var/lib/storj/go/bin
2 changes: 1 addition & 1 deletion pkg/recipe/billing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ add:
- name: storjscan
label:
- storjscan
image: img.dev.storj.io/storjup/storjscan:1.0.5
image: img.dev.storj.io/storjup/storjscan:1.0.5-1
command:
- storjscan
- run
Expand Down
1 change: 0 additions & 1 deletion test/edge/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ test:
COPY ../../+build-app/storj-up .
# setup test environment
RUN /go/storj-up/storj-up init minimal,edge,db,uplink && \
# /go/storj-up/storj-up image uplink img.dev.storj.io/storjup/storj:1.104.5 && \
/go/storj-up/storj-up env set authservice STORJ_ENDPOINT=http://gateway-mt:9999
COPY . .
WITH DOCKER --compose docker-compose.yaml
Expand Down
3 changes: 1 addition & 2 deletions test/storjscan/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ test:
/go/storj-up/storj-up env setenv satellite-core STORJ_PAYMENTS_BILLING_CONFIG_INTERVAL=5s && \
/go/storj-up/storj-up env setenv satellite-core STORJ_PAYMENTS_STORJSCAN_INTERVAL=5s && \
/go/storj-up/storj-up env setenv satellite-core STORJ_PAYMENTS_STORJSCAN_CONFIRMATIONS=12 && \
/go/storj-up/storj-up env setenv storjscan STORJ_TOKEN_PRICE_USE_TEST_PRICES=true && \
/go/storj-up/storj-up image storjscan img.dev.storj.io/storjup/storjscan:1.0.5-1
/go/storj-up/storj-up env setenv storjscan STORJ_TOKEN_PRICE_USE_TEST_PRICES=true
COPY . .
WITH DOCKER --compose docker-compose.yaml
RUN docker compose exec -T -u 0 storjscan bash -c 'storj-up health --host cockroach -d 120' && \
Expand Down

0 comments on commit f876847

Please sign in to comment.