Skip to content

CI: local-bridge does not rebuild on new commit #629

Open
@Thegaram

Description

@Thegaram

I am building a local CI workflow based on self-ci, using the local git bridge.

The CI is running fine, but new commits are not picked up until I restart. The readme under local-bridge says: "DataKitCI can be configured to run the CI tests against the project each time a commit is made." What do I need to do to achieve this?

My config looks like this:

bridge:
  command: '--verbosity=debug --metadata-store tcp:datakit:5640 -v me/myproject:/data/repos/myproject'
  image: 'datakit/local-bridge'
  links:
    - datakit
  volumes:
    - '../myproject/.git:/data/repos/myproject/.git:ro'
ci:
  command: '--profile=localhost --metadata-store tcp:datakit:5640 --web-ui=http://localhost:8080/ --canary=me/myproject/heads/master'
  build: .
  links:
    - datakit
  ports:
    - '8080:8080'
  volumes:
    - '../myproject/.git:/mnt/myproject/.git:ro'
    - '/secrets'
    - '/var/run/docker.sock:/var/run/docker.sock'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions