Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
45e7c23
crossbow gardening and azure for linux packages
kszucs Sep 5, 2019
fa1860b
set ci to azure [skip ci]
kszucs Sep 5, 2019
632ebef
fix types
kszucs Sep 5, 2019
0fff4f9
use ubuntu-latest [skip ci]
kszucs Sep 5, 2019
c6ec845
default whitelists [skip ci]
kszucs Sep 5, 2019
551d98d
left print
kszucs Sep 5, 2019
a2bc9f7
debug pahts
kszucs Sep 6, 2019
3e708b0
correct requirements' path
kszucs Sep 6, 2019
d99c920
use conda-forge
kszucs Sep 6, 2019
f8828fe
update conda
kszucs Sep 6, 2019
ce4d923
don't set default origin
kszucs Sep 6, 2019
5ab7802
raise for missing remote just before pushing
kszucs Sep 6, 2019
740d148
remote [skip ci]
kszucs Sep 6, 2019
31469aa
branch detection [skip ci]
kszucs Sep 6, 2019
851ffcf
pass queue to the template; force remote_url [skip ci]
kszucs Sep 6, 2019
56df799
emnable build step [skip ci]
kszucs Sep 6, 2019
90c70bc
update conda templates [skip ci]
kszucs Sep 6, 2019
b8f363e
deploy from root [skip ci]
kszucs Sep 6, 2019
5b4ba1a
deploy conda pkgs from root [skip ci]
kszucs Sep 6, 2019
9a10c02
recursive glob [skip ci]
kszucs Sep 6, 2019
a9c401d
newlines
kszucs Sep 6, 2019
69f7cd8
Get packager information from the last commit [skip ci]
kou Sep 6, 2019
913c9f2
Add support for building deb for arm64 [skip ci]
kou Sep 6, 2019
6bb6a47
Update qemu-user-static URL [skip ci]
kou Sep 6, 2019
7bfb9c2
Enable debian-stretch-arm64 [skip ci]
kou Sep 7, 2019
3a3bead
Remove unused files
kou Sep 7, 2019
e74faf2
Add missing license header
kou Sep 7, 2019
8d52aa4
Fix format
kou Sep 7, 2019
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
Original file line number Diff line number Diff line change
Expand Up @@ -15,45 +15,11 @@
# specific language governing permissions and limitations
# under the License.

os: linux
dist: xenial
language: ruby

services:
- docker

# don't build twice
if: tag IS blank

env:
global:
- TRAVIS_TAG={{ task.tag }}
- BUILD_REF={{ arrow.head }}
- ARROW_VERSION={{ arrow.version }}

before_script:
- git clone --no-checkout {{ arrow.remote }} arrow
- git -C arrow fetch -t {{ arrow.remote }} {{ arrow.branch }}
- git -C arrow checkout FETCH_HEAD

script:
- pushd arrow/dev/tasks/linux-packages
- rake version:update
- rake dist
- {{ build_command }}

deploy:
provider: releases
api_key: $CROSSBOW_GITHUB_TOKEN
file_glob: true
file:
{% for extension in upload_extensions -%}
- "**/*{{ extension }}"
{% endfor -%}
skip_cleanup: true
on:
tags: true

notifications:
email:
- {{ job.email }}
click
github3.py
jinja2
jira
pygit2
ruamel.yaml
setuptools_scm
toolz
27 changes: 14 additions & 13 deletions dev/tasks/conda-recipes/azure.linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,23 +30,24 @@ jobs:
displayName: Run docker build
workingDirectory: arrow/dev/tasks/conda-recipes

# Using github release tries to find a common ancestor between the currently
# pushed tag and the latest tag of the github repository (don't know why).
# The tag upload took 43 minutes because of this scan, so use an alternative
# upload script.
- task: UsePythonVersion@0
# Using github release tries to find a common ancestor between the
# currently pushed tag and the latest tag of the github repository
# (don't know why).
# The tag upload took 43 minutes because of this scan, so use an
# alternative upload script.
- task: CondaEnvironment@1
inputs:
versionSpec: '3.6'
architecture: 'x64'

packageSpecs: 'click github3.py jinja2 jira pygit2 ruamel.yaml setuptools_scm toolz'
installOptions: '-c conda-forge'
updateConda: false
- script: |
python -m pip install github3-py click
python upload-assets.py \
python arrow/dev/tasks/crossbow.py \
--queue-path . \
--queue-remote {{ queue.remote_url }} \
upload-artifacts \
--sha {{ task.branch }} \
--tag {{ task.tag }} \
--pattern "conda-recipes/build_artifacts/linux-64/*.tar.bz2"
--pattern "arrow/dev/tasks/conda-recipes/build_artifacts/linux-64/*.tar.bz2"
env:
CROSSBOW_GITHUB_REPO: $(Build.Repository.Name)
CROSSBOW_GITHUB_TOKEN: $(CROSSBOW_GITHUB_TOKEN)
displayName: Upload packages as a GitHub release
workingDirectory: arrow/dev/tasks
25 changes: 15 additions & 10 deletions dev/tasks/conda-recipes/azure.osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,19 +73,24 @@ jobs:
workingDirectory: arrow/dev/tasks/conda-recipes
displayName: Build recipes

# Using github release tries to find a common ancestor between the currently
# pushed tag and the latest tag of the github repository (don't know why).
# The tag upload took 43 minutes because of this scan, so use an alternative
# upload script.
# Using github release tries to find a common ancestor between the
# currently pushed tag and the latest tag of the github repository
# (don't know why).
# The tag upload took 43 minutes because of this scan, so use an
# alternative upload script.
- task: CondaEnvironment@1
inputs:
packageSpecs: 'click github3.py jinja2 jira pygit2 ruamel.yaml setuptools_scm toolz'
installOptions: '-c conda-forge'
updateConda: false
- script: |
source activate base
conda install -c conda-forge -y github3.py click
python upload-assets.py \
python arrow/dev/tasks/crossbow.py \
--queue-path . \
--queue-remote {{ queue.remote_url }} \
upload-artifacts \
--sha {{ task.branch }} \
--tag {{ task.tag }} \
--pattern "conda-recipes/build_artifacts/osx-64/*.tar.bz2"
--pattern "arrow/dev/tasks/conda-recipes/build_artifacts/osx-64/*.tar.bz2"
env:
CROSSBOW_GITHUB_REPO: $(Build.Repository.Name)
CROSSBOW_GITHUB_TOKEN: $(CROSSBOW_GITHUB_TOKEN)
displayName: Upload packages as a GitHub release
workingDirectory: arrow/dev/tasks
26 changes: 14 additions & 12 deletions dev/tasks/conda-recipes/azure.win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,22 +88,24 @@ jobs:
PYTHONUNBUFFERED: 1
condition: not(contains(variables['CONFIG'], 'vs2008'))

# Using github release tries to find a common ancestor between the currently
# pushed tag and the latest tag of the github repository (don't know why).
# The tag upload took 43 minutes because of this scan, so use an alternative upload script.
- task: UsePythonVersion@0
# Using github release tries to find a common ancestor between the
# currently pushed tag and the latest tag of the github repository
# (don't know why).
# The tag upload took 43 minutes because of this scan, so use an
# alternative upload script.
- task: CondaEnvironment@1
inputs:
versionSpec: '3.6'
architecture: 'x64'

packageSpecs: 'click github3.py jinja2 jira pygit2 ruamel.yaml setuptools_scm toolz'
installOptions: '-c conda-forge'
updateConda: false
- script: |
python -m pip install github3-py click
python upload-assets.py \
python arrow/dev/tasks/crossbow.py \
--queue-path . \
--queue-remote {{ queue.remote_url }} \
upload-artifacts \
--sha {{ task.branch }} \
--tag {{ task.tag }} \
--pattern "conda-recipes/build_artifacts/*.tar.bz2"
--pattern "arrow/dev/tasks/conda-recipes/build_artifacts/win-64/*.tar.bz2"
env:
CROSSBOW_GITHUB_REPO: $(Build.Repository.Name)
CROSSBOW_GITHUB_TOKEN: $(CROSSBOW_GITHUB_TOKEN)
displayName: Upload packages as a GitHub release
workingDirectory: arrow/dev/tasks
Loading