<commit_before>#
# This Makefile is used for producing official Teleport releases
#
BBOX=teleport-buildbox:latest
SRCDIR=/gopath/src/github.com/gravitational/teleport
DOCKERFLAGS=--rm=true -v "$$(pwd)/../":$(SRCDIR) -w $(SRCDIR)
ADDFLAGS=-ldflags -w
NOROOT=-u $$(id -u):$$(id -g)

#
# Build 'teleport' binaries
#
.PHONY:build
build: bbox
	docker run $(DOCKERFLAGS) $(NOROOT) $(BBOX) \
		/bin/bash -c "$(MAKE) -C $(SRCDIR) ADDFLAGS='$(ADDFLAGS)' all"

#
# Builds a Docker container which is used for building official Teleport 
# binaries and docs
#
.PHONY:bbox
bbox:
	docker build --build-arg UID=$$(id -u) --build-arg GID=$$(id -g) --tag $(BBOX) .

#
# Runs tests inside a build container 
#
.PHONY:test
test: integration
	docker run $(DOCKERFLAGS) $(NOROOT) -t $(BBOX) \
		/bin/bash -c "$(MAKE) -C $(SRCDIR) TELEPORT_DEBUG_TESTS=1 FLAGS='-cover -race' clean test"


.PHONY:integration
integration: bbox
	docker run $(DOCKERFLAGS) $(NOROOT) -i $(BBOX) \
		/bin/bash -c "$(MAKE) -C $(SRCDIR) FLAGS='-cover' integration"

#
# Builds docs
#
.PHONY:docs
docs: bbox
	docker run $(DOCKERFLAGS) -ti $(NOROOT) -e HOME=$(SRCDIR)/build.assets $(BBOX) mkdocs build
	@echo "\nSUCCESS: Teleport docs ----> build/docs\n"

#
# Starts shell inside the build container
#
.PHONY:enter
enter: bbox
	docker run $(DOCKERFLAGS) -ti $(NOROOT) $(BBOX) /bin/bash
<commit_msg>Disabled integration tests<commit_after>#
# This Makefile is used for producing official Teleport releases
#
BBOX=teleport-buildbox:latest
SRCDIR=/gopath/src/github.com/gravitational/teleport
DOCKERFLAGS=--rm=true -v "$$(pwd)/../":$(SRCDIR) -w $(SRCDIR)
ADDFLAGS=-ldflags -w
NOROOT=-u $$(id -u):$$(id -g)

#
# Build 'teleport' binaries
#
.PHONY:build
build: bbox
	docker run $(DOCKERFLAGS) $(NOROOT) $(BBOX) \
		/bin/bash -c "$(MAKE) -C $(SRCDIR) ADDFLAGS='$(ADDFLAGS)' all"

#
# Builds a Docker container which is used for building official Teleport 
# binaries and docs
#
.PHONY:bbox
bbox:
	docker build --build-arg UID=$$(id -u) --build-arg GID=$$(id -g) --tag $(BBOX) .

#
# Runs tests inside a build container 
#
.PHONY:test
test: integration
	docker run $(DOCKERFLAGS) $(NOROOT) -t $(BBOX) \
		/bin/bash -c "$(MAKE) -C $(SRCDIR) TELEPORT_DEBUG_TESTS=1 FLAGS='-cover -race' clean test"


.PHONY:integration
integration: bbox
	echo "Disabled for now"
#
#   TODO (ev) enable before next release
#	docker run $(DOCKERFLAGS) $(NOROOT) -i $(BBOX) \
#		/bin/bash -c "$(MAKE) -C $(SRCDIR) FLAGS='-cover' integration"

#
# Builds docs
#
.PHONY:docs
docs: bbox
	docker run $(DOCKERFLAGS) -ti $(NOROOT) -e HOME=$(SRCDIR)/build.assets $(BBOX) mkdocs build
	@echo "\nSUCCESS: Teleport docs ----> build/docs\n"

#
# Starts shell inside the build container
#
.PHONY:enter
enter: bbox
	docker run $(DOCKERFLAGS) -ti $(NOROOT) $(BBOX) /bin/bash

{'fraction_non_alphanumeric': 0.17522441651705564, 'fraction_numerical': 0.000718132854578097, 'mean_word_length': 4.178438661710037, 'pattern_counts': {'":': 2, '<': 3, '<?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': '3585385', 'n_tokens_mistral': 1156, 'n_tokens_neox': 1097, 'n_words': 300}