Skip to content

Instantly share code, notes, and snippets.

@zouzias
Created March 2, 2019 07:54
Show Gist options
  • Save zouzias/a76f7de9cbb5db3731a1ff00742ecfd2 to your computer and use it in GitHub Desktop.
Save zouzias/a76f7de9cbb5db3731a1ff00742ecfd2 to your computer and use it in GitHub Desktop.
Builds with boost and Python quay.io (from Apache Arrow mailing list)
For the record (in case someone needs to do it again), these are the steps :
1. Make the change in build_boost.sh
2. Setup an account on quay.io <http://quay.io/> and link to your GitHub account
3. In quay.io <http://quay.io/>, Add a new repository using :
A. Link to GitHub repository push
B. Trigger build on changes to a specific branch (eg. myquay) of the repo (eq. pravindra/arrow)
C. Set Dockerfile location to "/python/manylinux1/Dockerfile-x86_64_base”
D. Set Context location to "/python/manylinux1”
4. Push change (in step 1) to the branch specified in step 3B
This should trigger a build in quay.io <http://quay.io/>, the build takes about 2 hrs to finish.
5. Add a tag “latest” to the build after step 4 finishes, save the URL of the build (eg. quay.io/pravindra <http://quay.io/pravindra/arrow_manylinux1_x86_64_base:latest>/arrow_manylinux1_x86_64_base:latest <http://quay.io/pravindra/arrow_manylinux1_x86_64_base:latest>)
6. In your arrow PR,
- include the change from 1.
- update travis_script_manylinux.sh to point to the location from step 5.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment