bkmgit commented on a change in pull request #11562: URL: https://github.com/apache/arrow/pull/11562#discussion_r741822998
########## File path: dev/tasks/verify-rc-alma/action.yml ########## @@ -0,0 +1,34 @@ +# Licensed to the Apache Software Foundation (ASF) under one Review comment: Ok ########## File path: dev/release/setup-AlmaLinux-Rocky-Linux.sh ########## @@ -0,0 +1,56 @@ +# 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. + + +# A script to install dependencies required for release +# verification on AlmaLinux 8 and Rocky Linux 8 Review comment: Have used `setup-rhel-clones.sh` ########## File path: dev/release/VERIFY.md ########## @@ -74,3 +74,26 @@ You need to set `PKG_CONFIG_PATH` to find libffi on macOS: ```console % export PKG_CONFIG_PATH=$(brew --prefix libffi)/lib/pkgconfig:$PKG_CONFIG_PATH ``` + +### C++, C#, C GLib, Go, JavaScript, Python, Ruby + +Example scripts to install the dependencies to run the verification +script for verifying the source on Ubuntu 20.04, Rocky Linux 8 and +AlmaLinux 8 are in this folder and named `setup-Ubuntu.sh` and +`setup-AlmaLinux-Rocky-Linux.sh`. These can be adapted to different Review comment: done ########## File path: dev/release/setup-AlmaLinux-Rocky-Linux.sh ########## @@ -0,0 +1,56 @@ +# 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. + + +# A script to install dependencies required for release +# verification on AlmaLinux 8 and Rocky Linux 8 + +if [ $# -lt 2 ]; then + echo "Usage: $0 VERSION rc" + echo " $0 VERSION staging-rc" + echo " $0 VERSION release" + echo " $0 VERSION staging-release" + echo " $0 VERSION local" + echo " e.g.: $0 0.13.0 3 # Verify 0.13.0 3" + echo " e.g.: $0 0.13.0 staging-rc # Verify 0.13.0 RC on staging" + echo " e.g.: $0 0.13.0 release # Verify 0.13.0" + echo " e.g.: $0 0.13.0 staging-release # Verify 0.13.0 on staging" + echo " e.g.: $0 0.13.0-dev20210203 local # Verify 0.13.0-dev20210203 on local" + exit 1 +fi + +VERSION="$1" +TYPE="$2" + +sudo dnf -y update +sudo dnf clean all +sudo dnf -y install dnf-plugins-core +sudo dnf config-manager --set-enabled powertools +sudo dnf update +sudo dnf -y install \ + https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm +sudo dnf -y install ninja-build libcurl-devel python3-pip cmake git +sudo dnf -y ncurses-devel gobject-introspection-devel libffi-devel +sudo dnf -y install openssl-devel maven java-1.8.0-openjdk-devel +sudo dnf install -y yum-utils readline-devel gdbm-devel ruby-devel +sudo dnf -y groupinstall "Development Tools" +sudo dnf -y module enable llvm-toolset +sudo dnf -y module install llvm-toolset +sudo dnf -y install llvm-devel +git clone https://github.com/apache/arrow +cd arrow/ +dev/release/verify-release-candidate.sh source $VERSION $TYPE Review comment: ok ########## File path: dev/release/setup-AlmaLinux-Rocky-Linux.sh ########## @@ -0,0 +1,56 @@ +# 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. + + +# A script to install dependencies required for release +# verification on AlmaLinux 8 and Rocky Linux 8 + +if [ $# -lt 2 ]; then + echo "Usage: $0 VERSION rc" + echo " $0 VERSION staging-rc" + echo " $0 VERSION release" + echo " $0 VERSION staging-release" + echo " $0 VERSION local" + echo " e.g.: $0 0.13.0 3 # Verify 0.13.0 3" + echo " e.g.: $0 0.13.0 staging-rc # Verify 0.13.0 RC on staging" + echo " e.g.: $0 0.13.0 release # Verify 0.13.0" + echo " e.g.: $0 0.13.0 staging-release # Verify 0.13.0 on staging" + echo " e.g.: $0 0.13.0-dev20210203 local # Verify 0.13.0-dev20210203 on local" + exit 1 +fi + +VERSION="$1" +TYPE="$2" + +sudo dnf -y update +sudo dnf clean all +sudo dnf -y install dnf-plugins-core +sudo dnf config-manager --set-enabled powertools +sudo dnf update +sudo dnf -y install \ + https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm Review comment: Done. ########## File path: dev/release/setup-AlmaLinux-Rocky-Linux.sh ########## @@ -0,0 +1,56 @@ +# 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. + + +# A script to install dependencies required for release +# verification on AlmaLinux 8 and Rocky Linux 8 + +if [ $# -lt 2 ]; then + echo "Usage: $0 VERSION rc" + echo " $0 VERSION staging-rc" + echo " $0 VERSION release" + echo " $0 VERSION staging-release" + echo " $0 VERSION local" + echo " e.g.: $0 0.13.0 3 # Verify 0.13.0 3" + echo " e.g.: $0 0.13.0 staging-rc # Verify 0.13.0 RC on staging" + echo " e.g.: $0 0.13.0 release # Verify 0.13.0" + echo " e.g.: $0 0.13.0 staging-release # Verify 0.13.0 on staging" + echo " e.g.: $0 0.13.0-dev20210203 local # Verify 0.13.0-dev20210203 on local" + exit 1 +fi + +VERSION="$1" +TYPE="$2" + +sudo dnf -y update +sudo dnf clean all +sudo dnf -y install dnf-plugins-core +sudo dnf config-manager --set-enabled powertools +sudo dnf update +sudo dnf -y install \ + https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm +sudo dnf -y install ninja-build libcurl-devel python3-pip cmake git +sudo dnf -y ncurses-devel gobject-introspection-devel libffi-devel +sudo dnf -y install openssl-devel maven java-1.8.0-openjdk-devel +sudo dnf install -y yum-utils readline-devel gdbm-devel ruby-devel +sudo dnf -y groupinstall "Development Tools" +sudo dnf -y module enable llvm-toolset +sudo dnf -y module install llvm-toolset Review comment: ok, can install directly. ########## File path: dev/tasks/verify-rc-alma/setup-AlmaLinux-Rocky-Linux.sh ########## @@ -0,0 +1,59 @@ +#!/bin/sh -l Review comment: ok ########## File path: dev/tasks/verify-rc-alma/Dockerfile ########## @@ -0,0 +1,8 @@ +# Container image that runs +FROM almalinux:8.4 + +# Copy script into container +COPY setup-AlmaLinux-Rocky-Linux.sh /setup-AlmaLinux-Rocky-Linux.sh + +# Execute script +ENTRYPOINT ["/setup-AlmaLinux-Rocky-Linux.sh"] Review comment: Ok. Maybe a verification script for a Docker image can be created in a separate issue? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org