From 5675720f9cb42e7183f664501dd01998caa11f56 Mon Sep 17 00:00:00 2001 From: santosh653 <70637961+santosh653@users.noreply.github.com> Date: Thu, 9 Sep 2021 11:08:17 +0530 Subject: [PATCH 1/3] Create sentry-sdk_ubi_8.4.sh add --- sentry-sdk/sentry-sdk_ubi_8.4.sh | 60 ++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 sentry-sdk/sentry-sdk_ubi_8.4.sh diff --git a/sentry-sdk/sentry-sdk_ubi_8.4.sh b/sentry-sdk/sentry-sdk_ubi_8.4.sh new file mode 100644 index 0000000000..69f2338b69 --- /dev/null +++ b/sentry-sdk/sentry-sdk_ubi_8.4.sh @@ -0,0 +1,60 @@ +# ---------------------------------------------------------------------------- +# +# Package : sentry-sdk +# Version : 1.3.1 +# Source repo : https://github.com/getsentry/sentry-python +# Tested on : UBI 8.4 +# Script License: Apache License, Version 2 or later +# Maintainer : Santosh Kulkarni +# +# Disclaimer: This script has been tested in non-root mode on given +# ========== platform using the mentioned version of the package. +# It may not work as expected with newer versions of the +# package and/or distribution. In such case, please +# contact "Maintainer" of this script. +# +# ---------------------------------------------------------------------------- +#!/bin/bash + +if [ -z "$1" ]; then + export VERSION=master +else + export VERSION=$1 +fi + +if [ -d "sentry-python" ] ; then + rm -rf sentry-python +fi + +# Install Dependent S/W +sudo dnf install -y python36 +sudo dnf install -y git +sudo dnf install -y wget + +# Download the repos +git clone https://github.com/getsentry/sentry-python + + +# Build and Test sentry-python +cd sentry-python +git checkout $VERSION + +ret=$? + +if [ $ret -eq 0 ] ; then + echo "$Version found to checkout " +else + echo "$Version not found " + exit +fi + +sudo pip3 install tox + +ret=$? + +if [ $ret -ne 0 ] ; then + echo "dependency python pkg install failed " + exit +else + tox -e py36 +fi From 84422096e467d1168d43a720f55edd528d9e81b3 Mon Sep 17 00:00:00 2001 From: santosh653 <70637961+santosh653@users.noreply.github.com> Date: Thu, 9 Sep 2021 12:31:05 +0530 Subject: [PATCH 2/3] Create sentry-python_ubi_8.4.sh df --- sentry-python_ubi_8.4.sh | 60 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 sentry-python_ubi_8.4.sh diff --git a/sentry-python_ubi_8.4.sh b/sentry-python_ubi_8.4.sh new file mode 100644 index 0000000000..69f2338b69 --- /dev/null +++ b/sentry-python_ubi_8.4.sh @@ -0,0 +1,60 @@ +# ---------------------------------------------------------------------------- +# +# Package : sentry-sdk +# Version : 1.3.1 +# Source repo : https://github.com/getsentry/sentry-python +# Tested on : UBI 8.4 +# Script License: Apache License, Version 2 or later +# Maintainer : Santosh Kulkarni +# +# Disclaimer: This script has been tested in non-root mode on given +# ========== platform using the mentioned version of the package. +# It may not work as expected with newer versions of the +# package and/or distribution. In such case, please +# contact "Maintainer" of this script. +# +# ---------------------------------------------------------------------------- +#!/bin/bash + +if [ -z "$1" ]; then + export VERSION=master +else + export VERSION=$1 +fi + +if [ -d "sentry-python" ] ; then + rm -rf sentry-python +fi + +# Install Dependent S/W +sudo dnf install -y python36 +sudo dnf install -y git +sudo dnf install -y wget + +# Download the repos +git clone https://github.com/getsentry/sentry-python + + +# Build and Test sentry-python +cd sentry-python +git checkout $VERSION + +ret=$? + +if [ $ret -eq 0 ] ; then + echo "$Version found to checkout " +else + echo "$Version not found " + exit +fi + +sudo pip3 install tox + +ret=$? + +if [ $ret -ne 0 ] ; then + echo "dependency python pkg install failed " + exit +else + tox -e py36 +fi From 7eaf722b5b83ba8369a79ddf8994bfc4b90d1bd8 Mon Sep 17 00:00:00 2001 From: santosh653 <70637961+santosh653@users.noreply.github.com> Date: Tue, 21 Sep 2021 11:32:36 +0530 Subject: [PATCH 3/3] Update sentry-python_ubi_8.4.sh add --- sentry-python_ubi_8.4.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sentry-python_ubi_8.4.sh b/sentry-python_ubi_8.4.sh index 69f2338b69..a8d0fddb5a 100644 --- a/sentry-python_ubi_8.4.sh +++ b/sentry-python_ubi_8.4.sh @@ -27,9 +27,9 @@ if [ -d "sentry-python" ] ; then fi # Install Dependent S/W -sudo dnf install -y python36 -sudo dnf install -y git sudo dnf install -y wget +yum update +yum install -y git python36 make python3-devel gcc gcc-c++ # Download the repos git clone https://github.com/getsentry/sentry-python @@ -48,7 +48,7 @@ else exit fi -sudo pip3 install tox +pip3 install tox ret=$? @@ -56,5 +56,5 @@ if [ $ret -ne 0 ] ; then echo "dependency python pkg install failed " exit else - tox -e py36 + tox -e py3.6 fi