Convert all of test/pkg/* to linuxkit pkg build

Signed-off-by: Ian Campbell <ijc@docker.com>
This commit is contained in:
Ian Campbell 2017-10-09 15:35:09 +01:00
parent 624e7c82f1
commit 588d095e19
15 changed files with 26 additions and 46 deletions

View File

@ -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
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:
@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:
@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:
@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:
@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:

View File

@ -1,4 +0,0 @@
IMAGE=test-containerd
DEPS=run.sh
include ../../../pkg/package.mk

View File

@ -0,0 +1 @@
image: test-containerd

View File

@ -1,7 +0,0 @@
IMAGE=test-docker-bench
DEPS=bench_runner.sh
NETWORK=1
ARCHES=x86_64
include ../../../pkg/package.mk

View File

@ -0,0 +1,4 @@
image: test-docker-bench
network: true
arches:
- amd64

View File

@ -1,5 +0,0 @@
IMAGE=test-kernel-config
DEPS=$(wildcard *.sh)
NETWORK=1
include ../../../pkg/package.mk

View File

@ -0,0 +1,2 @@
image: test-kernel-config
network: true

View File

@ -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
View File

@ -0,0 +1,4 @@
image: test-ltp
network: true
arches:
- amd64

View File

@ -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
View File

@ -0,0 +1,4 @@
image: test-ns
network: true
arches:
- amd64

View File

@ -1,5 +0,0 @@
IMAGE=poweroff
DEPS=poweroff.sh
include ../../../pkg/package.mk

View File

@ -0,0 +1 @@
image: poweroff

View File

@ -1,7 +0,0 @@
IMAGE=test-virtsock
DEPS=
NETWORK=1
ARCHES=x86_64
include ../../../pkg/package.mk

View File

@ -0,0 +1,4 @@
image: test-virtsock
network: true
arches:
- amd64