Skip to content
Snippets Groups Projects
  1. Jul 10, 2019
  2. Jun 24, 2019
  3. Nov 22, 2018
    • Giorgio Sironi's avatar
      Add HEALTHCHECK (#11) · f0fdadac
      Giorgio Sironi authored
      * Make docker-compose behavior uniform across hosts
      
      This influences generated container names.
      
      * Add HEALTHCHECK to prod image
      
      (and derivatives)
      
      * Import script for container health
      
      From https://github.com/elifesciences/builder-base-formula/blob/master/elife/docker-scripts/docker-wait-healthy
      
      * Wait for container health before running HTTP smoke test
      
      * Use name without hyphens due to old docker-compose version
      
      * Move COMPOSE_PROJECT_NAME to .travis.yml
      
      * Remove unneeded .env (for the moment)
      
      * Use COMPOSE_PROJECT_NAME but with a default
      f0fdadac
    • Giorgio Sironi's avatar
      Add scripts submodule (#12) · 4827f2b0
      Giorgio Sironi authored
      * Add scripts submodule
      
      * Use HTTPS url for submodule
      
      Trying to avoid permission denied (despite being a public repository)
      
      * Run a command involving submodule
      
      * Spaces
      
      * Update scripts submodule to get push-image.sh
      
      * Substitute local push-image.sh with scripts repository one
      
      * Not needed
      4827f2b0
  4. Nov 20, 2018
  5. Nov 16, 2018
    • Giorgio Sironi's avatar
      Trigger environments build as a deploy (#9) · 5cbf7f07
      Giorgio Sironi authored
      * Trigger environments build as a deploy
      
      * Make script executable, again
      
      * Use long form for obscure boolean options
      5cbf7f07
    • Chris Wilkinson's avatar
      Set up logging (#6) · 240ef024
      Chris Wilkinson authored
      * Set up logging
      
      * Newer option allows for more status codes
      
      * Make sure exceptions are logged in prod
      
      * Demonstrate a failure
      
      * Output logs
      
      * In the meantime
      
      * More messages
      
      * Remove ErrorController
      240ef024
  6. Nov 15, 2018
  7. Nov 14, 2018
    • Giorgio Sironi's avatar
      Use a single stage to allow building images once and pushing them (#3) · 208ed635
      Giorgio Sironi authored
      * Add IMAGE_TAG environment variable
      
      * Allow building both prod and test version of the image
      
      * Trigger Travis CI?
      
      * Introduce build stage
      
      * Specify ordering for stages
      
      * Try inlining everything into one stage
      
      * Correctly execute console
      
      * Make all docker-compose YAML files explicit
      
      * Simplify curl smoke test
      
      * Extract .travis/test as an example
      
      * Try to use install sub-stage
      
      * Change namespace of test image
      
      (won't be pushed)
      
      * Try explicitly failing a script of the single job
      
      * Revert "Try explicitly failing a script of the single job"
      
      This reverts commit 87323a2d12924eb023d0153f45ed77ff38fde1e6.
      
      * Remove jobs.include
      
      * Clean up running smoke test containers before following with other
      checks
      
      * Always execute docker-compose down
      
      * Use tag suffix for app test image
      
      (not to be pushed, anyway)
      208ed635
    • Chris Wilkinson's avatar
      Don't build composer-dev for prod (#4) · 4fee6d4c
      Chris Wilkinson authored
      4fee6d4c
  8. Nov 12, 2018
    • Chris Wilkinson's avatar
      Create app (#1) · 86d254c0
      Chris Wilkinson authored
      * Create app
      
      * Seems to not create Test
      
      * Long form appears not to be supported
      
      * Would have thought it'd complained, maybe they were empty
      
      * Fix prod
      
      * Actually this?
      
      * Twig is needed in test
      
      * Due to the annoying phpstan-symfony config, keep it as the dev environment
      
      * Remove polyfill
      
      * Test response
      
      * Fix route name
      
      * Tweaks
      
      * Stop changes triggering new downloads
      
      * Basic tests
      
      * Try and make the Dockerfile easier to read
      
      * Add opcache
      
      * Simplify
      
      * Restore APP_DEBUG and remove reference to removed switches
      
      * Add console smoke test
      
      * Fix user/permissions
      
      * Due to mounting, just use root in dev
      
      * Probably want to use prod here?
      
      * Also prod here
      
      * Turns out Travis have recently added names!
      
      * Sentence case
      
      * Add license
      
      * Avoid complications and use www-data
      
      * Seemed to get lost somewhere along the way
      
      * Back to root in dev
      
      * Env per env
      
      * Not be read from outside anymore
      
      * Might be touch quicker
      86d254c0
  9. Nov 08, 2018