diff --git a/sentry-python_ubi_8.4.sh b/sentry-python_ubi_8.4.sh new file mode 100644 index 0000000000..a8d0fddb5a --- /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 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 + + +# 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 + +pip3 install tox + +ret=$? + +if [ $ret -ne 0 ] ; then + echo "dependency python pkg install failed " + exit +else + tox -e py3.6 +fi 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