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