<commit_before>#!/bin/bash
set -ex


#############
# FUNCTIONS #
#############

function install_docker {
  sudo apt-get install -y --force-yes docker.io
  sudo systemctl start docker
}

function login_docker_hub {
  echo "Login in the Docker Hub"
  sudo docker login -u "$DOCKER_HUB_USERNAME" -p "$DOCKER_HUB_PASSWORD"
}

function build_ceph_imgs {
  echo "Build ceph container images"
  make build.parallel
}

function push_ceph_imgs {
  echo "Push ceph container images to the Docker Hub registry"
  make push
}


########
# MAIN #
########
<commit_msg>ci: build and push, no invoke sudo<commit_after>#!/bin/bash
set -ex


#############
# FUNCTIONS #
#############

function install_docker {
  sudo apt-get install -y --force-yes docker.io
  sudo systemctl start docker
  sudo chgrp "$(whoami)" /var/run/docker.sock
}

function login_docker_hub {
  echo "Login in the Docker Hub"
  docker login -u "$DOCKER_HUB_USERNAME" -p "$DOCKER_HUB_PASSWORD"
}

function build_ceph_imgs {
  echo "Build ceph container images"
  make build.parallel
}

function push_ceph_imgs {
  echo "Push ceph container images to the Docker Hub registry"
  make push
}


########
# MAIN #
########

{'fraction_non_alphanumeric': 0.15076660988074958, 'fraction_numerical': 0.0, 'mean_word_length': 4.108695652173913, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '239259', 'n_tokens_mistral': 432, 'n_tokens_neox': 395, 'n_words': 119}