Skip to content

Add post ece command hook #19

Description

@thovel

It is often needed to automate stuff that happens after the ece script runs. Lets agree on where to put the post command scripts and execute them automatically

We already have:
/usr/share/escenic/ece-scripts/ece.d/ : assemble.sh clean.sh flush.sh info.sh logs.sh publication-resources.sh restart.sh stop.sh top.sh backup.sh deploy.sh help.sh kill.sh package.sh remove-old-log-files.sh start.sh thread-dump.sh versions.sh

what about this:
/usr/share/escenic/ece-scripts/pre-ece.d/deploy/ : 01-schedule-downtime.sh 02-hipchat-start.sh 03-shutdown-varnish.sh
/usr/share/escenic/ece-scripts/post-ece.d/deploy/ : 01-run-bootstrapper.sh 02-start-varnish.sh 03-hipchat-done.sh

or
/usr/share/escenic/ece-scripts/deploy/pre.d/ : 01-schedule-downtime.sh 02-hipchat-start.sh 03-shutdown-varnish.sh
/usr/share/escenic/ece-scripts/deploy/post.d/ : 01-run-bootstrapper.sh 02-start-varnish.sh 03-hipchat-done.sh

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions