mirror of
https://github.com/kennethreitz/bob-builder-1.git
synced 2026-06-05 23:10:17 +00:00
45ed571b7e785bf02c31e22b954b97e6eca87e68
Since it causes access denied errors when the IAM user does not have `PutObjectAcl` permissions for the S3 bucket, preventing the use of a more locked down IAM user for deployment. It seems preferable to leave the bucket ACLs to the bucket owner, and for `bob deploy` to only upload the file. Closes W-8134681.
Bob: The Binary Build Toolkit
This repo exists as a framework for the compilation and deployment of binaries and libraries on Heroku.
It is inspired by (and extracted from) kennethreitz/python-versions.
Intended Design
- Flexible type hierarchy
- Flat dependency resolution
- Version agnostic (careful curation and naming conventions preferred)
- Import already-deployed sub-dependencies during a build (optionally fetch from
UPSTREAM_S3_BUCKET)
Powered By
- Bash, mostly
- A litle bit of Python
- Boto
Getting Started (Staging)
$ heroku create build-toolkit-python-staging --buildpack https://github.com/kennethreitz/conda-buildpack.git$ heroku config:set AWS_ACCESS_KEY_ID=xxx AWS_SECRET_ACCESS_KEY=xxx S3_BUCKET=xxx
Now that your Heroku app for building is created, push a repo containing your formula to the app (e.g. the python buildpack repo).
$ heroku run bash
$ bob build runtimes/python-2.7.6
$ bob deploy runtimes/python-2.7.6
Description
Languages
Python
95.3%
Shell
4.7%