Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

The Life-cycle Tags

  • install:base
    Creates
    • User
    • Directories
    • Virtual environments
  • install:code
    • Checks out code
  • install:system-requirements
    Installs OS dependencies
  • install:app-requirements
    pip install -r requirements.txt/bundle install
  • install:configuration
    Resolves vars and drops env.yml/auth.yml
  • install:vhosts
    Builds nginx vhosts when relevant, can run locally or remotely
  • assets:pre-reqs
    Installs ruby/sass/grunt/node
  • assets:gather
    Processes assets
  • migrate:db
    Migrates the RDBMS using manage.py today, make migrate in the future
  • migrate:mongodb
    As above,  but for whichever nosql option
  • manage:app-users
  • manage:db
    create/ensure the database and db users exist
  • manage:start
  • manage:stop
  • test:unit
  • test:integration
  • test:acceptance

Notes

  • For the moment, we can implement "wildcard" tags by tagging tasks with tags: [install, install:vhosts]
  • In the future, we may want to move all of the supervisor- and linking-related stuff into a separate tag (including rereading supervisor). (It's currently in install:configuration, which seems wrong. Maybe it should just go in manage:start?)

 

Sample Application

https://github.com/edx/configuration/pull/2265

  • No labels