<commit_before>RUNTIME_NAME="nodejs"

CANDIDATE_NAME=`date +%Y-%m-%d_%H_%M`
echo "CANDIDATE_NAME:${CANDIDATE_NAME}"
export IMAGE="${DOCKER_NAMESPACE}/${RUNTIME_NAME}:${CANDIDATE_NAME}"

envsubst < base/cloudbuild.yaml.in > base/cloudbuild.yaml

gcloud alpha container builds create --config base/cloudbuild.yaml .

if [ "${UPLOAD_TO_STAGING}" = "true" ]; then
  gcloud alpha container images add-tag ${IMAGE} ${DOCKER_NAMESPACE}/${RUNTIME_NAME}:staging -q
fi

if [ ! -z "${NODE_VERSION_TAG}" ]; then
  gcloud alpha container images add-tag ${IMAGE} ${DOCKER_NAMESPACE}/${RUNTIME_NAME}:${NODE_VERSION_TAG} -q
fi<commit_msg>Revert changes to jenkins_build.sh (#65)<commit_after>RUNTIME_NAME="nodejs"

CANDIDATE_NAME=`date +%Y-%m-%d_%H_%M`
echo "CANDIDATE_NAME:${CANDIDATE_NAME}"
export IMAGE="${DOCKER_NAMESPACE}/${RUNTIME_NAME}:${CANDIDATE_NAME}"

envsubst < base/cloudbuild.yaml.in > base/cloudbuild.yaml

gcloud beta container builds submit --config base/cloudbuild.yaml .

if [ "${UPLOAD_TO_STAGING}" = "true" ]; then
  gcloud beta container images add-tag ${IMAGE} ${DOCKER_NAMESPACE}/${RUNTIME_NAME}:staging -q
fi

if [ ! -z "${NODE_VERSION_TAG}" ]; then
  gcloud beta container images add-tag ${IMAGE} ${DOCKER_NAMESPACE}/${RUNTIME_NAME}:${NODE_VERSION_TAG} -q
fi
{'fraction_non_alphanumeric': 0.15930599369085174, 'fraction_numerical': 0.0015772870662460567, 'mean_word_length': 6.644578313253012, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6670618', 'n_tokens_mistral': 477, 'n_tokens_neox': 481, 'n_words': 89}