This repository moved to roburio organization
Adapt CI: use GitHub actions instead of travis for Linux testing, only a single cirrus runner
This commit is contained in:
parent
33f7b6bcee
commit
c91ce00030
|
@ -4,9 +4,6 @@ freebsd_instance:
|
|||
freebsd_task:
|
||||
env:
|
||||
matrix:
|
||||
- OCAML_VERSION: 4.08.1
|
||||
- OCAML_VERSION: 4.09.1
|
||||
- OCAML_VERSION: 4.10.1
|
||||
- OCAML_VERSION: 4.11.1
|
||||
pkg_install_script: pkg install -y ocaml-opam gmp gmake pkgconf bash
|
||||
ocaml_script: opam init -a --comp=$OCAML_VERSION
|
||||
|
|
33
.github/workflows/build.yml
vendored
Normal file
33
.github/workflows/build.yml
vendored
Normal file
|
@ -0,0 +1,33 @@
|
|||
name: Albatross
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
name: Tests
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
ocaml-version: ["4.11.1", "4.10.1", "4.09.0", "4.08.1"]
|
||||
operating-system: [ubuntu-latest]
|
||||
|
||||
runs-on: ${{ matrix.operating-system }}
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Use OCaml ${{ matrix.ocaml-version }}
|
||||
uses: avsm/setup-ocaml@v1
|
||||
with:
|
||||
ocaml-version: ${{ matrix.ocaml-version }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
opam pin add -n albatross .
|
||||
opam depext -y albatross
|
||||
opam install -t --deps-only .
|
||||
|
||||
- name: Build
|
||||
run: opam exec -- dune build
|
18
.travis.yml
18
.travis.yml
|
@ -1,18 +0,0 @@
|
|||
language: c
|
||||
install: wget https://raw.githubusercontent.com/ocaml/ocaml-ci-scripts/master/.travis-docker.sh
|
||||
script: bash -ex .travis-docker.sh
|
||||
sudo: false
|
||||
services:
|
||||
- docker
|
||||
env:
|
||||
global:
|
||||
- PACKAGE="albatross"
|
||||
- DISTRO=ubuntu-lts
|
||||
- TESTS=false
|
||||
matrix:
|
||||
- OCAML_VERSION=4.08
|
||||
- OCAML_VERSION=4.09
|
||||
- OCAML_VERSION=4.10
|
||||
- OCAML_VERSION=4.11
|
||||
notifications:
|
||||
email: false
|
|
@ -1,7 +1,5 @@
|
|||
# Albatross: orchestrate and manage MirageOS unikernels with Solo5
|
||||
|
||||
[![Build Status](https://travis-ci.org/hannesm/albatross.svg?branch=master)](https://travis-ci.org/hannesm/albatross)
|
||||
|
||||
The goal of albatross is robust deployment of [MirageOS](https://mirage.io)
|
||||
unikernels using [Solo5](https://github.com/solo5/solo5). Resources managed
|
||||
by albatross are network interfaces of kind `tap`, which are connected to
|
||||
|
@ -85,7 +83,7 @@ The following command-line applications for local and remote management are prov
|
|||
## Installation
|
||||
|
||||
To install Albatross, run `opam pin add albatross
|
||||
https://github.com/hannesm/albatross`.
|
||||
https://github.com/roburio/albatross`.
|
||||
|
||||
Init scripts for FreeBSD are provided in the `packaging/FreeBSD/rc.d`
|
||||
subdirectory, and a script to create a FreeBSD package
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
opam-version: "2.0"
|
||||
maintainer: "Hannes Mehnert <hannes@mehnert.org>"
|
||||
authors: ["Hannes Mehnert <hannes@mehnert.org>"]
|
||||
homepage: "https://github.com/hannesm/albatross"
|
||||
dev-repo: "git+https://github.com/hannesm/albatross.git"
|
||||
bug-reports: "https://github.com/hannesm/albatross/issues"
|
||||
homepage: "https://github.com/roburio/albatross"
|
||||
dev-repo: "git+https://github.com/roburio/albatross.git"
|
||||
bug-reports: "https://github.com/roburio/albatross/issues"
|
||||
license: "ISC"
|
||||
|
||||
depends: [
|
||||
|
@ -13,7 +13,6 @@ depends: [
|
|||
"conf-pkg-config" {build}
|
||||
"lwt" {>= "3.0.0"}
|
||||
"ipaddr" {>= "4.0.0"}
|
||||
"hex"
|
||||
"cstruct"
|
||||
"logs"
|
||||
"rresult"
|
||||
|
|
|
@ -2,7 +2,7 @@ name: albatross
|
|||
version: 1.0.%%GITVER%%_1
|
||||
origin: local/albatross
|
||||
comment: Albatross: orchestrate and manage MirageOS unikernels with Solo5
|
||||
www: https://github.com/hannesm/albatross
|
||||
www: https://github.com/roburio/albatross
|
||||
maintainer: Hannes Mehnert <hannes@mehnert.org>
|
||||
prefix: /usr/local
|
||||
licenselogic: single
|
||||
|
|
2
src/dune
2
src/dune
|
@ -2,5 +2,5 @@
|
|||
(name albatross)
|
||||
(public_name albatross)
|
||||
(wrapped false)
|
||||
(libraries rresult logs ipaddr bos hex ptime astring duration cstruct jsonm
|
||||
(libraries rresult logs ipaddr bos ptime astring duration cstruct jsonm
|
||||
decompress lwt lwt.unix ptime.clock.os asn1-combinators metrics))
|
||||
|
|
Loading…
Reference in a new issue