Skip to content

Commit c477183

Browse files
committed
ARROW-7466: [CI][Java] Fix gandiva-jar-osx nightly build failure
Closes #6331 from kszucs/ARROW-7466 and squashes the following commits: d50b8c8 <Krisztián Szűcs> don't install already installed python3 d956297 <Krisztián Szűcs> re-enable steps 421142d <Krisztián Szűcs> start all arguments at the same column... 2131836 <Krisztián Szűcs> travis multi line string b50865e <Krisztián Szűcs> use travis_build_dir 6f1beb6 <Krisztián Szűcs> debug paths 7b054ec <Krisztián Szűcs> queue path 6929f3d <Krisztián Szűcs> fix crossbow path 2a2d7c3 <Krisztián Szűcs> deploy using crossbow Authored-by: Krisztián Szűcs <szucs.krisztian@gmail.com> Signed-off-by: François Saint-Jacques <fsaintjacques@gmail.com>
1 parent e4ff276 commit c477183

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

dev/tasks/gandiva-jars/travis.osx.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ env:
3333
- ARROW_TRAVIS_GANDIVA=1
3434

3535
before_script:
36+
- pwd
3637
- git clone --no-checkout {{ arrow.remote }} arrow
3738
- git -C arrow fetch -t {{ arrow.remote }} {{ arrow.branch }}
3839
- if [ $CROSSBOW_USE_COMMIT_ID = true ]; then git -C arrow checkout {{ arrow.head }}; else git -C arrow checkout FETCH_HEAD; fi
39-
4040
- export TRAVIS_BUILD_DIR=$TRAVIS_BUILD_DIR/arrow
4141
- brew update
4242
- brew install bison flex llvm@7
@@ -52,15 +52,17 @@ script:
5252
- mkdir -p dist
5353
- dev/tasks/gandiva-jars/build-cpp-osx.sh || travis_terminate 1
5454
- dev/tasks/gandiva-jars/build-java.sh || travis_terminate 1
55-
56-
deploy:
57-
provider: releases
58-
api_key: $CROSSBOW_GITHUB_TOKEN
59-
file_glob: true
60-
file: dist/*.jar
61-
skip_cleanup: true
62-
on:
63-
tags: true
55+
# deploy using crossbow
56+
- brew install libgit2
57+
- pip3 install click github3.py jinja2 jira pygit2 ruamel.yaml setuptools_scm toolz
58+
- >
59+
python3 dev/tasks/crossbow.py
60+
--queue-path $TRAVIS_BUILD_DIR
61+
--queue-remote {{ queue.remote_url }}
62+
upload-artifacts
63+
--sha {{ task.branch }}
64+
--tag {{ task.tag }}
65+
--pattern "dist/*.jar"
6466
6567
notifications:
6668
email:

0 commit comments

Comments
 (0)