-
Notifications
You must be signed in to change notification settings - Fork 4k
ARROW-15483: [Release] Revamp the verification scripts #12320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
c8a6c6c
Nightly verification tasks and conda-less verification
kszucs d90fdc2
Disable flaky JS test case
kszucs 2e6b5de
Refactor env setup
kszucs ae7bc15
Bundled GTest
kszucs 6ad8393
Fix M1 template
kszucs 3e69e7b
Missing target from M1 builds; missing certificates on almalinux
kszucs 8995ab1
Fix test paths
kszucs d342fea
Actually activate the virtualenv
kszucs d1a864a
Python38
kszucs 3679321
Note about removing .env parsing from cpp/CMakeLists.txt
kszucs 14d611e
Change uild path
kszucs b793c6e
Unquote variable in batch scripts
kszucs 5091c7b
Integration paths
kszucs 551aad6
Prefer conda llvm over system llvm if llvm source is set to conda
kszucs de5438b
Clone the testing submodules to the default locations
kszucs 1f7494f
Skip on missing python
kszucs 16130ce
Activate conda env after installing compilers package
kszucs 3a5863f
Testing data paths for windows
kszucs 4efc60e
Fix bash condition; disable plasma on M1
kszucs 2da1e14
Enable plasma by default
kszucs 3444d13
LLVM
kszucs dbc752b
delayed expansion
kszucs c62c6d6
Install nodejs and go using conda
kszucs 6413c98
Locate arrow-tools jars
kszucs bf0630b
LD_LIBRARY_PATH
kszucs 12008b1
CMake format
kszucs 8979215
Pin CMake version
kszucs 599a2da
Remove artifact argument from the verification script
kszucs 1c6264a
Address review comments
kszucs 9af80ae
More readable output
kszucs 5f85b9f
Missing venv; dotnet error in conda image
kszucs 7eda3da
Correctly select verification tasks in docker containers; don't build…
kszucs a84eb23
Fix c-glib conda build; fixed docker-compose config
kszucs 74a10fe
Fix c++ build dir
kszucs de8490a
Install yarn locally
kszucs 1f7a144
Install yarn globally only if it doesn't already exist
kszucs 7fd2ca9
Fix binary verification
kszucs c7c9b25
Define windows variables earlier
kszucs 727e012
update working directory for win tasks
kszucs acb65cc
Fixing a number of binary tests
kszucs 9db449e
Fix wheel verification env on macos
kszucs ca42bd0
Fix wheel verification
kszucs 2339925
Fix template for macos wheel verificaiton
kszucs 09bc398
Explicitly set PYTHONPATH in venv
kszucs 0337651
Missing parenthesis
kszucs 0055337
Set pythonpath instead of pythonhome
kszucs 6f6f422
Only set pythonpath for the c++ tests
kszucs e8c9754
optionally test plasma
kszucs 59771c8
restore archery python restriction
kszucs fa45c9b
Define dockerfiles for rc verification
kszucs f93d7d0
Fix crossbow template
kszucs 21b2074
Fix compose commands
kszucs b327ace
Missing python-dev
kszucs 51df8ac
Install llvm-12 in the ubuntu 18.04 image
kszucs 821caa0
CMake format
kszucs 1f558eb
Install tzdata
kszucs 7cce556
Install venv
kszucs 457a6a1
Remove comment
kszucs e3951e1
python3.7-venv
kszucs e202be7
Use ninja; upgrade pip in virtualenv
kszucs 66f824b
apply patch
kszucs cfe1f82
Actually exec c_glib tests
kszucs a2acdbb
address review comments
kszucs File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,57 @@ | ||
| # Licensed to the Apache Software Foundation (ASF) under one | ||
| # or more contributor license agreements. See the NOTICE file | ||
| # distributed with this work for additional information | ||
| # regarding copyright ownership. The ASF licenses this file | ||
| # to you under the Apache License, Version 2.0 (the | ||
| # "License"); you may not use this file except in compliance | ||
| # with the License. You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, | ||
| # software distributed under the License is distributed on an | ||
| # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| # KIND, either express or implied. See the License for the | ||
| # specific language governing permissions and limitations | ||
| # under the License. | ||
|
|
||
| ARG arch=amd64 | ||
| FROM ${arch}/almalinux:8 | ||
|
|
||
| # A script to install dependencies required for release | ||
| # verification Red Hat Enterprise Linux 8 clones in particular | ||
| # on AlmaLinux 8 and Rocky Linux 8 | ||
|
|
||
| RUN dnf -y install 'dnf-command(config-manager)' && \ | ||
| dnf config-manager --set-enabled powertools && \ | ||
| dnf -y update && \ | ||
| dnf -y module disable nodejs && \ | ||
| dnf -y module enable nodejs:16 && \ | ||
| dnf -y module disable ruby && \ | ||
| dnf -y module enable ruby:2.7 && \ | ||
| dnf -y groupinstall "Development Tools" && \ | ||
| dnf -y install \ | ||
| cmake \ | ||
| git \ | ||
| gobject-introspection-devel \ | ||
| java-1.8.0-openjdk-devel \ | ||
| libcurl-devel \ | ||
| llvm-devel \ | ||
| llvm-toolset \ | ||
| maven \ | ||
| ncurses-devel \ | ||
| ninja-build \ | ||
| nodejs \ | ||
| openssl-devel \ | ||
| python38-devel \ | ||
| python38-pip \ | ||
| ruby-devel \ | ||
| sqlite-devel \ | ||
| wget \ | ||
| which && \ | ||
| dnf -y clean all | ||
|
|
||
| RUN python3 -m pip install -U pip && \ | ||
| alternatives --set python /usr/bin/python3 | ||
|
|
||
| RUN npm install -g yarn |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,60 @@ | ||
| # Licensed to the Apache Software Foundation (ASF) under one | ||
| # or more contributor license agreements. See the NOTICE file | ||
| # distributed with this work for additional information | ||
| # regarding copyright ownership. The ASF licenses this file | ||
| # to you under the Apache License, Version 2.0 (the | ||
| # "License"); you may not use this file except in compliance | ||
| # with the License. You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, | ||
| # software distributed under the License is distributed on an | ||
| # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| # KIND, either express or implied. See the License for the | ||
| # specific language governing permissions and limitations | ||
| # under the License. | ||
|
|
||
| ARG arch=amd64 | ||
| FROM ${arch}/ubuntu:18.04 | ||
|
|
||
| ENV DEBIAN_FRONTEND=noninteractive | ||
|
|
||
| ARG llvm=12 | ||
| RUN apt-get update -y -q && \ | ||
| apt-get install -y -q --no-install-recommends \ | ||
| apt-transport-https \ | ||
| ca-certificates \ | ||
| gnupg \ | ||
| wget && \ | ||
| wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - && \ | ||
| echo "deb https://apt.llvm.org/bionic/ llvm-toolchain-bionic-${llvm} main" > \ | ||
| /etc/apt/sources.list.d/llvm.list && \ | ||
| apt-get update -y -q && \ | ||
| apt-get install -y -q --no-install-recommends \ | ||
| build-essential \ | ||
| clang \ | ||
| cmake \ | ||
| curl \ | ||
| git \ | ||
| libcurl4-openssl-dev \ | ||
| libgirepository1.0-dev \ | ||
| libglib2.0-dev \ | ||
| libsqlite3-dev \ | ||
| libssl-dev \ | ||
| llvm-${llvm}-dev \ | ||
| maven \ | ||
| ninja-build \ | ||
| openjdk-11-jdk \ | ||
| pkg-config \ | ||
| python3-pip \ | ||
| python3.8-dev \ | ||
| python3.8-venv \ | ||
| ruby-dev \ | ||
| wget \ | ||
| tzdata && \ | ||
| apt-get clean && \ | ||
| rm -rf /var/lib/apt/lists* | ||
|
|
||
| RUN python3.8 -m pip install -U pip && \ | ||
| update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| # Licensed to the Apache Software Foundation (ASF) under one | ||
| # or more contributor license agreements. See the NOTICE file | ||
| # distributed with this work for additional information | ||
| # regarding copyright ownership. The ASF licenses this file | ||
| # to you under the Apache License, Version 2.0 (the | ||
| # "License"); you may not use this file except in compliance | ||
| # with the License. You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, | ||
| # software distributed under the License is distributed on an | ||
| # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| # KIND, either express or implied. See the License for the | ||
| # specific language governing permissions and limitations | ||
| # under the License. | ||
|
|
||
| ARG arch=amd64 | ||
| FROM ${arch}/ubuntu:20.04 | ||
|
|
||
| ENV DEBIAN_FRONTEND=noninteractive | ||
| RUN apt-get update -y -q && \ | ||
| apt-get install -y -q --no-install-recommends \ | ||
| build-essential \ | ||
| clang \ | ||
| cmake \ | ||
| curl \ | ||
| git \ | ||
| libcurl4-openssl-dev \ | ||
| libgirepository1.0-dev \ | ||
| libglib2.0-dev \ | ||
| libsqlite3-dev \ | ||
| libssl-dev \ | ||
| llvm-dev \ | ||
| maven \ | ||
| ninja-build \ | ||
| openjdk-11-jdk \ | ||
| pkg-config \ | ||
| python3-dev \ | ||
| python3-pip \ | ||
| python3-venv \ | ||
| ruby-dev \ | ||
| wget && \ | ||
| apt-get clean && \ | ||
| rm -rf /var/lib/apt/lists* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,6 +25,7 @@ apt-get -y install \ | |
| cmake \ | ||
| curl \ | ||
| git \ | ||
| libcurl4-openssl-dev \ | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Required for bundled S3 |
||
| libgirepository1.0-dev \ | ||
| libglib2.0-dev \ | ||
| libsqlite3-dev \ | ||
|
|
@@ -35,5 +36,6 @@ apt-get -y install \ | |
| openjdk-11-jdk \ | ||
| pkg-config \ | ||
| python3-pip \ | ||
| python3-venv \ | ||
| ruby-dev \ | ||
| wget | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a particular reason to force Python 3.8 here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Becuase archery doesn't support python 3.6 anymore and I chose to pin 3.8.