Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • gitlab-runner gitlab-runner
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 972
    • Issues 972
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Jira
    • Jira
  • Merge requests 88
    • Merge requests 88
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
  • Activity
  • Create a new issue
  • Jobs
  • Issue Boards
Collapse sidebar

Do not update/delete: Banner broadcast message test data

Do not update/delete: Notification broadcast message test data

  • GitLab.orgGitLab.org
  • gitlab-runnergitlab-runner
  • Issues
  • #1520
Closed
Open
Issue created Jul 26, 2016 by Grzegorz Bizon@grzesiekMaintainer

Mount volume with code from repository in services

We need to mount volume that contains the code that we want to test/we use for tests inside services. We need that for https://gitlab.com/gitlab-org/gitlab-qa/merge_requests/1.

gitlab-ce-test:
  variables:
    HOSTNAME: gitlab-qa.test
    GITLAB_URL: http://$HOSTNAME
  image: docker:1.11
  services:
   - docker:1.11-dind
  script:
    - docker network create --internal test
    - docker run -d --name gitlab-qa --net test --hostname $HOSTNAME gitlab/gitlab-ce:latest
    - docker run -t --net test -e GITLAB_URL:$GITLAB_URL -v $(pwd):/tests ruby:2.2 /tests/bin/run

In case like above /tests directory is empty, because when we execute docker commands this gets populated to dind service but there are no files available.

As discussed with @tmaczukin we can fix this problem soon.

/cc @stanhu

Assignee
Assign to
Time tracking