v2
This commit is contained in:
1 parent
0efaae1715
commit
c1a2a8cc30
13 files changed
+180
-137
No files matched your search
@@ -57,3 +57,24 @@ def test_docker_context_excludes_secrets_and_state():
|
||||
assert ".env" in data
|
||||
assert "gpg/" in data
|
||||
assert "data/" in data
|
||||
|
||||
|
||||
def test_repository_public_port_is_18965():
|
||||
env = (ROOT / ".env.example").read_text()
|
||||
compose = (ROOT / "docker-compose.yml").read_text()
|
||||
start = (ROOT / "start.sh").read_text()
|
||||
assert "HTTP_PORT=18965" in env
|
||||
assert "127.0.0.1:18965" in env
|
||||
assert "${HTTP_PORT:-18965}:8080" in compose
|
||||
assert "DEFAULT_HTTP_PORT=18965" in start
|
||||
|
||||
|
||||
def test_all_three_linux_families_are_always_published():
|
||||
build = (ROOT / "scripts/build-release.sh").read_text()
|
||||
init = (ROOT / "scripts/init-storage.sh").read_text()
|
||||
compose = (ROOT / "docker-compose.yml").read_text()
|
||||
assert "BUILD_SUSE" not in build
|
||||
assert "BUILD_SUSE" not in compose
|
||||
for name in ("DEBIAN-BUILD-INFO.txt", "RHEL-BUILD-INFO.txt", "SUSE-BUILD-INFO.txt"):
|
||||
assert name in build
|
||||
assert name in init
|
||||
Reference in new issue
Block a user