Skip to content

Commit 2e6322c

Browse files
authored
Bug Fix: Installer script and DockerFile fixes for gather assessment metadata scripts (#1445)
* Bug fix: installer script for installing latest scripts for gathering assessment metadata * Changed commit for fetching the gather-assessment-metadata.tar.gz * Add `rsync` to Dockerfile apt-get install to run installing latest scripts for gathering assessment data with local
1 parent 2510f07 commit 2e6322c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docker/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ENV LC_ALL en_US.UTF-8
1010
RUN apt-get update && apt-get install -y curl perl make libdbi-perl locales && \
1111
curl -L https://cpanmin.us | perl - --self-upgrade && \
1212
ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && \
13-
apt-get install -y tzdata wget openjdk-17-jre git sudo gcc && \
13+
apt-get install -y tzdata wget rsync openjdk-17-jre git sudo gcc && \
1414
apt-get upgrade -y binutils && \
1515
curl -sL https://aka.ms/InstallAzureCLIDeb | bash && \
1616
git clone https://github.com/yugabyte/yb-voyager.git && \

installer_scripts/install-yb-voyager

+2-2
Original file line numberDiff line numberDiff line change
@@ -759,15 +759,15 @@ create_pg_dump_args_file() {
759759

760760
create_gather_assessment_metadata_dir() {
761761
scripts_parent_dir="/etc/yb-voyager"
762-
scripts_dir_path="yb-voyager/src/srcdb/data/"
762+
scripts_dir_path="yb-voyager/src/srcdb/data"
763763
scripts_dir_name="gather-assessment-metadata"
764764
sudo mkdir -p $scripts_parent_dir
765765

766766
output "Installing the latest scripts for gathering assessment metadata"
767767
if [ "${VERSION}" == "latest" ]
768768
then
769769
# TODO: Replace the YB_VOYAGER_GIT_HASH_TEMP with the release tagged YB_VOYAGER_GIT_HASH
770-
YB_VOYAGER_GIT_HASH_TEMP="96eb3de7374e52279382c0fb01cf74bc5f9bb3fe"
770+
YB_VOYAGER_GIT_HASH_TEMP="bd6c645fb233880d282c9691a7df6583bea0ec06"
771771
TAR_URL="https://github.com/yugabyte/yb-voyager/raw/$YB_VOYAGER_GIT_HASH_TEMP/$scripts_dir_path/${scripts_dir_name}.tar.gz"
772772
sudo wget -nv -O /tmp/${scripts_dir_name}.tar.gz $TAR_URL
773773
sudo tar -xzf /tmp/${scripts_dir_name}.tar.gz -C $scripts_parent_dir 1>&2

0 commit comments

Comments
 (0)