-
Notifications
You must be signed in to change notification settings - Fork 435
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
[CI][VL] Re-enable a build job running on clean dockers weekly #6424
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
e6617a2
Initial
PHILO-HE 15e3099
Fix comment
PHILO-HE 6b8bfb8
Fix failure
PHILO-HE da5da1c
Remove useless change
PHILO-HE c2c63f1
Move protobuf setup prior to hdfs setup
PHILO-HE 9d07155
Fix build
PHILO-HE 53c7787
Move dependencies setup out from subshell
PHILO-HE 27b1f60
Fix centos
PHILO-HE d0486c0
Minor change
PHILO-HE 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 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 |
---|---|---|
|
@@ -13,14 +13,17 @@ | |
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
name: Velox backend nightly job | ||
name: Velox backend weekly job | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- '.github/workflows/velox_nightly.yml' | ||
- '.github/workflows/velox_weekly.yml' | ||
schedule: | ||
- cron: '0 20 * * *' | ||
- cron: '0 20 * * 0' | ||
|
||
env: | ||
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true | ||
|
||
concurrency: | ||
group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }} | ||
|
@@ -37,25 +40,28 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Update mirror list | ||
if: matrix.os == 'centos:8' | ||
run: | | ||
sed -i -e "s|mirrorlist=|#mirrorlist=|g" /etc/yum.repos.d/CentOS-* || true | ||
sed -i -e "s|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g" /etc/yum.repos.d/CentOS-* || true | ||
- name: build | ||
run: | | ||
yum update -y | ||
yum install -y epel-release sudo dnf | ||
if [ "${{ matrix.os }}" = "centos:8" ]; then | ||
if [ "${{ matrix.os }}" = "centos:7" ]; then | ||
yum install -y centos-release-scl | ||
rm /etc/yum.repos.d/CentOS-SCLo-scl.repo -f | ||
sed -i \ | ||
-e 's/^mirrorlist/#mirrorlist/' \ | ||
-e 's/^#baseurl/baseurl/' \ | ||
-e 's/mirror\.centos\.org/vault.centos.org/' \ | ||
/etc/yum.repos.d/CentOS-SCLo-scl-rh.repo | ||
else | ||
dnf install -y --setopt=install_weak_deps=False gcc-toolset-9 | ||
source /opt/rh/gcc-toolset-9/enable || exit 1 | ||
else | ||
yum install -y centos-release-scl | ||
yum install -y devtoolset-9 | ||
source /opt/rh/devtoolset-9/enable || exit 1 | ||
fi | ||
yum install -y java-1.8.0-openjdk-devel patch wget git && \ | ||
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. The epel release needs the new mirror also
|
||
yum install -y java-1.8.0-openjdk-devel patch wget git | ||
export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk && \ | ||
export PATH=$JAVA_HOME/bin:$PATH && \ | ||
export PATH=$JAVA_HOME/bin:$PATH | ||
wget --no-check-certificate https://downloads.apache.org/maven/maven-3/3.8.8/binaries/apache-maven-3.8.8-bin.tar.gz && \ | ||
tar -xvf apache-maven-3.8.8-bin.tar.gz && \ | ||
mv apache-maven-3.8.8 /usr/lib/maven && \ | ||
|
@@ -76,7 +82,8 @@ jobs: | |
- name: build | ||
run: | | ||
# To avoid the prompt for region selection during installing tzdata. | ||
export DEBIAN_FRONTEND="noninteractive" | ||
apt-get update && apt-get install -y sudo openjdk-8-jdk maven wget git | ||
export DEBIAN_FRONTEND=noninteractive | ||
apt-get update && apt-get install -y sudo maven wget git | ||
sudo apt-get install -y openjdk-8-jdk | ||
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 | ||
cd $GITHUB_WORKSPACE/ && ./dev/package.sh |
This file contains 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 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.
Please add env to bypass the nodejs issue