anchor.diff:    cache:
       <<: *cache-settings
     script:
  -    # Install node
  -    - curl -sL https://deb.nodesource.com/setup_10.x | bash -
  -    - apt-get install -qq nodejs
  -
  -    # Install yarn
  -    - curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
  -    - echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list
  -    - apt-get update -qq && apt-get install -qq yarn
  -
       # Verify node and yarn versions
       - node --version
       - yarn --version
  
positive.code:   POSTGRES_DB: rails_app_test
    POSTGRES_USER: root
    POSTGRES_PASSWORD: ''
    SELENIUM_REMOTE_URL: "http://selenium__standalone-chrome:4444/wd/hub/"
  
  .job-creation-policy: &job-creation-policy
    only:
  
negative.code: image: registry.gitlab.com/welaika/<%= app_name %>
  
  variables:
    GET_SOURCES_ATTEMPTS: 3
  