@@ -26,39 +26,47 @@ steps:
26
26
- " [[ -z $(git status -s) ]]"
27
27
agents : { queue: standard }
28
28
29
- - label : " Release: test"
30
- if : " build.branch =~ /^wip_/ "
29
+ - label : " (internal) Release: test"
30
+ if : build.branch =~ /^internal\/release-.*/
31
31
plugins :
32
32
-
ssh://[email protected] /sourcegraph/sg-buildkite-plugin.git#main: ~
33
33
command : |
34
34
wget https://github.com/comby-tools/comby/releases/download/1.8.1/comby-1.8.1-x86_64-linux
35
35
chmod +x ./comby-1.8.1-x86_64-linux
36
- mv comby-1.8.1-x86_64-linux comby
36
+ mv comby-1.8.1-x86_64-linux /usr/local/bin/comby
37
+
38
+ sg release run test --workdir=. --config-from-commit
39
+
40
+ - label : " (promote) Release: test"
41
+ if : build.branch =~ /^promote\/release-.*/
42
+ plugins :
43
+ -
ssh://[email protected] /sourcegraph/sg-buildkite-plugin.git#main: ~
44
+ command : |
45
+ wget https://github.com/comby-tools/comby/releases/download/1.8.1/comby-1.8.1-x86_64-linux
46
+ chmod +x ./comby-1.8.1-x86_64-linux
47
+ mv comby-1.8.1-x86_64-linux /usr/local/bin/comby
37
48
38
- export PATH=$PATH:$(pwd)
39
49
sg release run test --workdir=. --config-from-commit
40
50
41
51
- wait
42
52
43
- - label : " Release: finalize"
44
- if : " build.branch =~ /^wip_/ "
53
+ - label : " (internal) Release: finalize"
54
+ if : build.branch =~ /^internal\/release-.*/
45
55
plugins :
46
56
-
ssh://[email protected] /sourcegraph/sg-buildkite-plugin.git#main: ~
47
57
command : |
48
58
wget https://github.com/comby-tools/comby/releases/download/1.8.1/comby-1.8.1-x86_64-linux
49
59
chmod +x ./comby-1.8.1-x86_64-linux
50
- mv comby-1.8.1-x86_64-linux comby
60
+ mv comby-1.8.1-x86_64-linux /usr/local/bin/ comby
51
61
52
- export PATH=$PATH:$(pwd)
53
62
sg release run internal finalize --workdir=. --config-from-commit
54
- - label : " Promote to public : finalize"
55
- if : build.message =~ /^promote_release/ && build. branch =~ /^wip- release/
63
+ - label : " (promote) Release : finalize"
64
+ if : build.branch =~ /^promote\/ release-.* /
56
65
plugins :
57
66
-
ssh://[email protected] /sourcegraph/sg-buildkite-plugin.git#main: ~
58
67
command : |
59
68
wget https://github.com/comby-tools/comby/releases/download/1.8.1/comby-1.8.1-x86_64-linux
60
69
chmod +x ./comby-1.8.1-x86_64-linux
61
- mv comby-1.8.1-x86_64-linux comby
70
+ mv comby-1.8.1-x86_64-linux /usr/local/bin/ comby
62
71
63
- export PATH=$PATH:$(pwd)
64
72
sg release run promote-to-public finalize --workdir=. --config-from-commit
0 commit comments