<commit_before>#!/bin/bash
#set -x
#trap read debug

echo ""
echo ""
echo ""

echo "\$REVISION             = ${REVISION}"
echo "\$GCPAPPENGINEREPO_URL = ${GCPAPPENGINEREPO_URL}"
echo "\$ORG_NAME             = ${ORG_NAME}"
echo "\$DOCKER_REGISTRY_URL  = ${DOCKER_REGISTRY_URL}"

echo ""
echo ""
echo ""

cd examples

mvn --batch-mode \
    -Dexample-apps \
    clean install \
    -Drevision=$REVISION
if [ $? -ne 0 ]; then
  exit 1
fi

cd ..


#export APP_NAME=helloworld
#cd examples/apps/$APP_NAME
#
#mvn --batch-mode \
#    install \
#    -Drevision=$REVISION \
#    -Disis.version=$REVISION \
#    -Dmavenmixin-docker \
#    -Ddocker-plugin.imageName=$ORG_NAME/$APP_NAME
#if [ $? -ne 0 ]; then
#  exit 1
#fi
#
#mvn -s ../../../.m2/settings.xml \
#    --batch-mode \
#    docker:push@push-image-tagged \
#    -DskipTests \
#    -Dskip.isis-validate \
#    -Dskip.isis-swagger \
#    -Drevision=$REVISION \
#    -Disis.version=$REVISION \
#    -Dmavenmixin-docker \
#    -Ddocker-plugin.imageName=$ORG_NAME/$APP_NAME \
#    -Ddocker-plugin.serverId=docker-registry \
#    -Ddocker.registryUrl=$DOCKER_REGISTRY_URL
#if [ $? -ne 0 ]; then
#  exit 1
#fi
#
#cd ../../..

export APP_NAME=simpleapp
cd examples/apps/$APP_NAME

mvn --batch-mode \
    install \
    -Drevision=$REVISION \
    -Disis.version=$REVISION \
    -Dmavenmixin-docker \
    -Ddocker-plugin.imageName=$ORG_NAME/$APP_NAME
if [ $? -ne 0 ]; then
  exit 1
fi

mvn -s ../../../.m2/settings.xml \
    --batch-mode \
    docker:push@push-image-tagged \
    -pl webapp \
    -DskipTests \
    -Dskip.isis-validate \
    -Dskip.isis-swagger \
    -Drevision=$REVISION \
    -Disis.version=$REVISION \
    -Dmavenmixin-docker \
    -Ddocker-plugin.imageName=$ORG_NAME/$APP_NAME \
    -Ddocker-plugin.serverId=docker-registry \
    -Ddocker.registryUrl=$DOCKER_REGISTRY_URL
if [ $? -ne 0 ]; then
  exit 1
fi

cd ../../..<commit_msg>ISIS-2094: removes simpleapp docker build for now<commit_after>#!/bin/bash
#set -x
#trap read debug

echo ""
echo ""
echo ""

echo "\$REVISION             = ${REVISION}"
echo "\$GCPAPPENGINEREPO_URL = ${GCPAPPENGINEREPO_URL}"
echo "\$ORG_NAME             = ${ORG_NAME}"
echo "\$DOCKER_REGISTRY_URL  = ${DOCKER_REGISTRY_URL}"

echo ""
echo ""
echo ""

cd examples

mvn --batch-mode \
    -Dexample-apps \
    clean install \
    -Drevision=$REVISION
if [ $? -ne 0 ]; then
  exit 1
fi

cd ..


#export APP_NAME=helloworld
#cd examples/apps/$APP_NAME
#
#mvn --batch-mode \
#    install \
#    -Drevision=$REVISION \
#    -Disis.version=$REVISION \
#    -Dmavenmixin-docker \
#    -Ddocker-plugin.imageName=$ORG_NAME/$APP_NAME
#if [ $? -ne 0 ]; then
#  exit 1
#fi
#
#mvn -s ../../../.m2/settings.xml \
#    --batch-mode \
#    docker:push@push-image-tagged \
#    -DskipTests \
#    -Dskip.isis-validate \
#    -Dskip.isis-swagger \
#    -Drevision=$REVISION \
#    -Disis.version=$REVISION \
#    -Dmavenmixin-docker \
#    -Ddocker-plugin.imageName=$ORG_NAME/$APP_NAME \
#    -Ddocker-plugin.serverId=docker-registry \
#    -Ddocker.registryUrl=$DOCKER_REGISTRY_URL
#if [ $? -ne 0 ]; then
#  exit 1
#fi
#
#cd ../../..

#export APP_NAME=simpleapp
#cd examples/apps/$APP_NAME
#
#mvn --batch-mode \
#    install \
#    -Drevision=$REVISION \
#    -Disis.version=$REVISION \
#    -Dmavenmixin-docker \
#    -Ddocker-plugin.imageName=$ORG_NAME/$APP_NAME
#if [ $? -ne 0 ]; then
#  exit 1
#fi
#
#mvn -s ../../../.m2/settings.xml \
#    --batch-mode \
#    docker:push@push-image-tagged \
#    -pl webapp \
#    -DskipTests \
#    -Dskip.isis-validate \
#    -Dskip.isis-swagger \
#    -Drevision=$REVISION \
#    -Disis.version=$REVISION \
#    -Dmavenmixin-docker \
#    -Ddocker-plugin.imageName=$ORG_NAME/$APP_NAME \
#    -Ddocker-plugin.serverId=docker-registry \
#    -Ddocker.registryUrl=$DOCKER_REGISTRY_URL
#if [ $? -ne 0 ]; then
#  exit 1
#fi
#
#cd ../../..
{'fraction_non_alphanumeric': 0.17858071224330646, 'fraction_numerical': 0.0072783987522745, 'mean_word_length': 2.4113475177304964, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1962207', 'n_tokens_mistral': 1662, 'n_tokens_neox': 1567, 'n_words': 250}