<commit_before>#!/bin/bash

ARCHITECTURES=("amd64" "arm" "arm64")
DISTROS=("xenial")
K8S_VERSIONS=("1.3.6" "1.4.0-beta.0")

# the cni package is named after the latest cni release (0.3.0) plus the k8s revision (1), plus the six first chars from the commit
# this means the kubelet can demand a specific k8s revision by requiring (>= 0.3.0.1)
CNI_VERSION=("0.3.0.1-07a8a2")

if [[ -z $(dpkg --print-foreign-architectures | grep armhf) ]]; then
  sudo dpkg --add-architecture armhf
fi
if [[ -z $(dpkg --print-foreign-architectures | grep arm64) ]]; then
  sudo dpkg --add-architecture arm64
fi

KUBERNETES_CNI_REVISION="00"
if [[ $# == 0 || ! -z $(echo $@ | grep kubernetes-cni) ]]; then

  for arch in "${ARCHITECTURES[@]}"; do
    for distro in "${DISTROS[@]}"; do
      echo "cni] arch: ${arch} distro: ${distro}"
      go run build.go -arch "${arch}" -distro_name "${distro}" -package kubernetes-cni -version ${CNI_VERSION} -revision "${KUBERNETES_CNI_REVISION}"
    done
  done
fi

KUBECTL_REVISION="02"
if [[ $# == 0 || ! -z $(echo $@ | grep kubectl) ]]; then

  for version in "${K8S_VERSIONS[@]}"; do<commit_msg>bump version of kubernetes beta release<commit_after>#!/bin/bash

ARCHITECTURES=("amd64" "arm" "arm64")
DISTROS=("xenial")
K8S_VERSIONS=("1.3.6" "1.4.0-beta.3")

# the cni package is named after the latest cni release (0.3.0) plus the k8s revision (1), plus the six first chars from the commit
# this means the kubelet can demand a specific k8s revision by requiring (>= 0.3.0.1)
CNI_VERSION=("0.3.0.1-07a8a2")

if [[ -z $(dpkg --print-foreign-architectures | grep armhf) ]]; then
  sudo dpkg --add-architecture armhf
fi
if [[ -z $(dpkg --print-foreign-architectures | grep arm64) ]]; then
  sudo dpkg --add-architecture arm64
fi

KUBERNETES_CNI_REVISION="00"
if [[ $# == 0 || ! -z $(echo $@ | grep kubernetes-cni) ]]; then

  for arch in "${ARCHITECTURES[@]}"; do
    for distro in "${DISTROS[@]}"; do
      echo "cni] arch: ${arch} distro: ${distro}"
      go run build.go -arch "${arch}" -distro_name "${distro}" -package kubernetes-cni -version ${CNI_VERSION} -revision "${KUBERNETES_CNI_REVISION}"
    done
  done
fi

KUBECTL_REVISION="02"
if [[ $# == 0 || ! -z $(echo $@ | grep kubectl) ]]; then

  for version in "${K8S_VERSIONS[@]}"; do
{'fraction_non_alphanumeric': 0.17771883289124668, 'fraction_numerical': 0.036251105216622455, 'mean_word_length': 3.941048034934498, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, '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': '1724542', 'n_tokens_mistral': 940, 'n_tokens_neox': 873, 'n_words': 248}