You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by uw...@apache.org on 2018/07/22 17:26:08 UTC

[arrow] branch master updated: ARROW-2878: [Packaging] README.md does not mention setting GitHub API token in user's crossbow repo settings

This is an automated email from the ASF dual-hosted git repository.

uwe pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new 2ff8708  ARROW-2878: [Packaging] README.md does not mention setting GitHub API token in user's crossbow repo settings
2ff8708 is described below

commit 2ff870806c37ff204c72f2658eada5ab5c5da062
Author: Krisztián Szűcs <sz...@gmail.com>
AuthorDate: Sun Jul 22 19:25:59 2018 +0200

    ARROW-2878: [Packaging] README.md does not mention setting GitHub API token in user's crossbow repo settings
    
    Author: Krisztián Szűcs <sz...@gmail.com>
    
    Closes #2300 from kszucs/ARROW-2878 and squashes the following commits:
    
    140c565b <Krisztián Szűcs> fix travis url
    bb720049 <Krisztián Szűcs> quote urls
    7e419c90 <Krisztián Szűcs> describe how to export CROSSBOW_GITHUB_TOKEN on CI services
---
 dev/tasks/README.md | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

diff --git a/dev/tasks/README.md b/dev/tasks/README.md
index 9aaca1a..666f326 100644
--- a/dev/tasks/README.md
+++ b/dev/tasks/README.md
@@ -72,7 +72,7 @@ submission. The tasks are defined in `tasks.yml`
 
 4. [Create a Personal Access
    Token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/)
-5. Export the token as an environment variable:
+5. Locally export the token as an environment variable:
 
    ```bash
    export CROSSBOW_GITHUB_TOKEN=<token>
@@ -80,12 +80,21 @@ submission. The tasks are defined in `tasks.yml`
 
    > or pass as an argument to the CLI script `--github-token`
 
-6. Install Python 3.6:
+6. Export the previously created GitHub token on both CI services:
+
+   Use `CROSSBOW_GITHUB_TOKEN` encrypted environment variable. You can set them
+   at the following URLs, where `ghuser` is the GitHub username and `ghrepo` is
+   the GitHub repository name (typically `crossbow`):
+
+   - TravisCI: `https://travis-ci.org/<ghuser>/<ghrepo>/settings`
+   - Appveyor: `https://ci.appveyor.com/project/<ghuser>/<ghrepo>/settings/environment`
+
+7. Install Python 3.6:
 
    Miniconda is preferred, see installation instructions:
    https://conda.io/docs/user-guide/install/index.html
 
-7. Install the python dependencies for the script:
+8. Install the python dependencies for the script:
 
    ```bash
    conda install -y jinja2 pygit2 click ruamel.yaml setuptools_scm github3.py python-gnupg
@@ -96,7 +105,7 @@ submission. The tasks are defined in `tasks.yml`
    pip install jinja2 pygit2 click ruamel.yaml setuptools_scm github3.py python-gnupg
    ```
 
-8. Try running it:
+9. Try running it:
    ```bash
    $ python crossbow.py --help
    ```