github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/gitlab/yaml/testdata/job_keywords/services/example-1.yaml (about)

     1  # https://docs.gitlab.com/ee/ci/yaml/#services
     2  
     3  default:
     4    image:
     5      name: ruby:2.6
     6      entrypoint: ["/bin/bash"]
     7  
     8    services:
     9      - name: my-postgres:11.7
    10        alias: db-postgres
    11        entrypoint: ["/usr/local/bin/db-postgres"]
    12        command: ["start"]
    13  
    14    before_script:
    15      - bundle install
    16  
    17  test:
    18    script:
    19      - bundle exec rake spec