Skip to content

Commit

Permalink
feat(test): Add tests for 'cloud volume import'
Browse files Browse the repository at this point in the history
Also add test fixtures for working with cpio archives.

Signed-off-by: Cezar Craciunoiu <[email protected]>
  • Loading branch information
craciunoiuc committed Sep 17, 2024
1 parent 065b7a3 commit 0ce847a
Show file tree
Hide file tree
Showing 14 changed files with 88,154 additions and 0 deletions.
13 changes: 13 additions & 0 deletions test/e2e/cloud/fixtures/import/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright (c) 2024, Unikraft GmbH and The KraftKit Authors.
# Licensed under the BSD-3-Clause License (the "License").
# You may not use this file except in compliance with the License.

FROM ubuntu:latest AS build

RUN mkdir -p /tmp/build && \
echo "<p>Hello World!</p>" > /tmp/build/hello.txt

FROM scratch AS import

COPY --from=build /tmp/build/hello.txt /index.html
Loading

0 comments on commit 0ce847a

Please sign in to comment.