summaryrefslogtreecommitdiff
path: root/test/asset/publish/from_dependency.yaml
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2025-11-09 22:42:35 +0100
committerRoman Smrž <roman.smrz@seznam.cz>2025-11-12 21:20:53 +0100
commite96ecb1ce8f81b3a256f6982c5da1aa7cbeb4e59 (patch)
tree781d602220c142e9966736061ee82fbfa7ca1598 /test/asset/publish/from_dependency.yaml
parent652d3e82208da8a0b1bd052c7284b5904e59d20a (diff)
Publish artifacts to destinationsHEADmaster
Changelog: Job section to publish artifacts to specified destination
Diffstat (limited to 'test/asset/publish/from_dependency.yaml')
-rw-r--r--test/asset/publish/from_dependency.yaml89
1 files changed, 89 insertions, 0 deletions
diff --git a/test/asset/publish/from_dependency.yaml b/test/asset/publish/from_dependency.yaml
new file mode 100644
index 0000000..40268fc
--- /dev/null
+++ b/test/asset/publish/from_dependency.yaml
@@ -0,0 +1,89 @@
+destination first:
+ url: ./first/dest
+
+destination second:
+ url: ./second/dest
+
+destination third:
+
+destination fourth:
+
+destination fifth:
+
+
+job gen:
+ checkout:
+
+ shell:
+ - mkdir dir
+ - mkdir dir2
+ - mkdir dir2/subdir
+ - touch x
+ - touch dir/y
+ - touch dir2/z2
+ - touch dir2/subdir/z
+
+ artifact x:
+ path: ./x
+
+ artifact y:
+ path: ./dir/y
+
+ artifact z:
+ path: ./dir2/subdir/z
+
+ artifact dir:
+ path: ./dir
+
+ artifact dir2:
+ path: ./dir2
+
+ artifact dir2_subdir:
+ path: ./dir2/subdir
+
+
+job publish:
+ shell:
+ - "true"
+
+ checkout:
+
+ publish:
+ - to: first
+ artifact: gen.x
+
+ - to: first
+ artifact: gen.y
+
+ - to: second
+ artifact: gen.z
+
+ - to: third
+ artifact: gen.dir
+
+ - to: third
+ artifact: gen.dir2_subdir
+
+ - to: fourth
+ artifact: gen.x
+ path: path/for/artifact
+
+ - to: fourth
+ artifact: gen.x
+ path: dir/for/artifact/
+
+ - to: fifth
+ artifact: gen.dir2_subdir
+ path: path/for/artifact
+
+ - to: fifth
+ artifact: gen.dir2_subdir
+ path: dir/for/artifact/
+
+ - to: fifth
+ artifact: gen.dir2
+ path: path2/for/artifact
+
+ - to: fifth
+ artifact: gen.dir2
+ path: dir2/for/artifact/