Commit Graph

132 Commits

Author SHA1 Message Date
Vincent Bernardoff
c125664c95 HaCl: CI fixup 2018-05-17 10:20:22 +02:00
Grégoire Henry
5672508b00 CI: conditional update of the opam base image 2018-05-09 12:23:30 +02:00
Benjamin Canou
cd731df938 Add missing opam dependency 2018-05-05 01:29:06 +02:00
Vincent Bernardoff
96d9f317c1 Ocplib_json_typed: adapt code for inclusion in vendors 2018-05-04 18:48:00 +02:00
Pietro
02838a4cbc p2p,node,client: Add Greylists
- add admin commands to ban and unban ips and peers
- add greylist_timeout option to configuration file (node)
- Add greylist modules + RPC
2018-05-03 16:03:01 +02:00
Vincent Bernardoff
3a0cdfd90a Crypto: Secp256k1 -> Libsecp256k1 2018-04-26 21:24:21 +02:00
Vincent Bernardoff
9adee55234 Import: ocaml-secp256k1 in vendors 2018-04-16 17:21:10 +02:00
Grégoire Henry
08a3cff5a6 Base: rename Cli_entries into Clic 2018-04-03 15:21:38 +02:00
Mathias Bourgoin
fcdf36acd4 Shell/RPC: remove the fake block /blocks/prevalidation
Add a `/mempool/pending_operations`
2018-03-30 00:44:58 +02:00
Pietro
9ef69b4502 Client, test: Add two more protocol injection tests (from alpha) 2018-03-20 07:07:57 +01:00
Grégoire Henry
ee3f81b6e3 Zeronet: check constant patch application. 2018-03-12 10:34:21 +01:00
Grégoire Henry
8638a2bb98 CI: automatic image deployment for zeronet 2018-03-08 06:26:56 +01:00
Grégoire Henry
0b86503537 CI: allow to build custom docker image on alternate repo 2018-03-07 18:12:12 +01:00
Benjamin Canou
835a1d95bf CI: doc in branch name triggers make doc-html 2018-02-20 22:40:40 +00:00
Grégoire Henry
697b291782 Merge `tezos-protocol-environment-{sigs,client} 2018-02-18 17:11:16 +00:00
Vincent Bernardoff
77bb186611 Vendors: add ocaml-pbkdf 2018-02-16 18:30:32 +01:00
Vincent Bernardoff
54e96092b4 Client: add encrypted signature scheme 2018-02-16 18:12:29 +01:00
Benjamin Canou
e2be3360a9 Client: split client-alpha into lib and commands and extract the baker 2018-02-15 22:54:39 +01:00
Benjamin Canou
345bbc715d Client: move protocol injection commands to the admin client 2018-02-15 18:21:18 +01:00
Benjamin Canou
b3066d6a24 Client: remove Unix dependencies from client-base and client-alpha 2018-02-15 18:21:15 +01:00
Pietro
c67e6d4b04 Client/test: Add shell script to test protocol injection 2018-02-14 11:48:33 +01:00
Grégoire Henry
a70a0788d3 Test: quick and dirty port to alcotest 2018-02-12 02:09:00 +01:00
Grégoire Henry
1f0c10bc6f Client refactor: Rename stdlib-lwt into stdlib-unix 2018-02-08 17:23:30 +01:00
Vincent Bernardoff
e1d1292c09 Crypto: drop libsodium
We now use simpler OCaml bindings much easier to review.
2018-02-07 11:16:39 +01:00
Grégoire Henry
024738e0b6 CI: fix doc upload 2018-02-06 00:46:46 +01:00
Grégoire Henry
1cc7dd46fe CI/opam: two steps compilation 2018-02-05 23:34:05 +01:00
Grégoire Henry
7929027793 Proto/test: do not depend on shell
For the test suite we only use the in-memory context.
2018-02-05 23:34:05 +01:00
Grégoire Henry
dffa65f648 Test: add test dependencies into *.opam and fix .gitlab-ci.yml 2018-02-05 23:34:05 +01:00
Grégoire Henry
6205ca9b31 Test: move data_encoding tests 2018-02-05 23:34:04 +01:00
Benjamin Canou
e03f842ece CI: add isolate tests 2018-02-01 18:20:47 +01:00
Grégoire Henry
657e214e83 Refactor: rename tezos-client-environment into tezos-protocol-environment-client 2018-01-30 11:54:57 +01:00
Grégoire Henry
db57afa4d1 Refactor: update OPAM packages in CI 2018-01-30 10:14:50 +01:00
Grégoire Henry
e664179927 Refactor: CI: check opam packages 2018-01-30 10:13:40 +01:00
Grégoire Henry
7277c9889b Refactor: Move/split P2p_types into lib_base 2018-01-30 10:13:40 +01:00
Grégoire Henry
96e493006c Refactor: Rename lib_node_updater -> lib_protocol_updater 2018-01-30 10:13:40 +01:00
Grégoire Henry
e6cbf51745 CI: less jobs on master 2018-01-29 23:23:52 +01:00
Grégoire Henry
e3a7f334ca CI: fix publish:pages (again) 2018-01-29 23:22:56 +01:00
Grégoire Henry
b8beba2201 CI: fix rule publish:pages: 2018-01-29 22:54:20 +01:00
Grégoire Henry
260a717cc1 CI: Fix the publish rules 2018-01-29 22:11:18 +01:00
Grégoire Henry
6e7ca5ddaf CI: use the 'safe_docker' tag to build docker images
Otherwise, the resulting binary may throws SIGILL.
2018-01-28 22:10:57 +01:00
Grégoire Henry
55db2dbf18 CI: improve pipeline duration
- do not use a intermediate docker image between 'build' and 'test'
- in 'build_deps', avoid downloading the cached image
- in 'prepare', use `opam bundle` to:
  - embedded the sources of dependency
  - reduce the embedded opam repository to the needed package

Other changes:

- reintroduced 'sudo' in the base image, it is needed by `opam depext`
  and the job 'publish:doc'
- moved the docker script used by the CI in `scripts/ci/`
2018-01-28 20:03:31 +01:00
Pietro
99cdf5e5c2 gitlab CI refactoring
- Docker files and build scripts
    + add git, bash and patch to the docker base definition (Dockerfile.base)
    + build leveldb once and for all
      (scripts/create_docker_image.leveldb_deps.sh)
    + add --depth 1 to all git clone calls
    + remove sudo, openssh and rsync from base images
    + add --no-cache to all apk calls
    + merge dockerfiles in the sh scripts
2018-01-28 20:02:51 +01:00
Benjamin Canou
adf860ea40 Docs: new documentation structure using Sphinx/RST
- Provides a toplevel documentation structure using Sphinx
 - Adds a `doc-html` target to the main Makefile
 - Converts existing documentation to RST format
 - Add some new documentation / tutorials
 - Links the developer manual and OCaml documentation
 - Synchronized documentation on Gitlab pages

This patch is co-authored by:
 - Benjamin Canou <benjamin@canou.fr>
 - Bruno Bernardo <bernardobruno@gmail.com>
 - Pietro Abate <pietro.abate@inria.fr>
2018-01-23 08:02:17 +01:00
Benjamin Canou
0c06513866 Fix CI (wrong package name) 2017-12-12 14:39:53 +01:00
Grégoire Henry
3a2b8904e5 CI: allow separate compilation of each opam package 2017-12-08 02:50:03 +01:00
Grégoire Henry
3ee46c59be CI: add support for opam2-beta5 2017-12-08 02:50:03 +01:00
Grégoire Henry
d3f91f05a2 Fix CI for new repository structure 2017-12-04 19:27:30 +01:00
Grégoire Henry
3d19e3bd59
CI: preserve signature when synching to github 2017-11-14 16:24:39 +01:00
Pietro Abate
6ecfca9396 Reindent all files
Now `make test` fails when sources are not indented correctly, the
indentation test is also executed in the CI.
2017-11-13 23:13:34 +01:00
Milo Davis
0a7f9a39a9 Switch to Jbuilder
This is a rewrite of the build system with `jbuilder`, with just a
minimal toplevel Makefile for backward compatibility.

This first patch preserves the project architecture, we only gain
proper dependencies handling and always up-to-date `.merlin` files.
A latter patch may split the project in smaller "sub-package",
i.e. multiple `.opam` files.

The embedded versions of the economic protocol are now compiled with
`jbuilder` instead of `tezos-protocol-compiler`, potentially allowing
proper inlining at the cost of slightly-less-stricter
sandboxing. Nevertheless, dynamically loaded protocol are still
compiled with the `tezos-protocol-compiler` and thus strictly
sandboxed ; and a CI rule also checks the proper sandboxing of
embedded protocols.

This patch is coauthored with @hnrgrgr
2017-10-31 20:33:56 +00:00
Grégoire Henry
a69cb480b6 Use Gitlab shared runners for more parallelism.
Allow usage of Gitlab shared runners, except for all 'docker-in-docker'
rules (see issue #46).
2017-10-31 17:26:29 +01:00
Grégoire Henry
ed5742404a CI: allow tests involving a node to be retried once 2017-08-29 14:10:42 +02:00
Grégoire Henry
ebbb3a1ac0 CI: minor bugfix 2017-08-17 19:26:13 +02:00
Grégoire Henry
a31bb86a63 CI: minor tweaks 2017-08-17 13:12:22 +02:00
Grégoire Henry
67bbf11a12 CI: use our own docker image of opam 2017-08-16 10:52:36 +02:00
Milo Davis
299ebe3865 Testing: Tests multiple nodes 2017-08-11 13:01:46 +00:00
Grégoire Henry
af16d9d62c Add scripts/README.alphanet. 2017-08-10 16:08:58 +00:00
Grégoire Henry
58b53d79c5 CI: fix the 'deploy' rules of alphanet/zeronet 2017-08-09 21:55:59 +02:00
Grégoire Henry
eed9e7581d Update CI 2017-08-04 18:32:52 +02:00
Benjamin Canou
aa49d7bb31 CI: run the Michelson test suite 2017-07-24 20:29:12 +02:00
Grégoire Henry
09d959be04 CI: reboot alphanet-next 2017-07-19 15:39:59 +02:00
Grégoire Henry
72e200bfd3 Docker: export "safe" RPCs from the container. 2017-04-17 20:42:43 +02:00
Grégoire Henry
c316dc00a8 Minor improvement in the docker image. 2017-04-14 20:54:43 +02:00
Guillem Rieu
76b9cedcef Tests: add test for switching unanimously to 'demo' protocol 2017-04-14 20:54:43 +02:00
Cagdas Bozman
54027a701b Proto/Alpha: some unit tests for 'endorsement' 2017-04-10 18:31:37 +02:00
Guillem Rieu
08fc0b5f76 Proto/Alpha: some unit tests for 'origination' 2017-04-10 18:31:37 +02:00
Vincent Bernardoff
bb95acfb48 Proto/Alpha: some unit tests for 'transactions' 2017-04-10 18:31:37 +02:00
Grégoire Henry
a6c7f355cc Test: simplify Makefile 2017-04-10 18:31:37 +02:00
Grégoire Henry
a6307c40cf Shell: add unit tests for Merkle tree 2017-03-31 01:19:33 +02:00
Grégoire Henry
176c469a5c CI: fix public image 2017-03-14 11:19:33 +01:00
Grégoire Henry
c396cd4dec CI: minor fix. 2017-03-07 13:28:23 +01:00
Grégoire Henry
585f24b222 Update CI 2017-03-07 11:56:17 +01:00
Grégoire Henry
dc7c692f87 CI: typo... 2017-01-26 14:04:46 +01:00
Grégoire Henry
07641eb594 CI: Push master images to the Docker hub. 2017-01-26 13:47:34 +01:00
Grégoire Henry
1989ebf1b8 CI: fix github URL 2017-01-23 11:46:56 +01:00
Grégoire Henry
d87a6cd556 Docker: integration in CI
And minor fix:

- introduce configuration file for OCaml and alpine versions
- add missing `libssl1.0` in docker image
- remove the split call to `install_build_deps` (not required anymore)
- rename scripts
2017-01-23 11:28:04 +01:00
Grégoire Henry
eee67406a5 CI: some unit tests for the p2p layer 2017-01-19 10:26:45 +01:00
Grégoire Henry
7689021810 CI: less build artifacts 2017-01-02 14:49:56 +01:00
Grégoire Henry
c9fdaf13ec CI: push master-expurged to tezos/tezos. 2016-11-25 23:38:22 +01:00
Çağdaş Bozman
7b9e374058 CI: add rule for a new test 2016-10-20 16:21:36 +02:00
Grégoire Henry
9d77e562f3 Update .gitlab-ci.yml 2016-09-21 15:43:04 +02:00
Tezos
f42e9d12ac First public release 2016-09-08 19:29:33 -07:00