Skip to content
This repository was archived by the owner on Apr 29, 2025. It is now read-only.

Conversation

djs55
Copy link
Contributor

@djs55 djs55 commented Sep 28, 2017

Using Xcode 8.3 in circle.yml should hopefully fix the error:

carthage: A full installation of Xcode.app 8.3 is required to compile this software.
Installing just the Command Line Tools is not sufficient.
Xcode can be installed from the App Store.
Error: An unsatisfied requirement failed this build.

Removing one of the references to the version module in bridge/github should fix the error:

Multiple rules generated for _build/default/bridge/github/version.o

Signed-off-by: David Scott [email protected]

This should fix the error:

> carthage: A full installation of Xcode.app 8.3 is required to compile this software.
> Installing just the Command Line Tools is not sufficient.
> Xcode can be installed from the App Store.
> Error: An unsatisfied requirement failed this build.

Signed-off-by: David Scott <[email protected]>
@djs55 djs55 changed the title circle.yml: use xcode 8.3 attempt to fix CI Sep 28, 2017
@samoht
Copy link
Member

samoht commented Sep 28, 2017

I have pushed more CI fixes directly to your branch. Let's make this green :-)

@@ -23,8 +23,7 @@ depends:
datakit-ci datakit-bridge-github datakit-bridge-local-git -y

datakit:
$(BUILD) -n datakit
$(RUNTEST) test/datakit
$(BUILD) -p datakit
Copy link
Contributor

Choose a reason for hiding this comment

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

Why did this go? Are we testing it elsewhere?

Copy link
Member

Choose a reason for hiding this comment

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

We are not testing this. And jbuilder -n datakit just says that -n is not a valid option.

djs55 and others added 4 commits November 10, 2017 14:27
This hopefully fixes:

> Processing  1/1: [depext: make]-> installed depext.1.0.5
> Done.
> Fatal error: exception # opam-version    1.2.2
> # os              darwin
> opam: "execvpe" failed on opam-depext: No such file or directory
>
> opam install depext && opam depext osx-fsevents datakit returned exit code 2

Signed-off-by: David Scott <[email protected]>
This could be caused by missing environment variables during the build,
hence adding another `opam config exec --`

Signed-off-by: David Scott <[email protected]>
Signed-off-by: Thomas Gazagnaire <[email protected]>
@samoht samoht force-pushed the fix-ci branch 4 times, most recently from 10ad65d to f541542 Compare November 16, 2017 10:54
@samoht
Copy link
Member

samoht commented Nov 16, 2017

I have fixed the Dockerfiles and updated everything to use the latest version. Not sure why appveyor and CircleCI are complaining, need to have a closer look.

@samoht
Copy link
Member

samoht commented Nov 17, 2017

I've bumped appveyor and CircleCI to 4.05, hopefully this will fix the last issues.

@samoht
Copy link
Member

samoht commented Nov 18, 2017

The appveyor built is blocked on:

datakit -> hvsock >= 0.8.1 -> duration -> alcotest < 0.8.0

which should be solved once ocaml/opam-repository#10770 is updated to the windows repository.

Dockerfile Outdated
opam update -u

ENV OPAMERRLOGLEN=0 OPAMYES=1
RUN sudo apk add tzdata aspcud gmp-dev perl
RUN sudo apk update && sudo apk add tzdata aspcud gmp-dev perl
Copy link
Member

Choose a reason for hiding this comment

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

apk add --no-cache should work as well?

@samoht samoht self-assigned this Nov 18, 2017
@samoht samoht force-pushed the fix-ci branch 3 times, most recently from 5bfba93 to e579862 Compare November 20, 2017 11:01
@samoht
Copy link
Member

samoht commented Nov 20, 2017

@talex5 would it be possible to remove the datakit-ci tests (as they are now tested with the main Dockerfile.ci) and to remove the check for the client library on 4.03 (or to use an image with opam2 instead of opam1)?

@talex5
Copy link
Contributor

talex5 commented Nov 20, 2017

Just testing it now...

@talex5
Copy link
Contributor

talex5 commented Nov 20, 2017

@Samoth: I've pushed a fix to https://github.com/talex5/datakit/tree/fix-ci and deployed it.

@samoht
Copy link
Member

samoht commented Nov 20, 2017

@talex5 Thanks! Now all seems to be green apart the windows builds as we are waiting for https://github.com/fdopen/opam-repository-mingw to be updated.

samoht and others added 2 commits November 20, 2017 13:52
opam pin <path> now pins all the available packages in one go (yay).

Signed-off-by: Thomas Gazagnaire <[email protected]>
- datakit-ci tests are now done as part of the build
- don't check that the client still works on OCaml 4.03

Requested by Thomas Gazagnaire.
@samoht
Copy link
Member

samoht commented Nov 21, 2017

Finally all green! Merging.

@samoht samoht merged commit 8c9ff71 into moby:master Nov 21, 2017
samoht added a commit to samoht/opam-repository that referenced this pull request Nov 21, 2017
CHANGES:

- all: update to latest version of alcotest, conduit, session, ocaml-github,
  ocaml-github-hooks and cohttp (moby/datakit#612, @samoht and @djs55)

- github: make `User.t` abstract (moby/datakit#594, @samoht)
- github: turn `Webhook.events` into a promise (moby/datakit#598, @samoht)
- github: add a `Comment` module to model PR and issue comments (moby/datakit#595, @samoht)
- github: change `PR.owner` to be of type `User.t` (moby/datakit#599, @samoht)

- github-bridge: add the ability to sync PR's coments (moby/datakit#595, @samoht)

- go-client: handle large values when reading / writing in 9db (moby/datakit#292, @simonferquel)
- go-client: fix the handling of defaults over upgrade (moby/datakit#605, @djs55)
- go-client: improve transaction API (moby/datakit#606, @djs55)
samoht added a commit to samoht/opam-repository that referenced this pull request Nov 23, 2017
CHANGES:

- all: update to latest version of alcotest, conduit, session, ocaml-github,
  ocaml-github-hooks and cohttp (moby/datakit#612, @samoht and @djs55)

- github: make `User.t` abstract (moby/datakit#594, @samoht)
- github: turn `Webhook.events` into a promise (moby/datakit#598, @samoht)
- github: add a `Comment` module to model PR and issue comments (moby/datakit#595, @samoht)
- github: change `PR.owner` to be of type `User.t` (moby/datakit#599, @samoht)

- github-bridge: add the ability to sync PR's coments (moby/datakit#595, @samoht)

- go-client: handle large values when reading / writing in 9db (moby/datakit#292, @simonferquel)
- go-client: fix the handling of defaults over upgrade (moby/datakit#605, @djs55)
- go-client: improve transaction API (moby/datakit#606, @djs55)
samoht added a commit to samoht/opam-repository that referenced this pull request Nov 23, 2017
CHANGES:

- all: update to latest version of alcotest, conduit, session, ocaml-github,
  ocaml-github-hooks and cohttp (moby/datakit#612, @samoht and @djs55)

- github: make `User.t` abstract (moby/datakit#594, @samoht)
- github: turn `Webhook.events` into a promise (moby/datakit#598, @samoht)
- github: add a `Comment` module to model PR and issue comments (moby/datakit#595, @samoht)
- github: change `PR.owner` to be of type `User.t` (moby/datakit#599, @samoht)

- github-bridge: add the ability to sync PR's coments (moby/datakit#595, @samoht)

- go-client: handle large values when reading / writing in 9db (moby/datakit#292, @simonferquel)
- go-client: fix the handling of defaults over upgrade (moby/datakit#605, @djs55)
- go-client: improve transaction API (moby/datakit#606, @djs55)
samoht added a commit to samoht/opam-repository that referenced this pull request Nov 23, 2017
CHANGES:

- all: update to latest version of alcotest, conduit, session, ocaml-github,
  ocaml-github-hooks and cohttp (moby/datakit#612, @samoht and @djs55)

- github: make `User.t` abstract (moby/datakit#594, @samoht)
- github: turn `Webhook.events` into a promise (moby/datakit#598, @samoht)
- github: add a `Comment` module to model PR and issue comments (moby/datakit#595, @samoht)
- github: change `PR.owner` to be of type `User.t` (moby/datakit#599, @samoht)

- github-bridge: add the ability to sync PR's coments (moby/datakit#595, @samoht)

- go-client: handle large values when reading / writing in 9db (moby/datakit#292, @simonferquel)
- go-client: fix the handling of defaults over upgrade (moby/datakit#605, @djs55)
- go-client: improve transaction API (moby/datakit#606, @djs55)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants