Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker backend #75

Closed
wants to merge 26 commits into from
Closed

Docker backend #75

wants to merge 26 commits into from

Commits on Sep 9, 2022

  1. Configuration menu
    Copy the full SHA
    23b9ada View commit details
    Browse the repository at this point in the history
  2. Expose root of the Store

    MisterDA committed Sep 9, 2022
    Configuration menu
    Copy the full SHA
    07bb5b3 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2022

  1. Add a cmdliner term where the store isn't required

    To avoid code duplication with the users of OBuilder as a library
    (think ocluster-worker).
    MisterDA committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    1ed9f40 View commit details
    Browse the repository at this point in the history
  2. Refactor Build_log.tail

    MisterDA committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    f3fcbd6 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2022

  1. Configuration menu
    Copy the full SHA
    3a44f14 View commit details
    Browse the repository at this point in the history
  2. Set test/test.ml eol to LF

    Otherwise embedded text get crlf line endings.
    MisterDA committed Oct 13, 2022
    Configuration menu
    Copy the full SHA
    f957fe0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7e02f0c View commit details
    Browse the repository at this point in the history
  4. Print failing command

    MisterDA committed Oct 13, 2022
    Configuration menu
    Copy the full SHA
    85a3462 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    417214f View commit details
    Browse the repository at this point in the history
  6. Add readonly option to mounts

    Mounts are read-write to preserve current behaviour.
    MisterDA committed Oct 13, 2022
    Configuration menu
    Copy the full SHA
    da0527a View commit details
    Browse the repository at this point in the history
  7. Add entrypoint to Config.t

    This allows to specify the entrypoint of a `Sandbox.run job`. This is
    only needed for the Docker sandbox, to override the Docker image
    entrypoint.
    MisterDA committed Oct 13, 2022
    Configuration menu
    Copy the full SHA
    319c817 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    edf093f View commit details
    Browse the repository at this point in the history
  9. Introduce Os.copy

    MisterDA committed Oct 13, 2022
    Configuration menu
    Copy the full SHA
    10ed2e3 View commit details
    Browse the repository at this point in the history
  10. Print executed commands in one line (hbox instead of box)

    Granted, it's more difficult to read, but way easier to copy-paste to
    inspect manually what's happening.
    MisterDA committed Oct 13, 2022
    Configuration menu
    Copy the full SHA
    c705dc6 View commit details
    Browse the repository at this point in the history
  11. Add cmd to pp_cmd

    MisterDA committed Oct 13, 2022
    Configuration menu
    Copy the full SHA
    4e6d38d View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    d9eaaf3 View commit details
    Browse the repository at this point in the history
  13. Update some dependencies

    MisterDA committed Oct 13, 2022
    Configuration menu
    Copy the full SHA
    1ce102e View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    771e378 View commit details
    Browse the repository at this point in the history
  15. Close database before removing it

    This prevents errors on Windows where a file cannot be renamed, moved
    or deleted if it is open by another process. It also ensure that the
    database is left in a clean state.
    MisterDA committed Oct 13, 2022
    Configuration menu
    Copy the full SHA
    3f0c24d View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    4320dd7 View commit details
    Browse the repository at this point in the history
  17. Fix secret tests for Windows

    MisterDA committed Oct 13, 2022
    Configuration menu
    Copy the full SHA
    1726d29 View commit details
    Browse the repository at this point in the history
  18. Merge remote-tracking branches 'MisterDA/build-log', 'MisterDA/non-re…

    …q-cmdliner', 'MisterDA/docker-windows-spec' and 'MisterDA/docker-windows-prerequisites' into docker
    MisterDA committed Oct 13, 2022
    Configuration menu
    Copy the full SHA
    dedfbea View commit details
    Browse the repository at this point in the history
  19. Make STORE.result return a Lwt promise

    Checking the result for the Docker backend requires asynchronous calls
    to Docker.
    MisterDA committed Oct 13, 2022
    Configuration menu
    Copy the full SHA
    8ee1410 View commit details
    Browse the repository at this point in the history
  20. Let the store set the location of the log file

    With the Docker backend on Windows, it's easier to store logs in a
    location where they're not moved, as a directory cannot be renamed if
    it contains open file descriptors.
    
    For the btrfs and zfs backends, the original location is retained.
    MisterDA committed Oct 13, 2022
    Configuration menu
    Copy the full SHA
    e513307 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    9958d50 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    96cd12c View commit details
    Browse the repository at this point in the history