.gitlab-webide.yml 476 Bytes
Newer Older
C W's avatar
C W committed
1
2
3
4
5
6
terminal:
  image: ruby:3.0
  before_script:
    - apt update
    - curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
    - apt install nodejs
7
  script: sleep 60
C W's avatar
C W committed
8
9
  variables:
    NODE_ENV: "development"
10
11
12
13
14
15
16
  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:
        - number: 3000