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: 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
@ -67,6 +69,8 @@ build_deps:
build: build:
<<: *build_deps_definition <<: *build_deps_definition
stage: build stage: build
except:
- master@tezos/tezos
script: script:
- make all - make all
- make build-test - make build-test
@ -359,10 +363,13 @@ publish:docker:minimal:
- alphanet@tezos/tezos - alphanet@tezos/tezos
- zeronet@tezos/tezos - zeronet@tezos/tezos
script: script:
- docker pull "${build_deps_image}:${CI_COMMIT_SHA}"
- 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}"