Giter Site home page Giter Site logo

Comments (3)

samoht avatar samoht commented on July 21, 2024 1

The way to make this happen is to add a new field in opam of dune-project to be able to specify what upstream repository to use. This way that will work both on developer machines and in the CI (so there is no need to create a .ocamlci configuration file - I suggest we resist the urge to do this and fix our other metadata sources first :p)

So, now, the issue is that there is no way to specify extra repositories in opam files. Fortunately, that's something that is being added in the dune pkg command where you would be able to specify with opam-repository to use directly in your dune-project file, so I suspect it might be possible to test this somehow one day in ocaml-ci /cc @leostera and @tmattio

from ocaml-ci.

gpetiot avatar gpetiot commented on July 21, 2024

Maybe I could reframe this question as: would it be possible to customize the dockerfiles generated by ocaml-ci, here is the kind of workflow I would like to have: https://github.com/tarides/okra/blob/main/.github/workflows/build.yml (the opam-repositories customization is what I mostly need)

from ocaml-ci.

benmandrew avatar benmandrew commented on July 21, 2024

This is technically possible, but as OCaml-CI is currently zero-configuration we have no way of getting a user config. This would have to be added in some kind of new .ocamlci file or something.

At the moment we're not actively developing OCaml-CI, but you're free to open a PR if you'd like.

from ocaml-ci.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.