Skip to content
This repository was archived by the owner on Dec 5, 2019. It is now read-only.
This repository was archived by the owner on Dec 5, 2019. It is now read-only.

Running cruise add --help starts builders for existing projects #98

@javanthropus

Description

@javanthropus

When running cruise add --help from the current master branch, an attempt is made to start all builders for all existing projects in the background. If the builders are not already running, they will be started; otherwise, errors are reported about file lock ownerships:

Builder for project 'example_project' started
Logging to: /opt/cruisecontrol.rb/log/example_project_builder.log

or

[fatal] Another process holds a lock on project 'example_project'.
Look for a process with a lock on file /home/build/.cruise/projects/example_project/builder.lock
Builder for project 'example_project' exited

This happens because the cruise script forces the Rails environment to be set to production prior to loading the environment files. The production environment is set to always start builders by default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions