Skip to content
This repository was archived by the owner on Oct 21, 2024. It is now read-only.

Commit 2a2d7c3

Browse files
committed
deploy using crossbow
1 parent c00dfe8 commit 2a2d7c3

File tree

1 file changed

+22
-20
lines changed

1 file changed

+22
-20
lines changed

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

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -37,30 +37,32 @@ before_script:
3737
- git -C arrow fetch -t {{ arrow.remote }} {{ arrow.branch }}
3838
- if [ $CROSSBOW_USE_COMMIT_ID = true ]; then git -C arrow checkout {{ arrow.head }}; else git -C arrow checkout FETCH_HEAD; fi
3939

40-
- export TRAVIS_BUILD_DIR=$TRAVIS_BUILD_DIR/arrow
41-
- brew update
42-
- brew install bison flex llvm@7
43-
- brew tap adoptopenjdk/openjdk
44-
- brew cask install adoptopenjdk8
45-
- export JAVA_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home
46-
- export PATH="$JAVA_HOME/bin:$PATH"
47-
- echo $JAVA_HOME
48-
- which java
40+
# - export TRAVIS_BUILD_DIR=$TRAVIS_BUILD_DIR/arrow
41+
# - brew update
42+
# - brew install bison flex llvm@7
43+
# - brew tap adoptopenjdk/openjdk
44+
# - brew cask install adoptopenjdk8
45+
# - export JAVA_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home
46+
# - export PATH="$JAVA_HOME/bin:$PATH"
47+
# - echo $JAVA_HOME
48+
# - which java
4949

5050
script:
5151
- cd arrow
5252
- mkdir -p dist
53-
- dev/tasks/gandiva-jars/build-cpp-osx.sh || travis_terminate 1
54-
- 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
53+
# - dev/tasks/gandiva-jars/build-cpp-osx.sh || travis_terminate 1
54+
# - dev/tasks/gandiva-jars/build-java.sh || travis_terminate 1
55+
- echo "gandiva" > dist/test.jar
56+
# deploy using crossbow
57+
- brew install libgit2 python3
58+
- pip3 install click github3.py jinja2 jira pygit2 ruamel.yaml setuptools_scm toolz
59+
- python arrow/dev/tasks/crossbow.py \
60+
--queue-path . \
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)