Skip to content

Commit

Permalink
fix target sha update to hail-ci-build-image (hail-is#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
danking committed Aug 30, 2018
1 parent 4542cf9 commit 1d908dd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions ci/build_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,12 +273,13 @@ def __init__(self, target_sha):

def transition(self, other):
if (not isinstance(other, Buildable) or
not isinstance(other, Building)):
not isinstance(other, Building) or
not (isinstance(other, NoImage) and self != other)):
raise ValueError(f'bad transition {self} to {other}')
return other

def __str__(self):
return f'no hail-ci-build-image found'
return f'no hail-ci-build-image found {self.target_sha[:12]}'

def to_json(self):
return {'type': 'NoImage', 'target_sha': self.target_sha}
Expand Down
2 changes: 1 addition & 1 deletion deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: hail-ci
image: gcr.io/broad-ctsa/hail-ci:6e6cacc94df1cf99d683eb1113147689cc1a4c0b
image: gcr.io/broad-ctsa/hail-ci:4542cf9077c412b983c233d5926d08b83364f7ef
env:
- name: SELF_HOSTNAME
value: http://hail-ci
Expand Down

0 comments on commit 1d908dd

Please sign in to comment.