Skip to content

Commit

Permalink
more build tools
Browse files Browse the repository at this point in the history
  • Loading branch information
bak11004 committed Apr 26, 2016
1 parent 95b876b commit 84cb566
Show file tree
Hide file tree
Showing 6 changed files with 2,509 additions and 26 deletions.
41 changes: 18 additions & 23 deletions appspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# For help completing this file, see the "AppSpec File Reference" in the
# "AWS CodeDeploy User Guide" at
# http://docs.aws.amazon.com/codedeploy/latest/userguide/app-spec-ref.html
version: 1.0
version: 0.0
# Specify "os: linux" if this revision targets Amazon Linux,
# Red Hat Enterprise Linux (RHEL), or Ubuntu Server
# instances.
Expand Down Expand Up @@ -35,21 +35,21 @@ files:
# then remove the
# "permissions" section altogether. A blank or incomplete "permissions"
# section may cause associated deployments to fail.
permissions:
- object:
pattern:
except:
owner:
group:
mode:
acls:
-
context:
user:
type:
range:
type:
-
# permissions:
# - object:
# pattern:
# except:
# owner:
# group:
# mode:
# acls:
# -
# context:
# user:
# type:
# range:
# type:
# -
# If you are not running any commands on the Amazon EC2 instance, then remove
# the "hooks" section altogether. A blank or incomplete "hooks" section
# may cause associated deployments to fail.
Expand Down Expand Up @@ -86,13 +86,8 @@ permissions:
# runas:
# During the BeforeInstall deployment lifecycle event, run the commands
# in the script specified in "location".
# BeforeInstall:
# - location:
# timeout:
# runas:
# - location:
# timeout:
# runas:
BeforeInstall:
- location: beforeinstall.sh
# During the AfterInstall deployment lifecycle event, run the commands
# in the script specified in "location".
# AfterInstall:
Expand Down
1 change: 1 addition & 0 deletions beforeinstall.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sudo rm -rf /var/www/ation/*
Loading

0 comments on commit 84cb566

Please sign in to comment.