Fix docker_image test. (#47)

ci_complete
This commit is contained in:
Felix Fontein 2020-12-11 21:12:48 +01:00 committed by GitHub
parent ab9fb3f604
commit 2bf46c2eb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,8 +84,8 @@
build:
path: "{{ output_dir }}/files"
container_limits:
memory: 5000000
memswap: 7000000
memory: 7000000
memswap: 8000000
pull: no
source: build
register: container_limits_2
@ -101,10 +101,10 @@
# It *sometimes* happens that the first task does not fail.
# For now, we work around this by
# a) requiring that if it fails, the message must
# contain 'Minimum memory limit allowed is 4MB', and
# contain 'Minimum memory limit allowed is (4|6)MB', and
# b) requiring that either the first task, or the second
# task is changed, but not both.
- "not container_limits_1 is failed or ('Minimum memory limit allowed is 4MB') in container_limits_1.msg"
- "not container_limits_1 is failed or ('Minimum memory limit allowed is ') in container_limits_1.msg"
- "container_limits_1 is changed or container_limits_2 is changed and not (container_limits_1 is changed and container_limits_2 is changed)"
####################################################################