Comments (5)
can a customized ocaml distro be installed as the base compiler and repos
added on top?
No that is not a goal of this project, we use a set of standard OCaml distros based off ocaml-dockerfile. The general intent is to support all Tier-1 supported platforms for OCaml plus the most common distributions. Right now we support Linux (x86, ARM, POWER, s390x), MacOS (x86, ARM) and FreeBSD (x86), with ongoing work to support Windows and Linux RiscV.
would you be willing to add gcc cross-compile packages to the base OS together with Qemu?
What kind of things would you want to do with that?
Can you support codeberg.org as a repo source?
It would be possible to add codeberg as a repo source, but we do not have plans to do it currently.
Technically we would need a programatic API for getting information about users/repositories and activity on repositories like git pushes, pull request creation and git branch create. It looks like https://codeberg.org/api/swagger#/ would cover some of that. I couldn't see an equivalent to GitHub's web hooks, which would make things more difficult and would require a polling loop.
If someone was interested in working on it I could help guide the implementation. A good starting point would be looking at https://github.com/ocurrent/ocurrent/tree/master/plugins/gitlab and try building a minimal example like https://github.com/ocurrent/ocurrent/blob/master/doc/examples/gitlab.ml
Can a github account for initial PR registration (or anything else) be avoided?
A GitHub (or GitLab) account is fundamental to how we query for repositories to build, interact with the Git Forge and receive web hook notifications.
from ocaml-ci.
What kind of things would you want to do with that?
I originally approached the sandmark-nightly people with the idea of leveragnig their
amd64 hardware to do distro testing on that and other architectures via Qemu, but got nowhere in 9 months :
ocaml-bench/sandmark-nightly#119
... together with a bizarre message exchange with @shakthimaan.
But you mention the whole range of hardware for your service which would be great news if one was able to also input one's modified distro a'la sandmark-nightly,
as then no Qemu needed.
A GitHub (or GitLab) account is fundamental to how we query for repositories to build, > interact with the Git Forge and receive web hook notifications.
I was confused by the github-centric documentation as to whether one needed a github account in addition to a gitlab account.
So I think you're answer indicates that's not the case and so if a codeberg plugin were available, an account there would be sufficient.
With ocaml distro abstraction a non-goal perhaps a possibility is to overlay the installed
one with one's own via opam. I don't know whether that is possible but would you object to it in principle?
from ocaml-ci.
Note that you an also run ocaml-ci locally, on a git repository. It will track changes committed to the repository, and run its usual test suite. Try dune exec -- ocaml-ci-local --help
.
from ocaml-ci.
local? I don't have the hardware to do this which is why I am asking about your service.
but after sandmark-nightly, I am not sure now whether it is your own hardware or github's.
nevertheless, the question was whether, assuming it is possible for the user to specify
packages to install even up to a replacement ocaml-variant, you would be willing to have that done within your 'service'?
from ocaml-ci.
I was confused by the github-centric documentation as to whether one needed a github account in addition to a gitlab account.
So I think you're answer indicates that's not the case and so if a codeberg plugin were available, an account there would be sufficient.
A codeberg plugin would be mandatory then it would require some changes to ocaml-ci directly. Each GitForge type (GitHub, GitLab) has its own ocurrent pipeline. If codeberg support were to be added then a new pipeline would need setting up plus some ops stuff to plumb in the right deployment configuration. This all assumes there is sufficient interest in supporting Codeberg.
With ocaml distro abstraction a non-goal perhaps a possibility is to overlay the installed
one with one's own via opam. I don't know whether that is possible but would you object to it in principle?
ocaml-ci only consults the main https://github.com/ocaml/opam-repository for packages, so installing a different ocaml compiler would be difficult and working against the goals of ocaml-ci. The project is aimed at providing a zero config CI solution for OCaml projects using the metadata from opam, dune and a supported set of platforms (linux, macOS, FreeBSD).
I would suggest opening an issue on https://github.com/tarides/ocaml-jit/issues outlining in detail what you are trying to achieve and what resources are required (possibly restating some of what was included in ocaml-bench/sandmark-nightly#119).
from ocaml-ci.
Related Issues (20)
- Job waiting on ocluster resource marked as "Build failed" on github
- "experimental" "variants" HOT 5
- lint-fmt fails on package using dune's "site" feature HOT 2
- `lint-doc` uses lower-bounds for installing dependencies HOT 1
- CI failure HOT 3
- UX HOT 5
- SLA / service outage HOT 5
- EXPERIMENTAL: (lint-opam) (failure: No *.opam files found!)
- Web UI reports "Oops! Internal Server Error" when job hasn't started yet
- Missing `.ocamlformat` version line causes analysis failure HOT 1
- failed: Failed to get head of ocaml/opam-repository:refs/heads/master HOT 1
- CI failure on 5.1 32-bit builders HOT 1
- OCaml 5.2 support HOT 2
- Add additional opam-repository / Dockerfile customization? HOT 3
- Naming of builders
- FreeBSD CI failures HOT 8
- debian-12 x86_32 workers fail due to old capnproto version HOT 5
- `lint-doc` job failing on installation of `conf-git` HOT 1
- `lint-fmt` job fails with "Error: Program ocamlformat not found in the tree or in PATH" HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ocaml-ci.