Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions .github/workflows/generate_jar.yaml
Original file line number Diff line number Diff line change
@@ -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
39 changes: 0 additions & 39 deletions .travis.yml

This file was deleted.