From 5d895a3cbc7e214253766d709741f66779a84b2d Mon Sep 17 00:00:00 2001 From: Tyrel Souza Date: Fri, 9 Jul 2021 20:49:35 +0000 Subject: [PATCH] fix --- .gitlab/.gitlab-webide.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitlab/.gitlab-webide.yml b/.gitlab/.gitlab-webide.yml index b6e5e4b..46ab494 100644 --- a/.gitlab/.gitlab-webide.yml +++ b/.gitlab/.gitlab-webide.yml @@ -2,6 +2,11 @@ terminal: # This can be any image that has the necessary runtime environment for your project. image: golang:1.16 - before_script: - - apk update - script: sleep 60 + services: + - name: registry.gitlab.com/gitlab-org/webide-file-sync:latest + alias: webide-file-sync + entrypoint: ["/bin/sh"] + command: ["-c", "sleep 5 && ./webide-file-sync -project-dir $CI_PROJECT_DIR"] + ports: + # The `webide-file-sync` executable defaults to port 3000. + - number: 3000