• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

projectatomic / atomic-reactor / 4004 / 1
96%
master: 96%

Build:
DEFAULT BRANCH: master
Ran 15 Aug 2017 12:46PM UTC
Files 65
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

15 Aug 2017 12:40PM UTC coverage: 93.265% (+2.9%) from 90.403%
4004.1

push

travis-ci

vrutkovs
Tag base images with the OpenShift build name

This avoids a race condition in which two builds are contending
over the as-pulled image tag:

1. build A starts
2. build B starts
3. build A is nearly finished and is about to remove the parent image
4. build B tags the parent image
5. build A removes the parent image
6. build B tries to e.g. inspect the parent image, or build the Dockerfile

To avoid this race, each build adds an additional tag to the parent
image it pulls, using the value of the OpenShift build name. This
keeps the image around until the build is done with it at the end.

The race condition is then between pulling the image and tagging
it with this unique ID. This is addressed by retrying the pull
if tagging fails.

Signed-off-by: Tim Waugh <twaugh@redhat.com>

5207 of 5583 relevant lines covered (93.27%)

0.93 hits per line

Source Files on job 4004.1
  • Tree
  • List 0
  • Changed 15
  • Source Changed 2
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 4004
  • Travis Job 4004.1
  • 458cddba on github
  • Prev Job for on master (#3994.3)
  • Next Job for on master (#4023.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc