diff --git a/.github/workflows/generate_jar.yaml b/.github/workflows/generate_jar.yaml new file mode 100644 index 00000000..cc199f3b --- /dev/null +++ b/.github/workflows/generate_jar.yaml @@ -0,0 +1,56 @@ +name: Trigger Crossbow build + +on: workflow_dispatch + +env: + CROSSBOW_GITHUB_TOKEN: ${{ secrets.CROSSBOW_GITHUB_TOKEN }} + +jobs: + trigger-crossbow: + name: Trigger Crossbow + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + ref: 'master' + fetch-depth: 0 + - name: Install Conda + run: | + set -e + echo "" + echo "Installing a fresh version of Miniconda." + MINICONDA_URL="https://repo.continuum.io/miniconda" + MINICONDA_FILE="Miniconda3-latest-Linux-x86_64.sh" + curl -L -O "${MINICONDA_URL}/${MINICONDA_FILE}" + bash $MINICONDA_FILE -b + - name: Configuring Conda + run: | + set -e + echo "" + echo "Configuring conda." + source /home/runner/miniconda3/bin/activate root + conda config --remove channels defaults + conda config --add channels defaults + conda config --add channels conda-forge + conda config --set show_channel_urls true + - name: Install packages + run: | + set -e + source /home/runner/miniconda3/bin/activate root + conda install -y \ + click \ + github3.py \ + jinja2 \ + jira \ + pygit2=1.5.0 \ + ruamel.yaml \ + setuptools_scm \ + toolz + - name: Run Crossbow script + run: | + set -e + pushd .. + source /home/runner/miniconda3/bin/activate root + git clone -b release-2200 https://github.com/dremio/arrow.git + pip install -e arrow/dev/archery[crossbow] + archery crossbow --queue-path $GITHUB_WORKSPACE --queue-remote https://github.com/$GITHUB_REPOSITORY submit java-jars --job-prefix nightly diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 7045faec..00000000 --- a/.travis.yml +++ /dev/null @@ -1,39 +0,0 @@ -branches: - except: - - "/.*win.*/" -os: linux -dist: trusty -language: generic -before_install: -- echo `pwd` -- | - echo "" - echo "Installing a fresh version of Miniconda." - MINICONDA_URL="https://repo.continuum.io/miniconda" - MINICONDA_FILE="Miniconda3-latest-Linux-x86_64.sh" - curl -L -O "${MINICONDA_URL}/${MINICONDA_FILE}" - bash $MINICONDA_FILE -b -- | - echo "" - echo "Configuring conda." - source /home/travis/miniconda3/bin/activate root - conda config --remove channels defaults - conda config --add channels defaults - conda config --add channels conda-forge - conda config --set show_channel_urls true -install: -- | - conda install -y \ - jinja2 \ - pygit2 \ - click \ - jira \ - toolz \ - ruamel.yaml \ - setuptools_scm \ - github3.py \ - python-gnupg -script: -- pushd .. -- git clone -b master https://github.com/apache/arrow -- python arrow/dev/tasks/crossbow.py --queue-path $TRAVIS_BUILD_DIR --queue-remote https://github.com/$TRAVIS_REPO_SLUG submit --job-prefix nightly -g gandiva