Skip to content

Commit

Permalink
#56 add a post-deploy-script job
Browse files Browse the repository at this point in the history
  • Loading branch information
drawsmcgraw authored and mrosecrance committed Oct 16, 2020
1 parent d9daa37 commit 3bd4c0a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
Empty file added jobs/post-deploy-script/monit
Empty file.
13 changes: 13 additions & 0 deletions jobs/post-deploy-script/spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: post-deploy-script

templates:
post-deploy.sh: bin/post-deploy

packages: []

properties:
script:
description: Script that is run during post-deploy to allow additional setup of environment, run as root user.
example: |-
#!/bin/bash
apt-get update && apt-get install wget git tmux -y
1 change: 1 addition & 0 deletions jobs/post-deploy-script/templates/post-deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<%= p('script') %>

0 comments on commit 3bd4c0a

Please sign in to comment.