2018-01-16 18:45:42 +04:00
|
|
|
|
2016-09-08 21:13:10 +04:00
|
|
|
variables:
|
2018-07-05 01:08:20 +04:00
|
|
|
## Please update `scripts/version.sh` accordingly
|
2018-07-06 19:12:05 +04:00
|
|
|
build_deps_image_version: 63f06ab145e22aef4cc55b5b9557756d4c868843
|
2018-07-05 01:08:20 +04:00
|
|
|
build_deps_image_name: registry.gitlab.com/tezos/opam-repository
|
|
|
|
public_docker_image_name: docker.io/${CI_PROJECT_PATH}
|
2016-09-08 21:13:10 +04:00
|
|
|
|
|
|
|
stages:
|
|
|
|
- build
|
|
|
|
- test
|
2018-07-05 14:08:55 +04:00
|
|
|
- packaging
|
2016-09-08 21:13:10 +04:00
|
|
|
- publish
|
2018-03-12 12:58:46 +04:00
|
|
|
|
2017-08-04 20:32:52 +04:00
|
|
|
|
2018-07-05 14:08:55 +04:00
|
|
|
############################################################
|
|
|
|
## Stage: build (only MR) ##
|
|
|
|
############################################################
|
2016-09-08 21:13:10 +04:00
|
|
|
|
2018-07-05 14:08:55 +04:00
|
|
|
.build_template: &build_definition
|
2018-07-05 01:08:20 +04:00
|
|
|
image: ${build_deps_image_name}:${build_deps_image_version}
|
2018-07-05 14:08:55 +04:00
|
|
|
stage: build
|
2018-07-05 01:08:20 +04:00
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- alphanet
|
|
|
|
- zeronet
|
|
|
|
- betanet
|
2018-01-28 23:03:31 +04:00
|
|
|
before_script:
|
2018-02-05 23:08:28 +04:00
|
|
|
- opam list
|
2018-07-05 01:08:20 +04:00
|
|
|
- . ./scripts/version.sh
|
2018-01-28 23:57:04 +04:00
|
|
|
tags:
|
|
|
|
- gitlab-org
|
2018-01-28 23:03:31 +04:00
|
|
|
|
2018-07-05 14:08:55 +04:00
|
|
|
check_opam_deps:
|
|
|
|
<<: *build_definition
|
2018-07-05 01:08:20 +04:00
|
|
|
script:
|
|
|
|
- if [ "${build_deps_image_version}" != "${opam_repository_tag}" ] ; then
|
|
|
|
echo "Inconsistent dependencies hash between 'scripts/version.sh' and '.gitlab-ci.yml'." ;
|
|
|
|
exit 1 ;
|
|
|
|
fi
|
|
|
|
- ./scripts/opam-check.sh
|
2018-07-05 14:08:55 +04:00
|
|
|
- ./scripts/check_opam_test.sh
|
|
|
|
|
|
|
|
check_indentation:
|
|
|
|
<<: *build_definition
|
|
|
|
script:
|
|
|
|
- jbuilder build @runtest_indent
|
2018-01-28 23:03:31 +04:00
|
|
|
|
|
|
|
build:
|
2018-07-05 14:08:55 +04:00
|
|
|
<<: *build_definition
|
2018-01-28 23:03:31 +04:00
|
|
|
script:
|
|
|
|
- make all
|
|
|
|
- make build-test
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- _build
|
|
|
|
expire_in: 1 day
|
2017-08-04 20:32:52 +04:00
|
|
|
|
2018-07-05 14:08:55 +04:00
|
|
|
|
|
|
|
|
|
|
|
############################################################
|
|
|
|
## Stage: test (only MR) ##
|
|
|
|
############################################################
|
2017-08-04 20:32:52 +04:00
|
|
|
|
|
|
|
.test_template: &test_definition
|
2018-07-05 14:08:55 +04:00
|
|
|
<<: *build_definition
|
2017-08-04 20:32:52 +04:00
|
|
|
stage: test
|
|
|
|
dependencies:
|
|
|
|
- build
|
2016-09-08 21:13:10 +04:00
|
|
|
|
2018-02-02 21:16:50 +04:00
|
|
|
test:stdlib:
|
2017-08-04 20:32:52 +04:00
|
|
|
<<: *test_definition
|
2016-09-08 21:13:10 +04:00
|
|
|
script:
|
2018-02-02 21:16:50 +04:00
|
|
|
- jbuilder build @src/lib_stdlib/runtest
|
|
|
|
|
2018-02-08 13:51:02 +04:00
|
|
|
test:stdlib_unix:
|
2018-02-02 21:16:50 +04:00
|
|
|
<<: *test_definition
|
|
|
|
script:
|
2018-02-08 13:51:02 +04:00
|
|
|
- jbuilder build @src/lib_stdlib_unix/runtest
|
2018-02-02 21:16:50 +04:00
|
|
|
|
|
|
|
test:data_encoding:
|
|
|
|
<<: *test_definition
|
|
|
|
script:
|
|
|
|
- jbuilder build @src/lib_data_encoding/runtest
|
|
|
|
|
|
|
|
test:storage:
|
|
|
|
<<: *test_definition
|
|
|
|
script:
|
|
|
|
- jbuilder build @src/lib_storage/runtest
|
|
|
|
|
|
|
|
test:crypto:
|
|
|
|
<<: *test_definition
|
|
|
|
script:
|
|
|
|
- jbuilder build @src/lib_crypto/runtest
|
2016-09-08 21:13:10 +04:00
|
|
|
|
2017-10-27 22:45:31 +04:00
|
|
|
test:shell:
|
2017-08-04 20:32:52 +04:00
|
|
|
<<: *test_definition
|
2016-09-08 21:13:10 +04:00
|
|
|
script:
|
2018-02-02 21:16:50 +04:00
|
|
|
- jbuilder build @src/lib_shell/runtest
|
2017-03-31 03:17:25 +04:00
|
|
|
|
2017-04-05 20:24:26 +04:00
|
|
|
test:p2p:io-scheduler:
|
2017-08-04 20:32:52 +04:00
|
|
|
<<: *test_definition
|
2017-03-31 03:17:25 +04:00
|
|
|
script:
|
2018-07-06 19:20:02 +04:00
|
|
|
- jbuilder build @src/lib_p2p/runtest_p2p_io_scheduler_ipv4
|
2016-10-19 17:09:00 +04:00
|
|
|
|
2018-01-24 15:48:25 +04:00
|
|
|
test:p2p:socket:
|
2017-08-04 20:32:52 +04:00
|
|
|
<<: *test_definition
|
2017-01-14 16:14:22 +04:00
|
|
|
script:
|
2018-07-06 19:20:02 +04:00
|
|
|
- jbuilder build @src/lib_p2p/runtest_p2p_socket_ipv4
|
2017-01-14 16:14:22 +04:00
|
|
|
|
2018-01-24 15:48:25 +04:00
|
|
|
test:p2p:pool:
|
2017-08-04 20:32:52 +04:00
|
|
|
<<: *test_definition
|
2017-01-14 16:14:22 +04:00
|
|
|
script:
|
2018-07-06 19:20:02 +04:00
|
|
|
- jbuilder build @src/lib_p2p/runtest_p2p_pool_ipv4
|
2017-01-14 16:14:22 +04:00
|
|
|
|
2018-02-02 21:16:50 +04:00
|
|
|
test:proto_alpha:
|
2018-02-01 02:30:50 +04:00
|
|
|
<<: *test_definition
|
|
|
|
script:
|
2018-02-05 22:23:18 +04:00
|
|
|
- jbuilder build @src/proto_alpha/lib_protocol/runtest
|
2018-02-01 02:30:50 +04:00
|
|
|
|
2018-02-22 18:35:50 +04:00
|
|
|
test:p2p:peerset:
|
|
|
|
<<: *test_definition
|
|
|
|
script:
|
|
|
|
- jbuilder build @src/lib_p2p/runtest_p2p_peerset
|
|
|
|
|
|
|
|
test:p2p:ipv6set:
|
|
|
|
<<: *test_definition
|
|
|
|
script:
|
|
|
|
- jbuilder build @src/lib_p2p/runtest_p2p_ipv6set
|
|
|
|
|
|
|
|
test:p2p:banned_peers:
|
|
|
|
<<: *test_definition
|
|
|
|
script:
|
|
|
|
- jbuilder build @src/lib_p2p/runtest_p2p_banned_peers
|
|
|
|
|
2018-02-02 21:16:50 +04:00
|
|
|
test:client_alpha:vote:
|
2017-08-04 20:32:52 +04:00
|
|
|
<<: *test_definition
|
2017-04-12 20:53:23 +04:00
|
|
|
script:
|
2018-06-13 13:04:10 +04:00
|
|
|
- jbuilder build @src/proto_alpha/lib_delegate/runtest_vote
|
2017-04-12 20:53:23 +04:00
|
|
|
|
2017-04-05 20:24:26 +04:00
|
|
|
test:basic.sh:
|
2017-08-04 20:32:52 +04:00
|
|
|
<<: *test_definition
|
2017-01-14 16:14:22 +04:00
|
|
|
script:
|
2018-02-02 21:16:50 +04:00
|
|
|
- jbuilder build @src/bin_client/runtest_basic.sh
|
2017-03-05 05:15:14 +04:00
|
|
|
|
2017-07-24 21:06:40 +04:00
|
|
|
test:contracts.sh:
|
2017-08-04 20:32:52 +04:00
|
|
|
<<: *test_definition
|
2017-07-24 21:06:40 +04:00
|
|
|
script:
|
2018-02-02 21:16:50 +04:00
|
|
|
- jbuilder build @src/bin_client/runtest_contracts.sh
|
2017-07-24 21:06:40 +04:00
|
|
|
|
2017-08-09 18:09:41 +04:00
|
|
|
test:multinode.sh:
|
|
|
|
<<: *test_definition
|
|
|
|
script:
|
2018-02-02 21:16:50 +04:00
|
|
|
- jbuilder build @src/bin_client/runtest_multinode.sh
|
2017-08-09 18:09:41 +04:00
|
|
|
|
2018-02-13 20:01:33 +04:00
|
|
|
test:inject.sh:
|
|
|
|
<<: *test_definition
|
|
|
|
script:
|
|
|
|
- jbuilder build @src/bin_client/runtest_injection.sh
|
|
|
|
|
2017-11-27 09:13:12 +04:00
|
|
|
test:proto:sandbox:
|
2017-10-27 22:45:31 +04:00
|
|
|
<<: *test_definition
|
|
|
|
script:
|
2017-11-27 09:13:12 +04:00
|
|
|
- jbuilder build @runtest_sandbox
|
2017-10-27 22:45:31 +04:00
|
|
|
|
2018-07-05 01:08:20 +04:00
|
|
|
test:documentation:
|
|
|
|
<<: *test_definition
|
|
|
|
script:
|
|
|
|
- sudo apk add --no-cache py3-sphinx py3-sphinx_rtd_theme
|
|
|
|
- sudo ln -s /usr/bin/sphinx-build-3 /usr/bin/sphinx-build
|
|
|
|
- make doc-html
|
|
|
|
|
2018-07-05 14:08:55 +04:00
|
|
|
|
|
|
|
|
|
|
|
############################################################
|
|
|
|
## Stage: building opam packages (only master and *opam*) ##
|
|
|
|
############################################################
|
2017-12-06 22:52:02 +04:00
|
|
|
|
|
|
|
.opam_template: &opam_definition
|
2018-07-05 01:08:20 +04:00
|
|
|
image: ${build_deps_image_name}:opam--${build_deps_image_version}
|
2018-07-05 14:08:55 +04:00
|
|
|
stage: packaging
|
2018-01-28 23:03:31 +04:00
|
|
|
dependencies: []
|
2017-12-06 22:52:02 +04:00
|
|
|
only:
|
2018-03-07 10:28:00 +04:00
|
|
|
- master
|
2018-01-28 23:03:31 +04:00
|
|
|
- /^.*opam.*$/
|
2017-12-06 22:52:02 +04:00
|
|
|
script:
|
|
|
|
- ./scripts/opam-pin.sh
|
|
|
|
- opam depext --yes ${package}
|
2018-02-05 23:08:28 +04:00
|
|
|
- opam install --yes ${package}
|
|
|
|
- opam reinstall --yes --with-test ${package}
|
2018-01-28 23:57:04 +04:00
|
|
|
tags:
|
|
|
|
- gitlab-org
|
2017-12-06 22:52:02 +04:00
|
|
|
|
2018-01-23 16:51:36 +04:00
|
|
|
##BEGIN_OPAM##
|
2018-04-23 17:31:20 +04:00
|
|
|
opam:00:ocplib-json-typed:
|
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
|
|
|
package: ocplib-json-typed
|
|
|
|
|
2018-05-04 21:46:32 +04:00
|
|
|
opam:01:ocplib-json-typed-bson:
|
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
|
|
|
package: ocplib-json-typed-bson
|
|
|
|
|
|
|
|
opam:02:tezos-stdlib:
|
2017-12-06 22:52:02 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
2018-01-23 16:51:36 +04:00
|
|
|
package: tezos-stdlib
|
2017-12-06 22:52:02 +04:00
|
|
|
|
2018-05-04 21:46:32 +04:00
|
|
|
opam:03:tezos-data-encoding:
|
2017-12-06 22:52:02 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
2018-02-08 13:51:02 +04:00
|
|
|
package: tezos-data-encoding
|
2017-12-06 22:52:02 +04:00
|
|
|
|
2018-05-04 21:46:32 +04:00
|
|
|
opam:04:ocplib-resto:
|
2017-12-06 22:52:02 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
2018-02-08 13:51:02 +04:00
|
|
|
package: ocplib-resto
|
2017-12-06 22:52:02 +04:00
|
|
|
|
2018-05-04 21:46:32 +04:00
|
|
|
opam:05:tezos-error-monad:
|
2018-04-19 16:29:27 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
|
|
|
package: tezos-error-monad
|
|
|
|
|
2018-05-04 21:46:32 +04:00
|
|
|
opam:06:ocplib-resto-directory:
|
2018-04-19 16:29:27 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
|
|
|
package: ocplib-resto-directory
|
|
|
|
|
2018-05-04 21:46:32 +04:00
|
|
|
opam:07:blake2:
|
2017-12-06 22:52:02 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
2018-02-08 13:51:02 +04:00
|
|
|
package: blake2
|
2017-12-06 22:52:02 +04:00
|
|
|
|
2018-05-06 16:59:41 +04:00
|
|
|
opam:08:hacl:
|
2018-05-04 21:46:32 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
2018-05-06 16:59:41 +04:00
|
|
|
package: hacl
|
2018-05-04 21:46:32 +04:00
|
|
|
|
2018-05-06 16:59:41 +04:00
|
|
|
opam:09:secp256k1:
|
2018-02-04 21:39:34 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
2018-05-06 16:59:41 +04:00
|
|
|
package: secp256k1
|
2018-02-04 21:39:34 +04:00
|
|
|
|
2018-05-06 16:59:41 +04:00
|
|
|
opam:10:tezos-clic:
|
2017-12-06 22:52:02 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
2018-05-06 16:59:41 +04:00
|
|
|
package: tezos-clic
|
2017-12-06 22:52:02 +04:00
|
|
|
|
2018-05-06 16:59:41 +04:00
|
|
|
opam:11:tezos-rpc:
|
2017-12-06 22:52:02 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
2018-05-06 16:59:41 +04:00
|
|
|
package: tezos-rpc
|
2017-12-06 22:52:02 +04:00
|
|
|
|
2018-06-05 21:27:58 +04:00
|
|
|
opam:12:uecc:
|
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
|
|
|
package: uecc
|
|
|
|
|
|
|
|
opam:13:tezos-crypto:
|
2018-02-04 21:39:34 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
2018-04-19 16:29:27 +04:00
|
|
|
package: tezos-crypto
|
2018-02-04 21:39:34 +04:00
|
|
|
|
2018-06-05 21:27:58 +04:00
|
|
|
opam:14:tezos-micheline:
|
2017-12-06 22:52:02 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
2018-04-19 16:29:27 +04:00
|
|
|
package: tezos-micheline
|
2017-12-06 22:52:02 +04:00
|
|
|
|
2018-06-05 21:27:58 +04:00
|
|
|
opam:15:lmdb:
|
2018-05-24 15:32:00 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
|
|
|
package: lmdb
|
|
|
|
|
2018-06-05 21:27:58 +04:00
|
|
|
opam:16:pbkdf:
|
2017-12-06 22:52:02 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
2018-05-24 15:32:15 +04:00
|
|
|
package: pbkdf
|
2017-12-06 22:52:02 +04:00
|
|
|
|
2018-06-05 21:27:58 +04:00
|
|
|
opam:17:ocplib-resto-cohttp:
|
2018-02-16 17:33:10 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
2018-05-24 15:32:15 +04:00
|
|
|
package: ocplib-resto-cohttp
|
2018-02-16 17:33:10 +04:00
|
|
|
|
2018-06-05 21:27:58 +04:00
|
|
|
opam:18:tezos-base:
|
2017-12-06 22:52:02 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
2018-05-24 15:32:15 +04:00
|
|
|
package: tezos-base
|
2017-12-06 22:52:02 +04:00
|
|
|
|
2018-06-05 21:27:58 +04:00
|
|
|
opam:19:irmin-lmdb:
|
2018-02-02 19:26:02 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
2018-05-24 15:32:00 +04:00
|
|
|
package: irmin-lmdb
|
2018-02-02 19:26:02 +04:00
|
|
|
|
2018-06-05 21:27:58 +04:00
|
|
|
opam:20:bip39:
|
2018-04-03 13:39:09 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
2018-05-24 15:32:15 +04:00
|
|
|
package: bip39
|
2018-04-03 13:39:09 +04:00
|
|
|
|
2018-06-05 21:27:58 +04:00
|
|
|
opam:21:tezos-rpc-http:
|
2017-12-06 22:52:02 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
2018-05-24 15:32:15 +04:00
|
|
|
package: tezos-rpc-http
|
2017-12-06 22:52:02 +04:00
|
|
|
|
2018-06-05 21:27:58 +04:00
|
|
|
opam:22:tezos-shell-services:
|
2018-02-08 22:00:01 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
2018-05-24 15:32:15 +04:00
|
|
|
package: tezos-shell-services
|
2018-02-08 22:00:01 +04:00
|
|
|
|
2018-06-05 21:27:58 +04:00
|
|
|
opam:23:tezos-stdlib-unix:
|
2017-12-06 22:52:02 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
2018-05-24 15:32:15 +04:00
|
|
|
package: tezos-stdlib-unix
|
2017-12-06 22:52:02 +04:00
|
|
|
|
2018-06-05 21:27:58 +04:00
|
|
|
opam:24:tezos-storage:
|
2017-12-06 22:52:02 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
2018-05-24 15:32:15 +04:00
|
|
|
package: tezos-storage
|
2017-12-06 22:52:02 +04:00
|
|
|
|
2018-06-05 21:27:58 +04:00
|
|
|
opam:25:tezos-protocol-environment-sigs:
|
2017-12-06 22:52:02 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
2018-05-24 15:32:15 +04:00
|
|
|
package: tezos-protocol-environment-sigs
|
2017-12-06 22:52:02 +04:00
|
|
|
|
2018-06-05 21:27:58 +04:00
|
|
|
opam:26:tezos-client-base:
|
2018-05-24 15:32:15 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
|
|
|
package: tezos-client-base
|
|
|
|
|
2018-06-05 21:27:58 +04:00
|
|
|
opam:27:tezos-protocol-compiler:
|
2017-12-06 22:52:02 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
2018-02-02 19:26:02 +04:00
|
|
|
package: tezos-protocol-compiler
|
2017-12-06 22:52:02 +04:00
|
|
|
|
2018-06-05 21:27:58 +04:00
|
|
|
opam:28:tezos-signer-services:
|
2017-12-06 22:52:02 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
2018-05-24 15:32:15 +04:00
|
|
|
package: tezos-signer-services
|
2017-12-06 22:52:02 +04:00
|
|
|
|
2018-06-05 21:27:58 +04:00
|
|
|
opam:29:tezos-protocol-alpha:
|
2017-12-06 22:52:02 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
2018-02-02 19:26:02 +04:00
|
|
|
package: tezos-protocol-alpha
|
2017-12-06 22:52:02 +04:00
|
|
|
|
2018-06-05 21:27:58 +04:00
|
|
|
opam:30:tezos-protocol-environment:
|
2017-12-06 22:52:02 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
2018-02-17 17:39:45 +04:00
|
|
|
package: tezos-protocol-environment
|
2017-12-06 22:52:02 +04:00
|
|
|
|
2018-06-05 21:27:58 +04:00
|
|
|
opam:31:tezos-signer-backends:
|
2018-05-24 15:32:15 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
|
|
|
package: tezos-signer-backends
|
|
|
|
|
2018-06-05 21:27:58 +04:00
|
|
|
opam:32:tezos-client-alpha:
|
2018-02-08 22:00:01 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
|
|
|
package: tezos-client-alpha
|
|
|
|
|
2018-06-05 21:27:58 +04:00
|
|
|
opam:33:tezos-client-commands:
|
2018-02-08 22:00:01 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
|
|
|
package: tezos-client-commands
|
|
|
|
|
2018-06-05 21:27:58 +04:00
|
|
|
opam:34:tezos-protocol-environment-shell:
|
2018-04-03 13:39:09 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
|
|
|
package: tezos-protocol-environment-shell
|
|
|
|
|
2018-06-05 21:27:58 +04:00
|
|
|
opam:35:tezos-baking-alpha:
|
2018-02-08 22:00:01 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
|
|
|
package: tezos-baking-alpha
|
|
|
|
|
2018-06-05 21:27:58 +04:00
|
|
|
opam:36:tezos-protocol-genesis:
|
2017-12-06 22:52:02 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
2018-02-04 21:39:34 +04:00
|
|
|
package: tezos-protocol-genesis
|
2017-12-06 22:52:02 +04:00
|
|
|
|
2018-06-05 21:27:58 +04:00
|
|
|
opam:37:ocplib-resto-json:
|
2017-12-06 22:52:02 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
2018-04-03 13:39:09 +04:00
|
|
|
package: ocplib-resto-json
|
2017-12-06 22:52:02 +04:00
|
|
|
|
2018-06-05 21:27:58 +04:00
|
|
|
opam:38:tezos-protocol-updater:
|
2017-12-06 22:52:02 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
2018-04-03 13:39:09 +04:00
|
|
|
package: tezos-protocol-updater
|
2017-12-06 22:52:02 +04:00
|
|
|
|
2018-06-05 21:27:58 +04:00
|
|
|
opam:39:tezos-p2p:
|
2017-12-06 22:52:02 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
2018-04-03 13:39:09 +04:00
|
|
|
package: tezos-p2p
|
2017-12-06 22:52:02 +04:00
|
|
|
|
2018-06-05 21:27:58 +04:00
|
|
|
opam:40:tezos-baking-alpha-commands:
|
2018-01-23 16:51:36 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
2018-02-08 22:00:01 +04:00
|
|
|
package: tezos-baking-alpha-commands
|
2018-02-15 20:07:08 +04:00
|
|
|
|
2018-06-05 21:27:58 +04:00
|
|
|
opam:41:tezos-client-alpha-commands:
|
2018-02-15 20:07:08 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
2018-02-08 22:00:01 +04:00
|
|
|
package: tezos-client-alpha-commands
|
2018-01-29 04:26:41 +04:00
|
|
|
|
2018-06-05 21:27:58 +04:00
|
|
|
opam:42:tezos-client-base-unix:
|
2018-02-08 22:00:01 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
|
|
|
package: tezos-client-base-unix
|
|
|
|
|
2018-06-05 21:27:58 +04:00
|
|
|
opam:43:tezos-client-genesis:
|
2018-01-29 04:26:41 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
2018-02-02 19:26:02 +04:00
|
|
|
package: tezos-client-genesis
|
2018-01-23 16:51:36 +04:00
|
|
|
|
2018-06-05 21:27:58 +04:00
|
|
|
opam:44:ocplib-ezresto:
|
2018-04-03 13:39:09 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
|
|
|
package: ocplib-ezresto
|
|
|
|
|
2018-05-30 20:08:35 +04:00
|
|
|
opam:45:ledgerwallet:
|
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
|
|
|
package: ledgerwallet
|
|
|
|
|
|
|
|
opam:46:tezos-embedded-protocol-alpha:
|
2017-12-06 22:52:02 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
2018-02-02 19:26:02 +04:00
|
|
|
package: tezos-embedded-protocol-alpha
|
2017-12-06 22:52:02 +04:00
|
|
|
|
2018-05-30 20:08:35 +04:00
|
|
|
opam:47:tezos-embedded-protocol-demo:
|
2017-12-06 22:52:02 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
2018-02-02 19:26:02 +04:00
|
|
|
package: tezos-embedded-protocol-demo
|
2017-12-06 22:52:02 +04:00
|
|
|
|
2018-05-30 20:08:35 +04:00
|
|
|
opam:48:tezos-embedded-protocol-genesis:
|
2018-01-29 04:26:41 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
2018-02-02 19:26:02 +04:00
|
|
|
package: tezos-embedded-protocol-genesis
|
2018-01-29 04:26:41 +04:00
|
|
|
|
2018-05-30 20:08:35 +04:00
|
|
|
opam:49:tezos-shell:
|
2018-02-04 21:39:34 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
|
|
|
package: tezos-shell
|
|
|
|
|
2018-06-13 13:05:20 +04:00
|
|
|
opam:50:tezos-endorser-alpha-commands:
|
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
|
|
|
package: tezos-endorser-alpha-commands
|
|
|
|
|
|
|
|
opam:51:tezos-client:
|
2017-12-06 22:52:02 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
|
|
|
package: tezos-client
|
|
|
|
|
2018-06-13 13:05:20 +04:00
|
|
|
opam:52:tezos-endorser-alpha:
|
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
|
|
|
package: tezos-endorser-alpha
|
|
|
|
|
|
|
|
opam:53:tezos-accuser-alpha-commands:
|
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
|
|
|
package: tezos-accuser-alpha-commands
|
|
|
|
|
|
|
|
opam:54:ocplib-ezresto-directory:
|
2017-12-06 22:52:02 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
2018-04-03 13:39:09 +04:00
|
|
|
package: ocplib-ezresto-directory
|
2017-12-06 22:52:02 +04:00
|
|
|
|
2018-06-13 13:05:20 +04:00
|
|
|
opam:55:tezos-accuser-alpha:
|
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
|
|
|
package: tezos-accuser-alpha
|
|
|
|
|
|
|
|
opam:56:tezos-baker-alpha:
|
2018-02-14 03:54:33 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
2018-02-15 20:07:08 +04:00
|
|
|
package: tezos-baker-alpha
|
2018-02-14 03:54:33 +04:00
|
|
|
|
2018-06-13 13:05:20 +04:00
|
|
|
opam:57:tezos-protocol-demo:
|
2018-02-14 19:24:08 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
2018-02-15 20:07:08 +04:00
|
|
|
package: tezos-protocol-demo
|
|
|
|
|
2018-06-13 13:05:20 +04:00
|
|
|
opam:58:tezos-signer:
|
2018-05-26 13:11:45 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
|
|
|
package: tezos-signer
|
|
|
|
|
2018-06-13 13:05:20 +04:00
|
|
|
opam:59:ledgerwallet-tezos:
|
2018-05-30 20:08:35 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
|
|
|
package: ledgerwallet-tezos
|
|
|
|
|
2018-06-13 13:05:20 +04:00
|
|
|
opam:60:tezos-node:
|
2018-02-17 17:39:45 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
2018-04-03 13:39:09 +04:00
|
|
|
package: tezos-node
|
2018-02-17 17:39:45 +04:00
|
|
|
|
2018-06-13 13:05:20 +04:00
|
|
|
opam:59:ocplib-json-typed-browser:
|
2018-04-23 17:31:20 +04:00
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
|
|
|
package: ocplib-json-typed-browser
|
|
|
|
|
2018-06-13 13:05:20 +04:00
|
|
|
opam:60:tezos-baker-alpha-commands:
|
|
|
|
<<: *opam_definition
|
|
|
|
variables:
|
|
|
|
package: tezos-baker-alpha-commands
|
2018-07-05 14:08:55 +04:00
|
|
|
##END_OPAM##
|
2018-06-13 13:05:20 +04:00
|
|
|
|
2018-01-23 16:51:36 +04:00
|
|
|
|
2017-12-06 22:52:02 +04:00
|
|
|
|
2018-07-05 14:08:55 +04:00
|
|
|
############################################################
|
|
|
|
## Stage: publish ##
|
|
|
|
############################################################
|
2017-01-14 16:14:22 +04:00
|
|
|
|
2018-07-05 14:08:55 +04:00
|
|
|
publish:docker:
|
|
|
|
image: docker:latest
|
|
|
|
services:
|
|
|
|
- docker:dind
|
|
|
|
variables:
|
|
|
|
DOCKER_DRIVER: overlay2
|
2017-01-22 04:59:18 +04:00
|
|
|
stage: publish
|
2017-03-05 05:15:14 +04:00
|
|
|
only:
|
2018-03-07 10:28:00 +04:00
|
|
|
- master
|
|
|
|
- alphanet
|
|
|
|
- zeronet
|
2018-06-30 19:15:03 +04:00
|
|
|
- betanet
|
2018-07-05 14:08:55 +04:00
|
|
|
before_script:
|
|
|
|
- mkdir ~/.docker || true
|
|
|
|
- echo "${CI_DOCKER_AUTH}" > ~/.docker/config.json
|
2017-03-09 17:43:59 +04:00
|
|
|
script:
|
2018-07-05 01:08:20 +04:00
|
|
|
- ./scripts/create_docker_image.sh
|
2018-01-28 23:03:31 +04:00
|
|
|
"${public_docker_image}" "${CI_COMMIT_REF_NAME}"
|
|
|
|
- docker push "${public_docker_image}:${CI_COMMIT_REF_NAME}"
|
2018-07-05 14:08:55 +04:00
|
|
|
tags:
|
|
|
|
- safe_docker
|
2017-03-09 17:43:59 +04:00
|
|
|
|
2018-07-05 14:08:55 +04:00
|
|
|
publish:doc:
|
2018-07-05 01:08:20 +04:00
|
|
|
image: ${build_deps_image_name}:${build_deps_image_version}
|
2018-01-28 23:03:31 +04:00
|
|
|
stage: publish
|
|
|
|
only:
|
2018-07-05 14:08:55 +04:00
|
|
|
- master
|
|
|
|
- alphanet
|
|
|
|
- zeronet
|
|
|
|
- betanet
|
|
|
|
before_script:
|
|
|
|
- sudo apk add --no-cache py3-sphinx py3-sphinx_rtd_theme openssh-client rsync
|
2018-01-28 23:03:31 +04:00
|
|
|
- sudo ln -s /usr/bin/sphinx-build-3 /usr/bin/sphinx-build
|
2018-07-05 14:08:55 +04:00
|
|
|
- echo "${CI_PK_GITLAB_DOC}" > ~/.ssh/id_ed25519
|
|
|
|
- echo "${CI_KH}" > ~/.ssh/known_hosts
|
|
|
|
- chmod 400 ~/.ssh/id_ed25519
|
|
|
|
script:
|
|
|
|
- make doc-html
|
|
|
|
- git clone git@gitlab.com:${CI_PROJECT_NAMESPACE}/${CI_PROJECT_NAMESPACE}.gitlab.io gitlab.io
|
|
|
|
- rsync --recursive --links --perms --delete --verbose
|
|
|
|
--exclude=.doctrees
|
|
|
|
docs/_build/ gitlab.io/public/"${CI_COMMIT_REF_NAME}"
|
|
|
|
- cd gitlab.io
|
|
|
|
- if [ -z "$(git status -s)" ] ; then
|
|
|
|
echo "Nothing to commit!" ;
|
|
|
|
else
|
|
|
|
git add public/"${CI_COMMIT_REF_NAME}" ;
|
|
|
|
git commit -m "Import doc for ${CI_COMMIT_REF_NAME} (${CI_COMMIT_SHA})" ;
|
|
|
|
git push origin master ;
|
|
|
|
fi
|
2018-01-28 23:57:04 +04:00
|
|
|
tags:
|
|
|
|
- gitlab-org
|