Skip to content

Commit

Permalink
Revert "Retry enabling Keycloak rebuild + testsuite run on s390x"
Browse files Browse the repository at this point in the history
This reverts commit b5a7f8d.

Signed-off-by: Marko Strukelj <marko.strukelj@gmail.com>
  • Loading branch information
mstruk committed Feb 4, 2024
1 parent 6e0e73d commit f2efeab
Showing 1 changed file with 1 addition and 27 deletions.
28 changes: 1 addition & 27 deletions .travis/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,33 +48,7 @@ if [ "$arch" != 'ppc64le' ]; then
fi

# Run testsuite
if [ "$arch" == 's390x' ]; then
# Build s390x compatible hydra image
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/s390x-linux-gnu/jni

cd target
git clone -b 23.0.5 https://github.com/keycloak/keycloak.git
cd keycloak
mvn -q -pl quarkus/deployment,quarkus/dist -am -DskipTests clean install
cd quarkus/container
cp ../dist/target/keycloak-*.tar.gz .
docker build --build-arg KEYCLOAK_DIST=$(ls keycloak-*.tar.gz) . -t quay.io/keycloak/keycloak:23.0.5
cd ../../../.. && rm -rf target/keycloak

docker build --target hydra-import -t strimzi-oauth-testsuite/hydra-import:latest -f ./testsuite/docker/hydra-import/Dockerfile.s390x .

docker build --target oryd-hydra -t oryd/hydra:v1.8.5 -f ./testsuite/docker/hydra-import/Dockerfile.s390x .

mvn -q test-compile spotbugs:check -e -V -B -f testsuite
set +e
clearDockerEnv
mvn -e -V -B clean install -f testsuite -Pkafka-3_6_1
EXIT=$?
exitIfError
set -e

elif [[ "$arch" != 'ppc64le' ]]; then

if [ "$arch" != 'ppc64le' ] && [ "$arch" != 's390x' ]; then
mvn test-compile spotbugs:check -e -V -B -f testsuite $MAVEN_EXTRA_ARGS

set +e
Expand Down

0 comments on commit f2efeab

Please sign in to comment.