Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions v/vert.x/vertx_ubi_8.5.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -----------------------------------------------------------------------------
#
# Package : vert.x
# Version : 4.3.7
# Version : 5.0.0
# Source repo : https://github.com/eclipse-vertx/vert.x
# Tested on : UBI 8.6
# Language : JAVA
Expand All @@ -19,12 +19,12 @@
# ----------------------------------------------------------------------------

PACKAGE_NAME=vert.x
PACKAGE_VERSION=${1:-4.3.7}
PACKAGE_VERSION=${1:-5.0.0}
PACKAGE_URL=https://github.com/eclipse-vertx/vert.x.git

yum update -y
yum install git wget gcc gcc-c++ openssl -y
dnf install java-1.8.0-openjdk-devel -y
dnf install java-17-openjdk-devel -y

dnf -y install maven

Expand All @@ -38,13 +38,13 @@ cd $PACKAGE_NAME

git checkout $PACKAGE_VERSION

if ! mvn package; then
if ! mvn package | tee build-quarkus.log; then
echo "------------------$PACKAGE_NAME:build_fails---------------------------------------"
echo "$PACKAGE_URL $PACKAGE_NAME"
exit 1
fi

if ! mvn test; then
if ! mvn test | tee -a build-quarkus.log; then
echo "------------------$PACKAGE_NAME:build_fails---------------------------------------"
echo "$PACKAGE_URL $PACKAGE_NAME"
exit 2
Expand Down
59 changes: 59 additions & 0 deletions v/vert.x/vertx_ubi_9.6.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
#!/bin/bash -e
# -----------------------------------------------------------------------------
#
# Package : vert.x
# Version : 5.0.0
# Source repo : https://github.com/eclipse-vertx/vert.x
# Tested on : UBI 9.6
# Language : JAVA
# Ci-Check : True
# Script License: Apache License, Version 2 or later
# Maintainer : Karanam Santhosh <Karanam.Santhosh@ibm.com>
#
# Disclaimer: This script has been tested in 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.
#
# ----------------------------------------------------------------------------

PACKAGE_NAME=vert.x
PACKAGE_VERSION=${1:-5.0.0}
PACKAGE_URL=https://github.com/eclipse-vertx/vert.x.git

yum update -y
yum install git wget gcc gcc-c++ -y
yum install openssl-devel -y
yum install java-17-openjdk java-17-openjdk-devel -y
export JAVA_HOME=/usr/lib/jvm/java-17-openjdk
export PATH=$JAVA_HOME/bin:$PATH

dnf -y install maven

if ! git clone $PACKAGE_URL; then
echo "------------------$PACKAGE_NAME:clone_fails---------------------------------------"
echo "$PACKAGE_URL $PACKAGE_NAME"
exit 0
fi

cd $PACKAGE_NAME

git checkout $PACKAGE_VERSION

if ! mvn package -Dtest='!FileSystemTest#testChownToRootFails'; then
echo "------------------$PACKAGE_NAME:build_fails---------------------------------------"
echo "$PACKAGE_URL $PACKAGE_NAME"
exit 1
fi

if ! mvn test -Dtest='!FileSystemTest#testChownToRootFails'; then
echo "------------------$PACKAGE_NAME:build_fails---------------------------------------"
echo "$PACKAGE_URL $PACKAGE_NAME"
exit 2
fi

#tests failing due to netty issue refer links for the same -
#https://github.com/netty/netty-tcnative/issues/531
#https://github.com/eclipse-vertx/vert.x/issues/4227
#https://github.com/netty/netty/issues/12432
Loading