Archived
tests
This commit is contained in:
1 parent
62defdfd95
commit
fe18497e16
2 files changed
+3
-3
No files matched your search
@@ -9,7 +9,7 @@ build:
|
|||||||
docker.io build -t $(NAME):$(VERSION) --rm .
|
docker.io build -t $(NAME):$(VERSION) --rm .
|
||||||
|
|
||||||
test:
|
test:
|
||||||
env NAME=$(NAME) VERSION=$(VERSION) ./test.sh
|
env NAME=$(NAME) VERSION=$(VERSION) ./test-repository.sh
|
||||||
|
|
||||||
tag_latest:
|
tag_latest:
|
||||||
docker.io tag $(NAME):$(VERSION) $(NAME):latest
|
docker.io tag $(NAME):$(VERSION) $(NAME):latest
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
echo "docker.io run --name $testContainer $runOptions -d $testImage"
|
echo "docker.io run --name $testContainer $runOptions -d $testImage $runCommand"
|
||||||
ID=`docker.io run --name $testContainer $runOptions -d $testImage`
|
ID=`docker.io run --name $testContainer $runOptions -d $testImage $runCommand`
|
||||||
sleep 10
|
sleep 10
|
||||||
|
|
||||||
echo " --> Obtaining IP"
|
echo " --> Obtaining IP"
|
||||||
|
|||||||
Reference in new issue
Block a user