testflight: prevent pipeline from getting GC'd
Since we were calling `set_pipeline: self` but removing the job that set the pipeline initially, the pipeline would occasionally get archived prior to triggering the "normal-job" job. This would cause fly to hang forever since archived pipelines are effectively paused. Signed-off-by: Aidan Oldershaw <aoldershaw@pivotal.io>
This commit is contained in:
parent
eb37872de6
commit
54bf772146
|
@ -7,6 +7,11 @@ resources:
|
|||
pipeline.yml: |
|
||||
---
|
||||
jobs:
|
||||
# The sp job is required so the pipeline is not GC'd after `set_pipeline: self`
|
||||
- name: sp
|
||||
plan:
|
||||
- set_pipeline: self
|
||||
file: does-not-matter
|
||||
- name: normal-job
|
||||
public: true
|
||||
plan:
|
||||
|
|
Loading…
Reference in New Issue