Fix webide deploy handoff

This commit is contained in:
Alexander Bantyev 2020-05-21 19:03:15 +03:00
parent 91f31f2914
commit b522e50ce2
Signed by: balsoft
GPG Key ID: E081FF12ADCB4AD5

View File

@ -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: