From 13df1cae286fcdc66778687f682656b11a2abc18 Mon Sep 17 00:00:00 2001 From: Ralf Jung <jung@mpi-sws.org> Date: Sat, 28 Oct 2017 18:33:15 +0200 Subject: [PATCH] set up CI and automatic opam publication for gen_proofmode. do NOT merge into master! --- .gitlab-ci.yml | 26 ++++---------------------- 1 file changed, 4 insertions(+), 22 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c88ed57c6..63137a3da 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,43 +25,25 @@ variables: paths: - opamroot/ only: - - master + - gen_proofmode - /^ci/ opam: stage: deploy script: # Send a trigger to the repository doing the work - - curl --fail -X POST -F "token=$OPAM_UPDATE_SECRET" -F "ref=master" -F "variables[REPO]=$CI_PROJECT_URL.git" -F "variables[REF]=$CI_COMMIT_REF_NAME" -F "variables[SHA]=$CI_COMMIT_SHA" -F "variables[NAME]=$OPAM_PKG" https://gitlab.mpi-sws.org/api/v4/projects/581/trigger/pipeline + - curl --fail -X POST -F "token=$OPAM_UPDATE_SECRET" -F "ref=master" -F "variables[REPO]=$CI_PROJECT_URL.git" -F "variables[REF]=$CI_COMMIT_REF_NAME" -F "variables[SHA]=$CI_COMMIT_SHA" -F "variables[NAME]=$OPAM_PKG" -F "variables[OPAM_PREFIX]=branch.gen_proofmode" https://gitlab.mpi-sws.org/api/v4/projects/581/trigger/pipeline variables: OPAM_PKG: "coq-iris" only: - - master + - gen_proofmode except: - triggers -reverse-deps: - stage: deploy - script: - # Send a trigger to reverse dependencies to have them tested - - curl --fail -X POST -F "token=$IRIS_EXAMPLES_SECRET" -F "ref=master" -F "variables[IRIS_REV]=$CI_COMMIT_SHA" https://gitlab.mpi-sws.org/api/v4/projects/615/trigger/pipeline - only: - - master - except: - - triggers - -build-coq.8.7: +build-coq.8.7.dev: <<: *template variables: OPAM_PINS: "coq version 8.7.dev coq-mathcomp-ssreflect version dev" - except: - - triggers - -build-coq.8.6.1: - <<: *template - variables: - OPAM_PINS: "coq version 8.6.1 coq-mathcomp-ssreflect version 1.6.1" - VALIDATE: "1" artifacts: paths: - build-time.txt -- GitLab