<commit_before>package integration

import (
	"fmt"
	"io/ioutil"
	"log"
	"os"
	"os/exec"
	"path"
	"path/filepath"
	"runtime"
	"strings"
	"time"

	"github.com/apprenda/kismatic/pkg/tls"
	"github.com/cloudflare/cfssl/csr"
	. "github.com/onsi/ginkgo"
)

const (
	copyKismaticYumRepo        = `sudo curl https://kismatic-packages-rpm.s3-accelerate.amazonaws.com/kismatic.repo -o /etc/yum.repos.d/kismatic.repo`
	installEtcdYum             = `sudo yum -y install kismatic-etcd`
	installDockerEngineYum     = `sudo yum -y install kismatic-docker-engine`
	installKubernetesMasterYum = `sudo yum -y install kismatic-kubernetes-master`
	installKubernetesYum       = `sudo yum -y install kismatic-kubernetes-node`

	copyKismaticKeyDeb         = `wget -qO - https://kismatic-packages-deb.s3-accelerate.amazonaws.com/public.key | sudo apt-key add - `
	copyKismaticRepoDeb        = `sudo add-apt-repository "deb https://kismatic-packages-deb.s3-accelerate.amazonaws.com xenial main"`
	updateAptGet               = `sudo apt-get update`
	installEtcdApt             = `sudo apt-get -y install kismatic-etcd`
	installDockerApt           = `sudo apt-get -y install kismatic-docker-engine`
	installKubernetesMasterApt = `sudo apt-get -y install kismatic-kubernetes-master`
	installKubernetesApt       = `sudo apt-get -y install kismatic-kubernetes-node`
)<commit_msg>Install specific versions of packages in integration tests<commit_after>package integration

import (
	"fmt"
	"io/ioutil"
	"log"
	"os"
	"os/exec"
	"path"
	"path/filepath"
	"runtime"
	"strings"
	"time"

	"github.com/apprenda/kismatic/pkg/tls"
	"github.com/cloudflare/cfssl/csr"
	. "github.com/onsi/ginkgo"
)

const (
	copyKismaticYumRepo        = `sudo curl https://kismatic-packages-rpm.s3-accelerate.amazonaws.com/kismatic.repo -o /etc/yum.repos.d/kismatic.repo`
	installEtcdYum             = `sudo yum -y install kismatic-etcd-1.5.1_1-1`
	installDockerEngineYum     = `sudo yum -y install kismatic-docker-engine-1.11.2-1`
	installKubernetesMasterYum = `sudo yum -y install kismatic-kubernetes-master-1.5.1_1-1`
	installKubernetesYum       = `sudo yum -y install kismatic-kubernetes-node-1.5.1_1-1`

	copyKismaticKeyDeb         = `wget -qO - https://kismatic-packages-deb.s3-accelerate.amazonaws.com/public.key | sudo apt-key add - `
	copyKismaticRepoDeb        = `sudo add-apt-repository "deb https://kismatic-packages-deb.s3-accelerate.amazonaws.com xenial main"`
	updateAptGet               = `sudo apt-get update`
	installEtcdApt             = `sudo apt-get -y install kismatic-etcd=1.5.1-1`
	installDockerApt           = `sudo apt-get -y install kismatic-docker-engine=1.11.2-0~xenial`
	installKubernetesMasterApt = `sudo apt-get -y install kismatic-kubernetes-networking=1.5.1-1 kismatic-kubernetes-node=1.5.1-1 kismatic-kubernetes-master=1.5.1-1`
	installKubernetesApt       = `sudo apt-get -y install kismatic-kubernetes-networking=1.5.1-1 kismatic-kubernetes-node=1.5.1-1`
)
{'fraction_non_alphanumeric': 0.12580975110808046, 'fraction_numerical': 0.018752130923968633, 'mean_word_length': 3.37910447761194, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '199538', 'n_tokens_mistral': 1184, 'n_tokens_neox': 1082, 'n_words': 188}