forked from tianon/dockerfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test-config.sh
executable file
·33 lines (28 loc) · 986 Bytes
/
test-config.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/usr/bin/env bash
# https://github.com/docker-library/official-images/blob/3e27b6eb7a12bc15e5e2dde52d2477c818863ce3/test/config.sh
# single-binary images
globalExcludeTests+=(
[tianon/sleeping-beauty_no-hard-coded-passwords]=1
[tianon/sleeping-beauty_utc]=1
[tianon/true_no-hard-coded-passwords]=1
[tianon/true_utc]=1
)
# ONBUILD
explicitTests+=(
[tianon/github-pages]=1
)
# run Docker tests on Docker images :D
testAlias+=(
[tianon/docker-master]='docker'
[tianon/docker-tianon]='docker:dind'
)
# the "docker-registry-push-pull" test isn't very good at detecting whether our custom image is dind or registry O:)
globalExcludeTests+=(
[tianon/docker-master_docker-registry-push-pull]=1
[tianon/docker-tianon_docker-registry-push-pull]=1
)
# Cygwin looks like Unix, but fails in cute ways (host timezone instead of "UTC" because Windows, can't scrape "/etc/passwd" because --user)
globalExcludeTests+=(
[tianon/cygwin_no-hard-coded-passwords]=1
[tianon/cygwin_utc]=1
)