commit | 83b493d33651ed96aa7c6cff9b8b64eaaa7c7a36 | [log] [tgz] |
---|---|---|
author | Boyuan Zhang <36090911+boyuanzz@users.noreply.github.com> | Tue Aug 14 15:23:36 2018 -0700 |
committer | Ahmet Altay <aaltay@gmail.com> | Tue Aug 14 15:23:36 2018 -0700 |
tree | 9a4c842149e36158b98775726e47c0f9c1599128 | |
parent | 4755f56d88fef530f23e1fe33dc1a017536e28ae [diff] |
Add travis build config files and upload artifacts into dist.apache.org (#2) * Add travis build config files and upload artifacts into dist.apache.org * Add README.md
beam-wheels
is a helper repository of apache beam, which helps a Release Manager build python wheels on Linux/MacOS in a release process.
There are 2 major parts in this repository.
multibuild as git submodule, helps build python wheels based on different os.
travis configuration files, setups environment variables and deployment strategy.
.travis.yml
contains a set of environment variables and steps of build process.deploy_travis.sh
defines that final python wheels will be deployed to dist.apache.org/dev using svn with your apache credential.config.sh
defines custom build steps.Fork this repo into your own github account.
Sign up travis with your github account and add this folk beam-wheels repository into travis.
In travis build console > More options > Settings > Environment Variables:
Add RC
and VERSION
with ‘Display value in build log’ enabled (e.g. RC=rc1, RELEASE=2.6.0).
Add APACHE_USERNAME
and APACHE_SECRET
with ‘Display value in build log’ disabled(which encrypt your credential).
NOTE: If you have special characters in your credential, please escape them following the guide properly.
Create and push a new branch(e.g. release_2_6_0) into your folk beam-wheels repository, which will trigger the travis build.
Confirm that build successful and wheels get staged on dist.apache.org.
Delete your apache credential in travis environment.