Skip to content

Commit

Permalink
[BACKPORT 2.18.8] [PLAT-14543] Build break fix for centos7
Browse files Browse the repository at this point in the history
Summary: Original diff: https://phorge.dev.yugabyte.com/D36280

Test Plan: dev itest

Reviewers: muthu, dshubin, steve.varnau, cwang

Reviewed By: steve.varnau, cwang

Subscribers: jharveysmith, yugaware

Tags: #jenkins-ready

Differential Revision: https://phorge.dev.yugabyte.com/D36533
  • Loading branch information
iSignal committed Jul 12, 2024
1 parent 86841bc commit 5d4240c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
6 changes: 6 additions & 0 deletions managed/devops/pex/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Get the latest docker image
FROM quay.io/pypa/manylinux2014_x86_64


RUN sed -i 's/mirrorlist=/#mirrorlist=/g' /etc/yum.repos.d/CentOS-*
RUN sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' \
/etc/yum.repos.d/CentOS-*


# Perform general yum updates
RUN yum --enablerepo=extras -y install epel-release python3-pip
RUN pip3 install --upgrade pip
Expand Down
6 changes: 3 additions & 3 deletions managed/devops/yb_release
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ activate_virtualenv
bin/install_ansible_requirements.sh --force

# Python modules build for yugabundle.
cd "$yb_devops_home"
docker build -t "$DOCKER_VENV_IMAGE_NAME" .
docker run -v "$yb_devops_home:/devops" -u "$UID:$(id -g $UID)" "$DOCKER_VENV_IMAGE_NAME"
# cd "$yb_devops_home"
# docker build -t "$DOCKER_VENV_IMAGE_NAME" .
# docker run -v "$yb_devops_home:/devops" -u "$UID:$(id -g $UID)" "$DOCKER_VENV_IMAGE_NAME"

# PEX virtual env build for other deployments.
cd "$yb_devops_home/pex"
Expand Down
1 change: 0 additions & 1 deletion managed/devops/yb_release_manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"destroy-instance.yml",
"python_requirements_frozen.txt",
"python3_requirements_frozen.txt",
"python*_modules.tar.gz",
"preprovision.yml",
"use_custom_ssh_port.yml",
"yb-server-ctl.yml",
Expand Down

0 comments on commit 5d4240c

Please sign in to comment.