Refactor: update OPAM packages in CI

This commit is contained in:
Grégoire Henry 2018-01-29 01:26:41 +01:00
parent 70a4fbac3a
commit db57afa4d1
2 changed files with 43 additions and 43 deletions

View File

@ -46,8 +46,6 @@ prepare:opam:
build_deps: build_deps:
<<: *dind_definition <<: *dind_definition
stage: build_deps stage: build_deps
except:
- master@tezos/tezos
script: script:
## Building dependencies... ## Building dependencies...
- ./scripts/ci/create_docker_image.build_deps.sh - ./scripts/ci/create_docker_image.build_deps.sh
@ -304,57 +302,62 @@ opam:23:tezos-client-base:
variables: variables:
package: tezos-client-base package: tezos-client-base
opam:24:ocplib-resto-json: opam:24:tezos-client-alpha:
<<: *opam_definition <<: *opam_definition
variables: variables:
package: ocplib-resto-json package: tezos-client-alpha
opam:25:tezos-embedded-client-alpha: opam:25:tezos-client-environment:
<<: *opam_definition <<: *opam_definition
variables: variables:
package: tezos-embedded-client-alpha package: tezos-client-environment
opam:26:tezos-embedded-client-genesis: opam:26:tezos-protocol-genesis:
<<: *opam_definition
variables:
package: tezos-embedded-client-genesis
opam:27:ocplib-ezresto:
<<: *opam_definition
variables:
package: ocplib-ezresto
opam:28:tezos-client:
<<: *opam_definition
variables:
package: tezos-client
opam:29:tezos-node:
<<: *opam_definition
variables:
package: tezos-node
opam:30:ocplib-ezresto-directory:
<<: *opam_definition
variables:
package: ocplib-ezresto-directory
opam:31:tezos-test:
<<: *opam_definition
variables:
package: tezos-test
opam:32:tezos-protocol-genesis:
<<: *opam_definition <<: *opam_definition
variables: variables:
package: tezos-protocol-genesis package: tezos-protocol-genesis
opam:33:tezos-protocol-demo: opam:27:ocplib-resto-json:
<<: *opam_definition
variables:
package: ocplib-resto-json
opam:28:tezos-client-genesis:
<<: *opam_definition
variables:
package: tezos-client-genesis
opam:29:ocplib-ezresto:
<<: *opam_definition
variables:
package: ocplib-ezresto
opam:30:tezos-client:
<<: *opam_definition
variables:
package: tezos-client
opam:31:tezos-node:
<<: *opam_definition
variables:
package: tezos-node
opam:32:ocplib-ezresto-directory:
<<: *opam_definition
variables:
package: ocplib-ezresto-directory
opam:33:tezos-test:
<<: *opam_definition
variables:
package: tezos-test
opam:34:tezos-protocol-demo:
<<: *opam_definition <<: *opam_definition
variables: variables:
package: tezos-protocol-demo package: tezos-protocol-demo
opam:34:tezos-protocol-alpha: opam:35:tezos-protocol-alpha:
<<: *opam_definition <<: *opam_definition
variables: variables:
package: tezos-protocol-alpha package: tezos-protocol-alpha
@ -375,10 +378,6 @@ publish:docker:minimal:
- if [ "${CI_PROJECT_PATH}" = "tezos/tezos" ] ; then - if [ "${CI_PROJECT_PATH}" = "tezos/tezos" ] ; then
./scripts/apply_patch.sh "${CI_COMMIT_REF_NAME}" ; ./scripts/apply_patch.sh "${CI_COMMIT_REF_NAME}" ;
fi fi
- ./scripts/ci/create_docker_image.build_deps.sh
"${build_deps_image}" "${CI_COMMIT_SHA}"
"${opam_image}:alpine-${alpine_version}_ocaml-${ocaml_version}"
"yes"
- ./scripts/ci/create_docker_image.build.sh - ./scripts/ci/create_docker_image.build.sh
"tezos_build" "${CI_COMMIT_REF_NAME}" "tezos_build" "${CI_COMMIT_REF_NAME}"
"${build_deps_image}:${CI_COMMIT_SHA}" "${build_deps_image}:${CI_COMMIT_SHA}"

View File

@ -28,6 +28,7 @@ build-test:
test: test:
@jbuilder runtest ${DEV} @jbuilder runtest ${DEV}
@./scripts/check_opam_test.sh
test-indent: test-indent:
@jbuilder build @runtest_indent ${DEV} @jbuilder build @runtest_indent ${DEV}