Update vendored AutoDevop CI configuration and container scanning documentation
Summary
Container scanning in GitLab CI sometimes fails.
Steps to reproduce
docker run -d --name db arminc/clair-db:latest ; docker run -p 6060:6060 --link db:postgres --name clair arminc/clair-local-scan:v2.0.1
will sometimes fail, depending on the readiness of the db container when the clair container connect to it:
{"Event":"pgsql: could not open database: dial tcp 172.17.0.3:5432: getsockopt: connection refused","Level":"fatal","Location":"main.go:96","Time":"2018-04-27 07:59:52.559470"}
What is the current bug behavior?
The clair scanner sometimes fails to connect to its db container and fails.
What is the expected correct behavior?
The clair scanner connects to the db container consistently.
Possible fixes
Adding --restart on-failure to the clair-local-scan docker command fixes the issue.