Skip to content

Instantly share code, notes, and snippets.

@hngkr
Created December 12, 2016 06:29
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hngkr/8899e93a09be1c99c235b2fae0b58a8e to your computer and use it in GitHub Desktop.
Save hngkr/8899e93a09be1c99c235b2fae0b58a8e to your computer and use it in GitHub Desktop.
version: 0.1
phases:
install:
commands:
- yum -y groupinstall "Development Tools"
- yum -y install libpcap-devel.x86_64 libtool libyaml-devel
- gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
- mkdir -p /var/task
pre_build:
commands:
- bash codebuild/install_rvm.bash
- cp codebuild/cleanup.bash /tmp/
build:
commands:
- echo Build started on `date`
- bash codebuild/build_roadworker.bash
post_build:
commands:
- mv /var/task/rvm .
- cp codebuild/rvmrc .rvmrc
- echo Build completed on `date`
artifacts:
files:
- .rvmrc
- rvm/**/*
- roadwork
- lambda_function.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment