job {
  name 'dta-python-lambda-example-create'
  using 'TEMPLATE-autobuild'
  scm {
    git {
      remote {
        github 'dta/python-lambda-example', 'ssh', 'git-aws.internal.justin.tv'
        credentials 'git-aws-read-key'
      }
    }
  }
  steps {
    shell "rm -rf .manta/"
    shell "manta -v"
    saveLambdaFunction "dta/python-lambda-example", ".manta"
  }
}

job {
  name 'dta-python-lambda-example-default-deploy'
  using 'TEMPLATE-lambda-deploy'
  steps {
    deployLambdaFunction "dta/python-lambda-example", "dta-python-lambda-example-\$ENVIRONMENT", "\$ENVIRONMENT"
  }
}

