From 2bec5fa8815470e50fd8981e3bcbf00c60fb015c Mon Sep 17 00:00:00 2001 From: Sachin Sundar P S Date: Mon, 7 Feb 2022 12:40:46 -0800 Subject: [PATCH 1/3] Fix travisCI build issue in wget. --- .travis.yml | 2 ++ bootstrap.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a2e53bda..ddb19499 100644 --- a/.travis.yml +++ b/.travis.yml @@ -58,6 +58,8 @@ matrix: - sudo apt-get install -y ca-certificates - sudo apt-get install python3 - sudo apt-get -y install python3-pip + - sudo apt-get install wget + - sudo update-ca-certificates -f -v - pip3 --version - pip3 install --user awscli - mkdir -p ~/.aws diff --git a/bootstrap.sh b/bootstrap.sh index 9d878a5e..2b7790bb 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -89,7 +89,7 @@ function _curl { } cd $INSTALL_DIR -wget -P $INSTALL_DIR $CA_CERT +wget -P --no-check-certificate $INSTALL_DIR $CA_CERT function conf { if [[ "$OSTYPE" == "darwin"* ]]; then From 522bb68686460adbf443d8f8b8d34c859b75e383 Mon Sep 17 00:00:00 2001 From: Sachin Sundar P S Date: Mon, 7 Feb 2022 12:48:34 -0800 Subject: [PATCH 2/3] Fix travisCI build for ca-cert --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ddb19499..44bc27dc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -59,7 +59,6 @@ matrix: - sudo apt-get install python3 - sudo apt-get -y install python3-pip - sudo apt-get install wget - - sudo update-ca-certificates -f -v - pip3 --version - pip3 install --user awscli - mkdir -p ~/.aws From d3f1d3801442a8248608d4510b79f04077efdd94 Mon Sep 17 00:00:00 2001 From: Sachin Sundar P S Date: Mon, 7 Feb 2022 13:37:33 -0800 Subject: [PATCH 3/3] Fix travisCI builds --- .travis.yml | 3 +-- bootstrap.sh | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 44bc27dc..b63122d6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -58,7 +58,6 @@ matrix: - sudo apt-get install -y ca-certificates - sudo apt-get install python3 - sudo apt-get -y install python3-pip - - sudo apt-get install wget - pip3 --version - pip3 install --user awscli - mkdir -p ~/.aws @@ -81,7 +80,7 @@ matrix: - ls - df -h - echo "Building KPL in current directory in the Container..." - - docker run --memory 9g -v $(pwd):/kpl -it amazonlinux:2 /bin/bash -c "export AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY && export AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID && yum install -y -q cmake3 gcc gcc-c++ make file tar gzip which perl git libuuid libuuid-devel maven zlib zlib-devel zlib-static && cd /kpl && ls && ./bootstrap.sh" + - docker run --memory 9g -v $(pwd):/kpl -it amazonlinux:2 /bin/bash -c "export AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY && export AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID && yum install -y -q cmake3 gcc gcc-c++ make file tar gzip which perl git libuuid libuuid-devel maven zlib zlib-devel zlib-static wget && cd /kpl && ls && ./bootstrap.sh" - cd java/amazon-kinesis-producer/src/main/resources/amazon-kinesis-producer-native-binaries/$TRAVIS_OS_NAME-`uname -m` - ls - sudo zip kinesis-producer.zip kinesis_producer diff --git a/bootstrap.sh b/bootstrap.sh index 2b7790bb..877b1b2e 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -89,7 +89,7 @@ function _curl { } cd $INSTALL_DIR -wget -P --no-check-certificate $INSTALL_DIR $CA_CERT +wget --no-check-certificate -P $INSTALL_DIR $CA_CERT function conf { if [[ "$OSTYPE" == "darwin"* ]]; then