<commit_before>.PHONY: all binary calico/node test clean help
default: help
all: test                                               ## Run all the tests
test: st test-containerized node-test-containerized     ## Run all the tests
all: dist/calicoctl dist/calicoctl-darwin-amd64 dist/calicoctl-windows-amd64.exe test-containerized node-test-containerized

# Include the build file for calico/node (This also pulls in Makefile.calicoctl)
include Makefile.calico-node


# This depends on clean to ensure that dependent images get untagged and repulled
.PHONY: semaphore
semaphore: clean
	# Clean up unwanted files to free disk space.
	bash -c 'rm -rf /home/runner/{.npm,.phpbrew,.phpunit,.kerl,.kiex,.lein,.nvm,.npm,.phpbrew,.rbenv}'

	# Run the containerized UTs first.
	$(MAKE) test-containerized
	$(MAKE) node-test-containerized

	# Actually run the tests (refreshing the images as required), we only run a
	# small subset of the tests for testing SSL support.  These tests are run
	# using "latest" tagged images.
	$(MAKE) calico/ctl calico/node st
	ST_TO_RUN=tests/st/policy $(MAKE) st-ssl

	# Make sure that calicoctl builds cross-platform.
	$(MAKE) dist/calicoctl-darwin-amd64 dist/calicoctl-windows-amd64.exe

	# Assumes that a few environment variables exist - BRANCH_NAME PULL_REQUEST_NUMBER
	# If this isn't a PR, then push :BRANCHNAME tagged and :CALICOCONTAINERS_VERSION
	# tagged images to Dockerhub and quay for both calico/node and calico/ctl.  This
	# requires a rebuild of calico/ctl in both cases.
	set -e; \
	if [ -z $$PULL_REQUEST_NUMBER ]; then \<commit_msg>Makefile: Free even more diskspace on semaphore<commit_after>.PHONY: all binary calico/node test clean help
default: help
all: test                                               ## Run all the tests
test: st test-containerized node-test-containerized     ## Run all the tests
all: dist/calicoctl dist/calicoctl-darwin-amd64 dist/calicoctl-windows-amd64.exe test-containerized node-test-containerized

# Include the build file for calico/node (This also pulls in Makefile.calicoctl)
include Makefile.calico-node


# This depends on clean to ensure that dependent images get untagged and repulled
.PHONY: semaphore
semaphore: clean
	# Clean up unwanted files to free disk space.
	bash -c 'rm -rf /home/runner/{.npm,.phpbrew,.phpunit,.kerl,.kiex,.lein,.nvm,.npm,.phpbrew,.rbenv} /usr/local/golang /var/lib/mongodb'

	# Run the containerized UTs first.
	$(MAKE) test-containerized
	$(MAKE) node-test-containerized

	# Actually run the tests (refreshing the images as required), we only run a
	# small subset of the tests for testing SSL support.  These tests are run
	# using "latest" tagged images.
	$(MAKE) calico/ctl calico/node st
	ST_TO_RUN=tests/st/policy $(MAKE) st-ssl

	# Make sure that calicoctl builds cross-platform.
	$(MAKE) dist/calicoctl-darwin-amd64 dist/calicoctl-windows-amd64.exe

	# Assumes that a few environment variables exist - BRANCH_NAME PULL_REQUEST_NUMBER
	# If this isn't a PR, then push :BRANCHNAME tagged and :CALICOCONTAINERS_VERSION
	# tagged images to Dockerhub and quay for both calico/node and calico/ctl.  This
	# requires a rebuild of calico/ctl in both cases.
	set -e; \
	if [ -z $$PULL_REQUEST_NUMBER ]; then \
{'fraction_non_alphanumeric': 0.0884269314303444, 'fraction_numerical': 0.004964318957493019, 'mean_word_length': 3.7065693430656936, '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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3236679', 'n_tokens_mistral': 1063, 'n_tokens_neox': 994, 'n_words': 354}