Skip to content

Commit

Permalink
ARROW-8184: [Packaging] Use arrow-nightlies organization name on Anac…
Browse files Browse the repository at this point in the history
…onda and Gemfury to host the nightlies

- [x] update the credentials for anaconda
- [x] update the credentials for gemfury

The packages are only uploaded from the master branch, so I've triggered the crossbow tasks on from my fork's master: [build-779](https://github.com/ursa-labs/crossbow/branches/all?query=build-779)

The produced packages are available at:
- Anaconda: https://anaconda.org/arrow-nightlies/pyarrow
- Gemfury: https://pypi.fury.io/arrow-nightlies/pyarrow

Installation instuctions:

Conda:
```bash
conda install -c arrow-nightlies pyarrow
```

Pip:
```bash
pip install --extra-index-url https://pypi.fury.io/arrow-nightlies/ --pre pyarrow
```

Adding it to the developer documentation in a follow-up PR.

Closes apache#6717 from kszucs/ARROW-8184

Authored-by: Krisztián Szűcs <[email protected]>
Signed-off-by: Krisztián Szűcs <[email protected]>
  • Loading branch information
kszucs committed Mar 26, 2020
1 parent 59903d0 commit 25e8c2b
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dev/tasks/conda-recipes/azure.linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@ jobs:
{% if arrow.branch == 'master' %}
# Upload to custom anaconda channel
- script: |
anaconda -t $(CROSSBOW_ANACONDA_TOKEN) upload -l nightly --force build_artifacts/linux-64/*.tar.bz2
anaconda -t $(CROSSBOW_ANACONDA_TOKEN) upload --force build_artifacts/linux-64/*.tar.bz2
displayName: Upload packages to Anaconda
{% endif %}
2 changes: 1 addition & 1 deletion dev/tasks/conda-recipes/azure.osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
- script: |
source activate base
conda install -y anaconda-client
anaconda -t $(CROSSBOW_ANACONDA_TOKEN) upload -l nightly --force build_artifacts/osx-64/*.tar.bz2
anaconda -t $(CROSSBOW_ANACONDA_TOKEN) upload --force build_artifacts/osx-64/*.tar.bz2
displayName: Upload packages to Anaconda
workingDirectory: arrow/dev/tasks/conda-recipes
{% endif %}
2 changes: 1 addition & 1 deletion dev/tasks/conda-recipes/azure.win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:
- script: |
source activate base
conda install -y anaconda-client
anaconda -t $(CROSSBOW_ANACONDA_TOKEN) upload -l nightly --force D:\bld\win-64\*.tar.bz2
anaconda -t $(CROSSBOW_ANACONDA_TOKEN) upload --force D:\bld\win-64\*.tar.bz2
displayName: Upload packages to Anaconda
workingDirectory: arrow/dev/tasks/conda-recipes
{% endif %}
2 changes: 1 addition & 1 deletion dev/tasks/python-wheels/appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ after_build:
# upload to gemfury
- conda install -y curl
- for /f %%i in ('dir /b wheels\*.whl') do set WHEEL_PATH=wheels\%%i
- curl.exe -f -F "package=@%WHEEL_PATH%" "https://%CROSSBOW_GEMFURY_TOKEN%@push.fury.io/ursa-labs/"
- curl.exe -f -F "package=@%WHEEL_PATH%" "https://%CROSSBOW_GEMFURY_TOKEN%@push.fury.io/%CROSSBOW_GEMFURY_ORG%/"
{% endif %}

#on_finish:
Expand Down
3 changes: 2 additions & 1 deletion dev/tasks/python-wheels/azure.linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,9 @@ jobs:
# upload to gemfury
- script: |
path=$(ls arrow/python/{{ wheel_dir }}/dist/*.whl)
curl -f -F "package=@${path}" https://${CROSSBOW_GEMFURY_TOKEN}@push.fury.io/ursa-labs/
curl -f -F "package=@${path}" https://${CROSSBOW_GEMFURY_TOKEN}@push.fury.io/${CROSSBOW_GEMFURY_ORG}/
env:
CROSSBOW_GEMFURY_TOKEN: $(CROSSBOW_GEMFURY_TOKEN)
CROSSBOW_GEMFURY_ORG: $(CROSSBOW_GEMFURY_ORG)
displayName: Upload packages to Gemfury
{% endif %}
3 changes: 1 addition & 2 deletions dev/tasks/python-wheels/travis.osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ before_install:
- git -C arrow checkout FETCH_HEAD

- brew update
- brew unlink python@2
- travis_wait 30 brew bundle --file=arrow/cpp/Brewfile
# Install tools to build bundled Thrift
- brew install
Expand Down Expand Up @@ -90,7 +89,7 @@ install:
{% if arrow.branch == 'master' %}
# upload to gemfury pypi repository, there should be a single wheel
- path=$(ls arrow/python/dist/*.whl)
- curl -f -F "package=@${path}" https://${CROSSBOW_GEMFURY_TOKEN}@push.fury.io/ursa-labs/
- curl -f -F "package=@${path}" https://${CROSSBOW_GEMFURY_TOKEN}@push.fury.io/${CROSSBOW_GEMFURY_ORG}/
{% endif %}

notifications:
Expand Down

0 comments on commit 25e8c2b

Please sign in to comment.