From b522e50ce280c81fa9ef52f40128b494cca5a4e7 Mon Sep 17 00:00:00 2001 From: Alexander Bantyev Date: Thu, 21 May 2020 19:03:15 +0300 Subject: [PATCH] Fix webide deploy handoff --- .gitlab-ci.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index eee6f2105..b7260799f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,6 +7,7 @@ variables: stages: - build - push + - ide-deploy - versioning .docker-image: @@ -121,7 +122,6 @@ webide-docker: paths: - webide.tar.gz - webide-push: extends: .docker-image dependencies: @@ -138,6 +138,17 @@ webide-push: - docker tag ligo-editor "${WEBIDE_IMAGE_NAME}:${CI_COMMIT_SHORT_SHA}" - docker push "${WEBIDE_IMAGE_NAME}:${CI_COMMIT_SHORT_SHA}" +deploy-handoff: + # Handoff deployment duties to private repo + stage: ide-deploy + variables: + IDE_DOCKER_IMAGE: "registry.gitlab.com/${CI_PROJECT_PATH}/ligo_webide" + LIGO_COMMIT_REF_NAME: "${CI_COMMIT_SHORT_SHA}" + trigger: ligolang/ligo-webide-deploy + rules: + - if: '$CI_COMMIT_REF_NAME == "dev"' + when: always + static-binary: extends: .nix only: