Project

General

Profile

Actions

Feature #4259

closed

teuthology: block/poll for ceph build to be present

Added by Alex Elder about 11 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:

Description

Is there any way I could get a notification when a
build completed--in particular, when it completes
successfully?

What I want to be able to do is automatically start
running a test using a branch that I've just pushed,
but only after I know that the build of that branch
has completed.

I can probably do something that polls for the existence
of a completed build (and maybe that's best), but I
thought I'd just see if there's a way I could instead
trigger on something generated by gitbuilder.

Actions #1

Updated by Sage Weil about 11 years ago

  • Project changed from rbd to teuthology
  • Subject changed from gitbuilder: callback command when build done? to teuthology: block/poll for ceph build to be present

I think the simplest thing is to make teuthology poll for the build to appear. The only caveat is that it needs to then be identified by the sha1, or a new branch, or else it'll go forward with the previous build on that branch.

Actions #2

Updated by Sage Weil about 11 years ago

  • Status changed from New to Resolved

git pull and then put

wait-for-package: true

at the top level of you yaml.

Actions

Also available in: Atom PDF