From c1d67fe46f55476fd695a11b8048e303e1bf6b96 Mon Sep 17 00:00:00 2001 From: Ralf Jung <jung@mpi-sws.org> Date: Mon, 18 Dec 2017 20:56:58 +0100 Subject: [PATCH] publish packages on opam --- .gitlab-ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a97362bf..034bce5d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,6 +2,7 @@ image: ralfjung/opam-ci:latest stages: - build + - deploy variables: CPU_CORES: "9" @@ -26,6 +27,18 @@ variables: - master - /^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 + variables: + OPAM_PKG: "coq-lambda-rust" + only: + - master + except: + - triggers + build-coq.8.7.1: <<: *template variables: -- GitLab