Skip to content
Snippets Groups Projects

running .gitlab-ci.yml jobs locally

  • Clone with SSH
  • Clone with HTTPS
  • Embed
  • Share
    The snippet can be accessed without any authentication.
    Authored by Michal Jamroz
    Edited
    run.sh 218 B
    #Run the build: 
    
    gitlab-runner exec docker my-job-defined-in-gitlab-ci
    
    #This will run my-job defined in the local .gitlab-ci.yml in a docker container.
    #https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/issues/312
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment