-
Notifications
You must be signed in to change notification settings - Fork 205
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
conformance: support OCI_REPORT_DIR #473
Merged
jdolitsky
merged 1 commit into
opencontainers:main
from
rogpeppe-contrib:004-report-dir
Oct 16, 2023
Merged
conformance: support OCI_REPORT_DIR #473
jdolitsky
merged 1 commit into
opencontainers:main
from
rogpeppe-contrib:004-report-dir
Oct 16, 2023
Conversation
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
rogpeppe
requested review from
dmcgowan,
jzelinskie,
jonjohnsonjr,
jdolitsky,
mikebrow,
stevvooe,
sudo-bmitch and
vbatts
as code owners
September 28, 2023 13:24
sudo-bmitch
reviewed
Sep 30, 2023
sudo-bmitch
reviewed
Oct 8, 2023
rogpeppe
force-pushed
the
004-report-dir
branch
2 times, most recently
from
October 15, 2023 16:43
7da3a67
to
8e2f23f
Compare
sudo-bmitch
requested changes
Oct 15, 2023
This makes it possible to run the conformance tests in a read-only directory without failing by specifying an output directory for the report files instead of hard-coding it to the current directory (which may not be writable, and _won't_ be writable if the tests are being run with `go test github.com/opencontainers/distribution-spec/conformance` rather than in a git checkout of the conformance module. We recognize the value `none` for disabling report generation entirely. Signed-off-by: Roger Peppe <rogpeppe@gmail.com>
rogpeppe
force-pushed
the
004-report-dir
branch
from
October 15, 2023 21:37
8e2f23f
to
219abb3
Compare
sudo-bmitch
approved these changes
Oct 15, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for going through all the updates. LGTM!
jdolitsky
approved these changes
Oct 16, 2023
porcuepine
pushed a commit
to cue-labs/oci-trybot
that referenced
this pull request
Nov 3, 2023
This means that adding the golang.org/x/exp dependency in a later commit won't do this at the same time. We can also remove the replace statement in the conformance tests since [PR 473](opencontainers/distribution-spec#473) has landed. Signed-off-by: Roger Peppe <rogpeppe@gmail.com> Change-Id: I9ec1333d897e5d1af3a8511b5baead5c986fd295
porcuepine
pushed a commit
to cue-labs/oci-trybot
that referenced
this pull request
Nov 3, 2023
This means that adding the golang.org/x/exp dependency in a later commit won't do this at the same time. We can also remove the replace statement in the conformance tests since [PR 473](opencontainers/distribution-spec#473) has landed. Signed-off-by: Roger Peppe <rogpeppe@gmail.com> Change-Id: I9ec1333d897e5d1af3a8511b5baead5c986fd295 Dispatch-Trailer: {"type":"trybot","CL":1171068,"patchset":4,"ref":"refs/changes/68/1171068/4","targetBranch":"main"}
porcuepine
pushed a commit
to cue-labs/oci
that referenced
this pull request
Nov 3, 2023
This means that adding the golang.org/x/exp dependency in a later commit won't do this at the same time. We can also remove the replace statement in the conformance tests since [PR 473](opencontainers/distribution-spec#473) has landed. Signed-off-by: Roger Peppe <rogpeppe@gmail.com> Change-Id: I9ec1333d897e5d1af3a8511b5baead5c986fd295 Reviewed-on: https://review-eu.gerrithub.io/c/cue-labs/oci/+/1171068 TryBot-Result: CUE porcuepine <cue.porcuepine@gmail.com> Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This makes it possible to run the conformance tests in a read-only directory without failing by specifying an output directory for the report files instead of hard-coding it to the current directory (which may not be writable, and won't be writable if the tests are being run with
go test github.com/opencontainers/distribution-spec/conformance
rather than in a git checkout of the conformance module.We recognize the value
none
for disabling report generation entirely.