Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nuke the new nixery image #5479

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions tests/bud.bats
Original file line number Diff line number Diff line change
Expand Up @@ -4398,9 +4398,8 @@ EOM
}

@test "bud-implicit-no-history" {
_prefetch nixery.dev/shell
run_buildah build $WITH_POLICY_JSON --layers=false $BUDFILES/no-history
run_buildah build $WITH_POLICY_JSON --layers=true $BUDFILES/no-history
run_buildah build $WITH_POLICY_JSON --layers=false --build-arg SAFEIMAGE=$SAFEIMAGE $BUDFILES/no-history
run_buildah build $WITH_POLICY_JSON --layers=true --build-arg SAFEIMAGE=$SAFEIMAGE $BUDFILES/no-history
}

@test "bud with encrypted FROM image" {
Expand Down
3 changes: 2 additions & 1 deletion tests/bud/no-history/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# The important thing about that first base image is that it has no history
# entries, but it does have at least one layer.

FROM nixery.dev/shell AS first-stage
ARG SAFEIMAGE
FROM $SAFEIMAGE AS first-stage
RUN date > /date1.txt
RUN sleep 1 > /sleep1.txt

Expand Down
Loading