CI: less jobs on master

This commit is contained in:
Grégoire Henry 2018-01-29 23:23:52 +01:00
parent e3a7f334ca
commit e6cbf51745

View File

@ -46,6 +46,8 @@ prepare:opam:
build_deps:
<<: *dind_definition
stage: build_deps
except:
- master@tezos/tezos
script:
## Building dependencies...
- ./scripts/ci/create_docker_image.build_deps.sh
@ -67,6 +69,8 @@ build_deps:
build:
<<: *build_deps_definition
stage: build
except:
- master@tezos/tezos
script:
- make all
- make build-test
@ -359,10 +363,13 @@ publish:docker:minimal:
- alphanet@tezos/tezos
- zeronet@tezos/tezos
script:
- docker pull "${build_deps_image}:${CI_COMMIT_SHA}"
- if [ "${CI_PROJECT_PATH}" = "tezos/tezos" ] ; then
./scripts/apply_patch.sh "${CI_COMMIT_REF_NAME}" ;
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
"tezos_build" "${CI_COMMIT_REF_NAME}"
"${build_deps_image}:${CI_COMMIT_SHA}"