Skip to content

Commit

Permalink
ARROW-7466: [CI][Java] Fix gandiva-jar-osx nightly build failure
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
kszucs committed Feb 7, 2020
1 parent e4ff276 commit c477183
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions dev/tasks/gandiva-jars/travis.osx.yml
Expand Up @@ -33,10 +33,10 @@ env:
- ARROW_TRAVIS_GANDIVA=1

before_script:
- pwd
- git clone --no-checkout {{ arrow.remote }} arrow
- git -C arrow fetch -t {{ arrow.remote }} {{ arrow.branch }}
- if [ $CROSSBOW_USE_COMMIT_ID = true ]; then git -C arrow checkout {{ arrow.head }}; else git -C arrow checkout FETCH_HEAD; fi

- export TRAVIS_BUILD_DIR=$TRAVIS_BUILD_DIR/arrow
- brew update
- brew install bison flex llvm@7
Expand All @@ -52,15 +52,17 @@ script:
- mkdir -p dist
- dev/tasks/gandiva-jars/build-cpp-osx.sh || travis_terminate 1
- dev/tasks/gandiva-jars/build-java.sh || travis_terminate 1

deploy:
provider: releases
api_key: $CROSSBOW_GITHUB_TOKEN
file_glob: true
file: dist/*.jar
skip_cleanup: true
on:
tags: true
# deploy using crossbow
- brew install libgit2
- pip3 install click github3.py jinja2 jira pygit2 ruamel.yaml setuptools_scm toolz
- >
python3 dev/tasks/crossbow.py
--queue-path $TRAVIS_BUILD_DIR
--queue-remote {{ queue.remote_url }}
upload-artifacts
--sha {{ task.branch }}
--tag {{ task.tag }}
--pattern "dist/*.jar"
notifications:
email:
Expand Down

0 comments on commit c477183

Please sign in to comment.