Skip to content

Commit

Permalink
test: add preheat e2e testing for v2 (#3215)
Browse files Browse the repository at this point in the history
Signed-off-by: Gaius <gaius.qi@gmail.com>
  • Loading branch information
gaius-qi authored Apr 22, 2024
1 parent 4e89071 commit 012a0f7
Show file tree
Hide file tree
Showing 5 changed files with 454 additions and 1 deletion.
2 changes: 2 additions & 0 deletions build/images/manager/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ ENV PATH=/opt/dragonfly/bin:$PATH
RUN mkdir -p /opt/dragonfly/bin/manager/console \
&& echo "hosts: files dns" > /etc/nsswitch.conf

RUN apk --no-cache add curl

COPY --from=server-builder /opt/dragonfly/bin/manager /opt/dragonfly/bin/server
COPY --from=health /bin/grpc_health_probe /bin/grpc_health_probe

Expand Down
3 changes: 3 additions & 0 deletions build/images/scheduler/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,11 @@ RUN if [ "$(uname -m)" = "ppc64le" ]; then \
FROM ${BASE_IMAGE}

ENV PATH=/opt/dragonfly/bin:$PATH

RUN echo "hosts: files dns" > /etc/nsswitch.conf

RUN apk --no-cache add curl

COPY --from=builder /opt/dragonfly/bin/scheduler /opt/dragonfly/bin/scheduler
COPY --from=health /bin/grpc_health_probe /bin/grpc_health_probe

Expand Down
2 changes: 1 addition & 1 deletion test/e2e/v2/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
. "github.com/onsi/ginkgo/v2" //nolint
. "github.com/onsi/gomega" //nolint

// _ "d7y.io/dragonfly/v2/test/e2e/v2/manager"
_ "d7y.io/dragonfly/v2/test/e2e/v2/manager"
"d7y.io/dragonfly/v2/test/e2e/v2/util"
)

Expand Down
Loading

0 comments on commit 012a0f7

Please sign in to comment.