Skip to content
This repository was archived by the owner on Apr 29, 2025. It is now read-only.
This repository was archived by the owner on Apr 29, 2025. It is now read-only.

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

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'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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