mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 19:13:34 +00:00
test: Add an e2e test for build&push (#69)
* test: Add an e2e test for build&push * test: Add image cleanup * test: Switch to assert.NoError
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
FROM busybox:1.37.0-musl
|
||||
|
||||
ENV SERVICE_NAME=busybox-first
|
||||
@@ -1,3 +0,0 @@
|
||||
FROM busybox:1.37.0-musl
|
||||
|
||||
ENV SERVICE_NAME=busybox-second
|
||||
@@ -2,13 +2,13 @@ services:
|
||||
service-no-build:
|
||||
image: portainer/pause:3.9
|
||||
|
||||
busybox-first:
|
||||
image: localhost:5000/busybox-first
|
||||
service-first:
|
||||
image: 127.0.0.1:${TEST_REGISTRY_PORT}/service-first
|
||||
build:
|
||||
context: busybox-first/
|
||||
context: service-first-dir/
|
||||
|
||||
busybox-second:
|
||||
image: localhost:5000/busybox-second
|
||||
service-second:
|
||||
image: 127.0.0.1:${TEST_REGISTRY_PORT}/service-second:version2
|
||||
build:
|
||||
context: busybox-second/
|
||||
context: service-second-dir/
|
||||
dockerfile: Dockerfile.alt
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
FROM portainer/pause:3.9
|
||||
|
||||
ENV SERVICE_NAME=service-first
|
||||
@@ -0,0 +1,3 @@
|
||||
FROM portainer/pause:3.9
|
||||
|
||||
ENV SERVICE_NAME=service-second
|
||||
Reference in New Issue
Block a user