<commit_before>REPO?=quay.io/coreos/prometheus-operator
TAG?=$(shell git rev-parse --short HEAD)
NAMESPACE?=po-e2e-$(shell LC_CTYPE=C tr -dc a-z0-9 < /dev/urandom | head -c 13 ; echo '')
KUBECONFIG?=$(HOME)/.kube/config

PROMU := $(GOPATH)/bin/promu
PREFIX ?= $(shell pwd)
ifeq ($(GOBIN),)
GOBIN :=${GOPATH}/bin
endif
pkgs = $(shell go list ./... | grep -v /vendor/ | grep -v /test/)

all: check-license format build test

build: promu
	@$(PROMU) build --prefix $(PREFIX)

short-build:
	go install github.com/coreos/prometheus-operator/cmd/operator

po-crdgen:
	go install github.com/coreos/prometheus-operator/cmd/po-crdgen

crossbuild: promu
	@$(PROMU) crossbuild

test:
	@go test -short $(pkgs)<commit_msg>e2e: ensure C locale when generating random string for namespace<commit_after>REPO?=quay.io/coreos/prometheus-operator
TAG?=$(shell git rev-parse --short HEAD)
NAMESPACE?=po-e2e-$(shell LC_ALL=C tr -dc a-z0-9 < /dev/urandom | head -c 13 ; echo '')
KUBECONFIG?=$(HOME)/.kube/config

PROMU := $(GOPATH)/bin/promu
PREFIX ?= $(shell pwd)
ifeq ($(GOBIN),)
GOBIN :=${GOPATH}/bin
endif
pkgs = $(shell go list ./... | grep -v /vendor/ | grep -v /test/)

all: check-license format build test

build: promu
	@$(PROMU) build --prefix $(PREFIX)

short-build:
	go install github.com/coreos/prometheus-operator/cmd/operator

po-crdgen:
	go install github.com/coreos/prometheus-operator/cmd/po-crdgen

crossbuild: promu
	@$(PROMU) crossbuild

test:
	@go test -short $(pkgs)
{'fraction_non_alphanumeric': 0.1710974778459441, 'fraction_numerical': 0.007498295841854124, 'mean_word_length': 4.169014084507042, 'pattern_counts': {'":': 0, '<': 5, '<?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': '6210157', 'n_tokens_mistral': 598, 'n_tokens_neox': 569, 'n_words': 138}