DaemonRegistryStateProbe.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Move Stat and Chmod to :files

  1. … 38 more files in changeset.
Move Stat and Chmod to :files

  1. … 38 more files in changeset.
Make daemon state visible in the registry

+review REVIEW-6160

  1. … 24 more files in changeset.
Changed test fixture to verify registry file permissions only on linux and os x.

Ensure that the daemon registry file and parent directory have read and write permission set only for the user.

  1. … 9 more files in changeset.
Changed the daemon to reject a build command that does not include the correct authentication token.

The authentication token is generated by the daemon on startup and written to the registry, and read from the registry by the client and passed back to the daemon in build/stop commands.

Note that the daemon and client currently do not take any steps to prevent the world reading (or writing) the registry beyond whatever the OS happens to do by default. This will be fixed in a later commit.

  1. … 38 more files in changeset.
move daemon integ test fixtures to internalIntegTesting

+review REVIEW-5483

    • -0
    • +40
    ./DaemonRegistryStateProbe.groovy
  1. … 40 more files in changeset.