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

ci: include test name in links from GitHub #508

Merged
merged 2 commits into from
Mar 30, 2017
Merged

Conversation

talex5
Copy link
Contributor

@talex5 talex5 commented Mar 29, 2017

Add the test name to the details URL so that we can highlight the correct test automatically.

Also, ensure aspcud is used during the build to get better dependency resolution.

datakit-ci.opam Outdated
@@ -9,12 +9,12 @@ dev-repo: "https://github.com/docker/datakit.git"
doc: "https://docker.github.io/datakit/"

build: [
"ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%" "--tests" "false" "-n" name
"ocaml" "pkg/pkg.ml" "build" "--dev-pkg" "%{pinned}%" "--tests" "false" "-n" name
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are you sure this is needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not needed, but https://github.com/dbuenzli/topkg/blob/master/CHANGES.md#v090-la-forclaz-vs says Deprecate --pinned in favor of --dev-pkg in the build command.

@talex5
Copy link
Contributor Author

talex5 commented Mar 29, 2017

CI failed because:

Your request can't be satisfied:
  - unavailable for unknown reasons (this may be a bug in opam)

This usually means no aspcud. But I think the newer Docker image with aspcud also has a newer opam-dev that can't install test dependencies.

@talex5 talex5 force-pushed the test-links branch 2 times, most recently from 283d825 to 6ba2cbf Compare March 29, 2017 14:09
Thomas Leonard added 2 commits March 29, 2017 15:31
Without this, opam often makes poor version choices. This was probably
the underlying cause of moby#507.

Signed-off-by: Thomas Leonard <thomas.leonard@docker.com>
Highlight the test when showing the target page.

Signed-off-by: Thomas Leonard <thomas.leonard@docker.com>
@talex5 talex5 merged commit 73378f1 into moby:master Mar 30, 2017
@talex5 talex5 deleted the test-links branch March 30, 2017 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants