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

Feature/92 Provide Makefile #94

Merged
merged 8 commits into from Oct 15, 2020
Merged

Feature/92 Provide Makefile #94

merged 8 commits into from Oct 15, 2020

Commits on Oct 15, 2020

  1. Configuration menu
    Copy the full SHA
    375ee66 View commit details
    Browse the repository at this point in the history
  2. Add test service without entrypoint

    This will prepare a testing image ready to be dispatched (with specific requirements applied)
    XaviTorello committed Oct 15, 2020
    Configuration menu
    Copy the full SHA
    8edd3cc View commit details
    Browse the repository at this point in the history
  3. Provide a testing Dockerfile

    Devised to customize our base image with testing requirements.
    
    We splitted this in two images because testing increases +120MB layers size
    XaviTorello committed Oct 15, 2020
    Configuration menu
    Copy the full SHA
    0682c42 View commit details
    Browse the repository at this point in the history
  4. Add testing task

    So far just with dummy `manage.py test` execution
    XaviTorello committed Oct 15, 2020
    Configuration menu
    Copy the full SHA
    312fcbb View commit details
    Browse the repository at this point in the history
  5. Add base makefile

    Implemented targets:
    ```
    $ make help
    usage: make [target]
    
    options:
      start                           Start all or c=<name> containers in FOREGROUND
      serve                           Start all or c=<name> containers in BACKGROUND
      test                            Execute tests
      stop                            Stop all or c=<name> containers
      restart                         Restart all or c=<name> containers
      status                          Show status of containers
      ps                              Alias of status
      clean                           Clean all containers (keeping volumes)
      purge                           Purge all containers and volumes
      build                           (re)Build all images or c=<name> containers
    
    other:
      help                            Show this help.
      mk-upgrade                      Check for updates of mk-lib
      mk-version                      Show current version of mk-lib
    ```
    XaviTorello committed Oct 15, 2020
    Configuration menu
    Copy the full SHA
    86854da View commit details
    Browse the repository at this point in the history
  6. Use make commands

    Fix #92
    XaviTorello committed Oct 15, 2020
    Configuration menu
    Copy the full SHA
    1da5e26 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    91a91ec View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    67f53d8 View commit details
    Browse the repository at this point in the history