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

Add a Dockerfile to build an image #140

Closed
wants to merge 18 commits into from
Closed

Add a Dockerfile to build an image #140

wants to merge 18 commits into from

Commits on Aug 31, 2017

  1. Configuration menu
    Copy the full SHA
    23e5c38 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2017

  1. Add dtbook-to-rtf module

    bertfrees committed Sep 1, 2017
    Configuration menu
    Copy the full SHA
    e3304a0 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2017

  1. Add a Dockerfile to build an image

    The Dockerfile uses a multistage build to first build the artifacts
    using maven. Then it copies the artifacts into a final image which
    exposes the port and starts the pipeline.
    egli authored and bertfrees committed Oct 9, 2017
    Configuration menu
    Copy the full SHA
    d463250 View commit details
    Browse the repository at this point in the history
  2. Start the pipeline in remote mode

    egli authored and bertfrees committed Oct 9, 2017
    Configuration menu
    Copy the full SHA
    aaa10a0 View commit details
    Browse the repository at this point in the history
  3. Add a newline at the end of the file

    egli authored and bertfrees committed Oct 9, 2017
    Configuration menu
    Copy the full SHA
    fbced57 View commit details
    Browse the repository at this point in the history
  4. Allow declaration of client key and secret via env variables

    If PIPELINE2_AUTH_CLIENTKEY and/or PIPELINE2_AUTH_CLIENTSECRET are
    defined in the environment, when starting the pipeline, use those
    values. This simplyfies dockerization of the pipeline.
    egli authored and bertfrees committed Oct 9, 2017
    Configuration menu
    Copy the full SHA
    36ed956 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    91a547c View commit details
    Browse the repository at this point in the history
  6. Default the clientkey to the usual default

    that is used everywhere else, for example in the default config of the
    pipeline cli
    egli authored and bertfrees committed Oct 9, 2017
    Configuration menu
    Copy the full SHA
    387ca2c View commit details
    Browse the repository at this point in the history
  7. Expose the PIPELINE2_HOST as an env variable

    so that it can be set at run time for example when starting a Docker
    image and remove it from the system.properties (otherwise setting it
    as an option when starting the JVM seems to have no effect)
    egli authored and bertfrees committed Oct 9, 2017
    Configuration menu
    Copy the full SHA
    f23c1d6 View commit details
    Browse the repository at this point in the history
  8. Add a test for the Docker image

    The test starts two containers based on the same image. One for the
    pipeline itself and a second one for the cli. It then starts a script
    from the cli.
    egli authored and bertfrees committed Oct 9, 2017
    Configuration menu
    Copy the full SHA
    35a4436 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2017

  1. Make use of standardized environment variables

    This reverts 36ed956 and f23c1d6.
    bertfrees committed Nov 2, 2017
    Configuration menu
    Copy the full SHA
    8851938 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7f8f8c1 View commit details
    Browse the repository at this point in the history
  3. Fix Docker test

    and add it to the Makefile
    bertfrees committed Nov 2, 2017
    Configuration menu
    Copy the full SHA
    d8fc1e3 View commit details
    Browse the repository at this point in the history
  4. Simplify start script by using environment variables instead of syste…

    …m properties
    
    - PIPELINE2_HOME
    - PIPELINE2_BASE
    - PIPELINE2_DATA
    - PIPELINE2_WS_LOCALFS
    - PIPELINE2_WS_AUTHENTICATION
    
    *nix only.
    bertfrees committed Nov 2, 2017
    Configuration menu
    Copy the full SHA
    770eec2 View commit details
    Browse the repository at this point in the history
  5. Remove PIPELINE2_OPTS environemnt variable

    because you can now directly specify the Pipeline properties through
    environment variables. Note that this will only work for system
    properties that start with "org.daisy.pipeline" though.
    bertfrees committed Nov 2, 2017
    Configuration menu
    Copy the full SHA
    c3baadb View commit details
    Browse the repository at this point in the history
  6. Debian package: remove "REMOTE" variable from /etc/default

    Instead use the PIPELINE2_WS_LOCALFS and PIPELINE2_WS_AUTHENTICATION
    environment variables directly.
    bertfrees committed Nov 2, 2017
    Configuration menu
    Copy the full SHA
    c194f2e View commit details
    Browse the repository at this point in the history
  7. Remove the webui profile

    see #137
    bertfrees committed Nov 2, 2017
    Configuration menu
    Copy the full SHA
    c445d21 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c946f36 View commit details
    Browse the repository at this point in the history