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

Avoid the CI from crashing #46

Closed
wants to merge 4 commits 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
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ services:
command: --git /data --listen-9p tcp://0.0.0.0:5640
bridge:
restart: always
image: datakit/github-bridge:0.11.0
image: datakit/github-bridge
command: --datakit tcp://datakit:5640 -v -c "*:r" --webhook http://${CI_DOMAIN_NAME}:8100
ports:
- "8100:8100"
Expand Down
4 changes: 2 additions & 2 deletions mirage-ci.opam
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ bug-reports: "https://github.com/avsm/mirage-ci/issues"
tags: ["org:mirage" "org:ocamlabs"]
depends: [
"ocaml" {>= "4.03.0"}
"dune" {build & >= "1.0"}
"ppx_sexp_conv" {>="v0.9.0"}
"dune" {>= "1.0"}
"ppx_sexp_conv" {>= "v0.9.0"}
"dockerfile-cmd"
"datakit-ci" {>= "0.12.0"}
"datakit-client" {>= "0.11.0"}
Expand Down
2 changes: 1 addition & 1 deletion opam-repo-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ services:
- datakit-data:/data
command: --git /data --listen-prometheus=9090 --listen-9p tcp://0.0.0.0:5640
bridge:
image: datakit/github-bridge:0.11.0
image: datakit/github-bridge
command: --listen-prometheus=9090 --datakit tcp://datakit:5640 -v -c "*:r,status[ci/datakit]:x,webhook:rw" --webhook http://ci.ocaml.org:8100
ports:
- "8100:8100"
Expand Down
3 changes: 3 additions & 0 deletions src-bin/opamRepoCI.ml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ open Datakit_ci
open Term.Infix
module DO = Docker_ops

let () = Lwt.async_exception_hook := (fun exc ->
prerr_endline ("[Error caught in the Lwt.async_exception_hook]: "^Printexc.to_string exc))

module Builder = struct

let label = "opamRepo"
Expand Down