<commit_before>#!/bin/sh
set -e

if test -n "${HTTP_PROXY}"; then
    echo "proxy=${HTTP_PROXY}" >> /etc/yum.conf
fi

echo "proxy=${HTTP_PROXY}"
cat /etc/yum.conf
yum -y install tar wget bzip2 git make automake autoconf python-argparse openssl-devel rpm-build

# get the latest gcc:
# https://www.softwarecollections.org/en/scls/rhscl/devtoolset-3/
#yum -y install centos-release-scl
#yum -y --nogpgcheck install devtoolset-3-gcc devtoolset-3-gcc-c++
# echo "running scl enable: "
# scl enable devtoolset-3 bash

cd /etc/yum.repos.d; wget http://download.opensuse.org/repositories/home:/fceller2/CentOS_7/home:fceller2.repo
wget http://download.opensuse.org/repositories/home:/fceller2/CentOS_7/home:fceller2.repo/repodata/repomd.xml.key
rpm --import repomd.xml.key
rm -f repomd.xml.key
cd /etc/yum.repos.d; wget http://download.opensuse.org/repositories/home:/dothebart:/branches:/devel:/tools:/building/CentOS_7/home:dothebart:branches:devel:tools:building.repo
wget http://download.opensuse.org/repositories/home:/dothebart:/branches:/devel:/tools:/building/CentOS_7/home:dothebart:branches:devel:tools:building.repo/repodata/repomd.xml.key
rpm --import repomd.xml.key
rm -f repomd.xml.key


yum -y install arangodb-gcc54-5.4.0 arangodb-jemalloc-devel arangodb-jemalloc-devel-static glibc-devel cmake 


useradd jenkins -u 1000

echo 'PATH=/opt/arangodb/bin/:${PATH}' >> /etc/bashrc
echo 'PATH=/opt/arangodb/bin/:${PATH}' >> /etc/profile
<commit_msg>fix url to fetch key<commit_after>#!/bin/sh
set -e

if test -n "${HTTP_PROXY}"; then
    echo "proxy=${HTTP_PROXY}" >> /etc/yum.conf
fi

echo "proxy=${HTTP_PROXY}"
cat /etc/yum.conf
yum -y install tar wget bzip2 git make automake autoconf python-argparse openssl-devel rpm-build

# get the latest gcc:
# https://www.softwarecollections.org/en/scls/rhscl/devtoolset-3/
#yum -y install centos-release-scl
#yum -y --nogpgcheck install devtoolset-3-gcc devtoolset-3-gcc-c++
# echo "running scl enable: "
# scl enable devtoolset-3 bash

cd /etc/yum.repos.d; wget http://download.opensuse.org/repositories/home:/fceller2/CentOS_7/home:fceller2.repo
wget http://download.opensuse.org/repositories/home:/fceller2/CentOS_7/repodata/repomd.xml.key
rpm --import repomd.xml.key
rm -f repomd.xml.key
cd /etc/yum.repos.d; wget http://download.opensuse.org/repositories/home:/dothebart:/branches:/devel:/tools:/building/CentOS_7/home:dothebart:branches:devel:tools:building.repo
wget http://download.opensuse.org/repositories/home:/dothebart:/branches:/devel:/tools:/building/CentOS_7/home:dothebart:branches:devel:tools:building.repo/repodata/repomd.xml.key
rpm --import repomd.xml.key
rm -f repomd.xml.key


yum -y install arangodb-gcc54-5.4.0 arangodb-jemalloc-devel arangodb-jemalloc-devel-static glibc-devel cmake 


useradd jenkins -u 1000

echo 'PATH=/opt/arangodb/bin/:${PATH}' >> /etc/bashrc
echo 'PATH=/opt/arangodb/bin/:${PATH}' >> /etc/profile

{'fraction_non_alphanumeric': 0.15376641326883206, 'fraction_numerical': 0.014858327574291638, 'mean_word_length': 4.665362035225049, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 12}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '660984', 'n_tokens_mistral': 1230, 'n_tokens_neox': 1131, 'n_words': 192}