Skip to content

Commit 44cc867

Browse files
committed
Fix placement of YAML anchors to appease YTT
1 parent 220a0d6 commit 44cc867

2 files changed

Lines changed: 9 additions & 6 deletions

File tree

ci/pipelines/builder.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
#@ load("@ytt:data", "data")
2-
#@yaml/text-templated-strings
31
anchors:
42
ci_bot:
53
email: &ci_bot_email bots@cloudfoundry.org
64
name: &ci_bot_name CI Bot
75

6+
#@ load("@ytt:data", "data")
7+
8+
#@yaml/text-templated-strings
9+
810
groups:
911
- name: build
1012
jobs:

ci/pipelines/publisher.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
#@ load("@ytt:data", "data")
2-
anchors:
3-
ci_bot:
4-
email: &ci_bot_email bots@cloudfoundry.org
5-
name: &ci_bot_name CI Bot
62

73
#@ def build_light_aws_stemcell_new(name, stemcell_os, stemcell_version, builder_src, input_stemcell, output_stemcell, prefix, region, bucket_prefix, tag, ami_destinations, efi, ami_excluded_destinations):
84
do:
@@ -234,6 +230,11 @@ ensure:
234230

235231
#@yaml/text-templated-strings
236232
---
233+
anchors:
234+
ci_bot:
235+
email: &ci_bot_email bots@cloudfoundry.org
236+
name: &ci_bot_name CI Bot
237+
237238
groups:
238239
- name: all
239240
jobs:

0 commit comments

Comments
 (0)