feat(practice): add the code runner port and its TLS client
This commit is contained in:
1 parent
53a125f2b5
commit
facc1789b1
24 files changed
+3374
-6
No files matched your search
@@ -202,6 +202,15 @@ test-scripts: ## Check integration shard coverage, selection, and failure propag
|
||||
test-int-compile: ## Compile infrastructure integration tests without starting containers
|
||||
$(GO) test -tags=integration -run '^$$' ./integration_test/...
|
||||
|
||||
.PHONY: test-code-runner-live
|
||||
test-code-runner-live: ## Run fixed harmless programs on a real runner (set CODE_RUNNER_URL, CODE_RUNNER_TOKEN, CODE_RUNNER_CA_FILE)
|
||||
@if [ -z "$$CODE_RUNNER_URL" ] || [ -z "$$CODE_RUNNER_TOKEN" ] || [ -z "$$CODE_RUNNER_CA_FILE" ]; then \
|
||||
echo 'set CODE_RUNNER_URL, CODE_RUNNER_TOKEN, and CODE_RUNNER_CA_FILE (optionally CODE_RUNNER_SERVER_NAME)' >&2; exit 2; \
|
||||
fi
|
||||
CODE_RUNNER_LIVE_URL="$$CODE_RUNNER_URL" CODE_RUNNER_LIVE_TOKEN="$$CODE_RUNNER_TOKEN" \
|
||||
CODE_RUNNER_LIVE_CA_FILE="$$CODE_RUNNER_CA_FILE" CODE_RUNNER_LIVE_SERVER_NAME="$$CODE_RUNNER_SERVER_NAME" \
|
||||
$(GO) test -count=1 -v -run '^TestLiveRunner' ./internal/adapter/secondary/code_runner/
|
||||
|
||||
.PHONY: verify check
|
||||
check: ## Run local formatting, build, unit, and lint checks in order
|
||||
$(MAKE) --no-print-directory fmt-check
|
||||
|
||||
Reference in new issue
Block a user