question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error "Assemble new config.toml" with executor "docker-machine"

See original GitHub issue

Hi,

I have a runner with “docker+machine” as executor, when I execute my playbook it fails on Assemble new config.toml.

The issue seems to come from the generated config :

  name = "my-gitlab-runner"
  executor = "docker+machine"
  ....
  [runners.docker+machine]
  environment = []
  [runners.docker]
    ...
  [runners.machine]
    ...

My config file done manually:

  name = "my-gitlab-runner"
  executor = "docker+machine"
  ....
  environment = []
  [runners.docker]
    ...
  [runners.machine]
    ...

My ansible config:

gitlab_runner_runners:
  - name: "my-gitlab-runner"
    executor: "docker+machine"
    docker_image: "alpine"
    extra_configs:
      runners.machine:
        MachineDriver: "digitalocean"
        ....

Any advice to fix that ?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
rosenstrauchcommented, Mar 25, 2020
0reactions
digitalfredycommented, Jul 13, 2020

The problem is when using docker executor

Using vagrant with Vagrant attached files (modify runner tocken) works but when I remove comments to get it as the proposed example for docker executor got the error.

vagrant.zip

Read more comments on GitHub >

github_iconTop Results From Across the Web

Docker machine executor fails with "The project 'https:' was not ...
Summary Our config.toml looks like this: ... Build fails with "ERROR: Error creating machine: Error in driver during machine creation: ...
Read more >
Using docker build · Docker · Ci · Help · GitLab - BalticLSC
GitLab CI/CD allows you to use Docker Engine to build and test docker-based projects. One of the new trends in Continuous Integration/Deployment is...
Read more >
Using docker build · Docker · Ci · Help · GitLab - ETSI Labs
To run Docker commands in your CI/CD jobs, you must configure GitLab Runner to ... You can use the Docker executor to run...
Read more >
Setup GitLab CI Runner with Docker Executor on Windows 10 ...
The above error could be is just an error from the Docker in Docker container failing to start. You should see in the...
Read more >
Troubleshoot GitLab Runner
If you want to use Docker executor, and you are connecting to Docker Engine installed on server. You can see the Permission Denied...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found