From 6e7ca5ddaffff8a7b463cd9723f2abd4317f8488 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Henry?= Date: Sun, 28 Jan 2018 20:57:04 +0100 Subject: [PATCH] CI: use the 'safe_docker' tag to build docker images Otherwise, the resulting binary may throws SIGILL. --- .gitlab-ci.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a035e972b..c7ccb660a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -27,7 +27,7 @@ stages: - apk add --no-cache curl jq - . ./scripts/version.sh tags: - - docker + - safe_docker prepare:opam: <<: *dind_definition @@ -59,6 +59,8 @@ build_deps: - if [ "${CI_PROJECT_PATH}" = "tezos/tezos" ] ; then ./scripts/apply_patch.sh "${CI_COMMIT_REF_NAME}" ; fi + tags: + - gitlab-org ## Tezos @@ -169,6 +171,8 @@ test:proto:sandbox: - opam depext --yes ${package} - opam install --yes --deps-only ${package} - opam install --yes --with-test ${package} + tags: + - gitlab-org opam:01:ocplib-resto: <<: *opam_definition @@ -387,6 +391,8 @@ publish:github: ./scripts/apply_patch.sh "${CI_COMMIT_REF_NAME}" ; fi - git push git@github.com:tezos/tezos.git -f HEAD:${CI_COMMIT_REF_NAME} + tags: + - gitlab-org ## Publish docs to gitlab... @@ -405,6 +411,8 @@ publish:pages: - sudo ln -s /usr/bin/sphinx-build-3 /usr/bin/sphinx-build - opam install odoc - make doc-html && sudo mv docs/_build "${CI_PROJECT_DIR}"/public + tags: + - gitlab-org ## Relaunching the bootstrap servers of the alphanet.zeronet @@ -425,6 +433,8 @@ publish:pages: - echo "${CI_SSH_CONFIG}" | tr -d "\r" > ~/.ssh/config - chmod 600 ~/.ssh/id_ed25519 allow_failure: true + tags: + - gitlab-org deploy:bootstrap1: <<: *bootstrap_definition