mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-10-20 11:28:42 +00:00
Eventual replacement of kata-log-parser, but for now replicates its functionaility for the new runtime-rs syntax. Takes in log files, parses, sorts by timestamp, spits them out in json, csv, xml, toml, and a few others. Fixes #5350 Signed-off-by: Gabe Venberg <gabevenberg@gmail.com>
54 lines
1.0 KiB
Makefile
54 lines
1.0 KiB
Makefile
# Copyright (c) 2020 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
# List of available components
|
|
COMPONENTS =
|
|
|
|
COMPONENTS += libs
|
|
COMPONENTS += agent
|
|
COMPONENTS += dragonball
|
|
COMPONENTS += runtime
|
|
COMPONENTS += runtime-rs
|
|
|
|
# List of available tools
|
|
TOOLS =
|
|
|
|
TOOLS += agent-ctl
|
|
TOOLS += kata-ctl
|
|
TOOLS += log-parser
|
|
TOOLS += log-parser-rs
|
|
TOOLS += runk
|
|
TOOLS += trace-forwarder
|
|
|
|
STANDARD_TARGETS = build check clean install static-checks-build test vendor
|
|
|
|
default: all
|
|
|
|
include utils.mk
|
|
include ./tools/packaging/kata-deploy/local-build/Makefile
|
|
|
|
# Create the rules
|
|
$(eval $(call create_all_rules,$(COMPONENTS),$(TOOLS),$(STANDARD_TARGETS)))
|
|
|
|
# Non-standard rules
|
|
|
|
generate-protocols:
|
|
make -C src/agent generate-protocols
|
|
|
|
# Some static checks rely on generated source files of components.
|
|
static-checks: static-checks-build
|
|
bash ci/static-checks.sh
|
|
|
|
docs-url-alive-check:
|
|
bash ci/docs-url-alive-check.sh
|
|
|
|
.PHONY: \
|
|
all \
|
|
kata-tarball \
|
|
install-tarball \
|
|
default \
|
|
static-checks \
|
|
docs-url-alive-check
|