mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 18:11:35 +00:00
Convert all of test/pkg/* to linuxkit pkg build
Signed-off-by: Ian Campbell <ijc@docker.com>
This commit is contained in:
parent
624e7c82f1
commit
588d095e19
@ -1,19 +1,19 @@
|
|||||||
DIRS = $(shell find . -maxdepth 1 -mindepth 1 -type d)
|
DIRS = $(dir $(shell find . -maxdepth 2 -mindepth 2 -type f -name build.yml))
|
||||||
.PHONY: push forcepush tag forcetag show-tag clean
|
.PHONY: push forcepush tag forcetag show-tag clean
|
||||||
|
|
||||||
push:
|
push:
|
||||||
@set -e; for d in $(DIRS); do make -C "$$d" push; done
|
@set -e; for d in $(DIRS); do linuxkit pkg push "$$d"; done
|
||||||
|
|
||||||
forcepush:
|
forcepush:
|
||||||
@set -e; for d in $(DIRS); do make -C "$$d" forcepush; done
|
@set -e; for d in $(DIRS); do linuxkit pkg push --force "$$d"; done
|
||||||
|
|
||||||
tag:
|
tag:
|
||||||
@set -e; for d in $(DIRS); do make -C "$$d" tag; done
|
@set -e; for d in $(DIRS); do linuxkit pkg build "$$d"; done
|
||||||
|
|
||||||
forcetag:
|
forcetag:
|
||||||
@set -e; for d in $(DIRS); do make -C "$$d" forcetag; done
|
@set -e; for d in $(DIRS); do linuxkit pkg build --force "$$d"; done
|
||||||
|
|
||||||
show-tag:
|
show-tag:
|
||||||
@set -e; for d in $(DIRS); do make -C "$$d" show-tag; done
|
@set -e; for d in $(DIRS); do linuxkit pkg show-tag "$$d"; done
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
IMAGE=test-containerd
|
|
||||||
DEPS=run.sh
|
|
||||||
|
|
||||||
include ../../../pkg/package.mk
|
|
1
test/pkg/containerd/build.yml
Normal file
1
test/pkg/containerd/build.yml
Normal file
@ -0,0 +1 @@
|
|||||||
|
image: test-containerd
|
@ -1,7 +0,0 @@
|
|||||||
IMAGE=test-docker-bench
|
|
||||||
DEPS=bench_runner.sh
|
|
||||||
NETWORK=1
|
|
||||||
ARCHES=x86_64
|
|
||||||
|
|
||||||
include ../../../pkg/package.mk
|
|
||||||
|
|
4
test/pkg/docker-bench/build.yml
Normal file
4
test/pkg/docker-bench/build.yml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
image: test-docker-bench
|
||||||
|
network: true
|
||||||
|
arches:
|
||||||
|
- amd64
|
@ -1,5 +0,0 @@
|
|||||||
IMAGE=test-kernel-config
|
|
||||||
DEPS=$(wildcard *.sh)
|
|
||||||
NETWORK=1
|
|
||||||
|
|
||||||
include ../../../pkg/package.mk
|
|
2
test/pkg/kernel-config/build.yml
Normal file
2
test/pkg/kernel-config/build.yml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
image: test-kernel-config
|
||||||
|
network: true
|
@ -1,6 +0,0 @@
|
|||||||
IMAGE=test-ltp
|
|
||||||
DEPS=check.sh
|
|
||||||
NETWORK=1
|
|
||||||
ARCHES=x86_64
|
|
||||||
|
|
||||||
include ../../../pkg/package.mk
|
|
4
test/pkg/ltp/build.yml
Normal file
4
test/pkg/ltp/build.yml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
image: test-ltp
|
||||||
|
network: true
|
||||||
|
arches:
|
||||||
|
- amd64
|
@ -1,6 +0,0 @@
|
|||||||
IMAGE=test-ns
|
|
||||||
NETWORK=1
|
|
||||||
DEPS=config.template.json $(wildcard *.sh)
|
|
||||||
ARCHES=x86_64
|
|
||||||
|
|
||||||
include ../../../pkg/package.mk
|
|
4
test/pkg/ns/build.yml
Normal file
4
test/pkg/ns/build.yml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
image: test-ns
|
||||||
|
network: true
|
||||||
|
arches:
|
||||||
|
- amd64
|
@ -1,5 +0,0 @@
|
|||||||
IMAGE=poweroff
|
|
||||||
DEPS=poweroff.sh
|
|
||||||
|
|
||||||
include ../../../pkg/package.mk
|
|
||||||
|
|
1
test/pkg/poweroff/build.yml
Normal file
1
test/pkg/poweroff/build.yml
Normal file
@ -0,0 +1 @@
|
|||||||
|
image: poweroff
|
@ -1,7 +0,0 @@
|
|||||||
IMAGE=test-virtsock
|
|
||||||
DEPS=
|
|
||||||
NETWORK=1
|
|
||||||
ARCHES=x86_64
|
|
||||||
|
|
||||||
include ../../../pkg/package.mk
|
|
||||||
|
|
4
test/pkg/virtsock/build.yml
Normal file
4
test/pkg/virtsock/build.yml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
image: test-virtsock
|
||||||
|
network: true
|
||||||
|
arches:
|
||||||
|
- amd64
|
Loading…
Reference in New Issue
Block a user