-
Notifications
You must be signed in to change notification settings - Fork 785
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2236: Run stat command directly for volume ownership test r=rhatdan a=carbonin #### What type of PR is this? /kind failing-test #### What this PR does / why we need it: This removes the script previously used which may have been causing #2235 cc @edsantiago @rhatdan Co-authored-by: Nick Carboni <ncarboni@redhat.com>
- Loading branch information
Showing
3 changed files
with
6 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
FROM alpine | ||
ADD test-ownership /usr/bin/ | ||
RUN adduser -D -H testuser && addgroup testgroup | ||
RUN mkdir -p /vol/subvol | ||
RUN chown testuser:testgroup /vol/subvol | ||
VOLUME /vol/subvol | ||
|
||
# Run some command after VOLUME to ensure that the volume cache behavior is invoked | ||
# See https://github.com/containers/buildah/blob/843d15de3e797bd912607d27324d13a9d5c27dfb/imagebuildah/stage_executor.go#L61-L72 and | ||
# for more details | ||
RUN touch /test |
This file was deleted.
Oops, something went wrong.