2022-03-11 13:54:44 +01:00
|
|
|
ROOT = $(shell git rev-parse --show-toplevel)
|
|
|
|
|
|
|
|
build:
|
2022-03-13 13:43:13 +01:00
|
|
|
./scripts/build.sh -o $(ROOT)
|
|
|
|
|
|
|
|
release-build:
|
|
|
|
./scripts/build.sh -o $(ROOT) -r
|
2022-03-11 13:54:44 +01:00
|
|
|
|
2022-11-08 18:01:29 +01:00
|
|
|
test-all: test oci-integration-test integration-test features-test
|
2022-03-11 13:54:44 +01:00
|
|
|
|
|
|
|
test: build
|
|
|
|
cd crates && cargo test
|
|
|
|
|
2022-11-08 18:01:29 +01:00
|
|
|
features-test: build
|
|
|
|
./scripts/features_test.sh
|
|
|
|
|
2022-05-09 14:10:04 +02:00
|
|
|
oci-integration-test:
|
2022-03-11 13:54:44 +01:00
|
|
|
./scripts/oci_integration_tests.sh $(ROOT)
|
|
|
|
|
2022-05-09 14:10:04 +02:00
|
|
|
integration-test:
|
2022-03-11 13:54:44 +01:00
|
|
|
./scripts/rust_integration_tests.sh $(ROOT)/youki
|
|
|
|
|
2022-05-09 14:10:04 +02:00
|
|
|
validate-rust-tests:
|
2022-03-28 16:03:54 +02:00
|
|
|
./scripts/rust_integration_tests.sh runc
|
|
|
|
|
2022-03-11 13:54:44 +01:00
|
|
|
clean:
|
|
|
|
./scripts/clean.sh $(ROOT)
|
2022-10-24 13:14:14 +02:00
|
|
|
|
|
|
|
containerd-test:
|
2022-11-22 10:44:26 +01:00
|
|
|
VAGRANT_VAGRANTFILE=Vagrantfile.containerd2youki vagrant up
|
2022-10-24 13:14:14 +02:00
|
|
|
VAGRANT_VAGRANTFILE=Vagrantfile.containerd2youki vagrant provision --provision-with test
|
|
|
|
|
|
|
|
|