@@ -305,47 +305,40 @@ tasks:
305
305
306
306
- $if : ' tasks_for == "github-push" && head_branch[:10] == "refs/tags/"'
307
307
then :
308
- $let :
309
- version : {$eval: 'head_branch[10:]'}
310
- in :
311
- taskId : {$eval: as_slugid("deploy_release")}
312
- dependencies :
313
- - {$eval: as_slugid("build_linux_release")}
314
- - {$eval: as_slugid("strip_windows_binary")}
315
- - {$eval: as_slugid("test_mozilla_central")}
316
- - {$eval: as_slugid("build_documentation")}
317
- created : {$fromNow: ''}
318
- deadline : {$fromNow: '2 hour'}
319
- provisionerId : proj-relman
320
- workerType : ci
321
- scopes :
322
- - secrets:get:project/relman/rust-code-analysis/deploy
323
- payload :
324
- features :
325
- taskclusterProxy : true
326
- maxRunTime : 3600
327
- image : " mozilla/taskboot:0.2.7"
328
- env :
329
- TASKCLUSTER_SECRET : project/relman/rust-code-analysis/deploy
330
- command :
331
- - " /bin/sh"
332
- - " -cx"
333
- -
" git config --global user.email [email protected] &&
334
- git config --global user.name moz.tools Bot &&
335
- git clone --recursive --quiet ${repository} &&
336
- cd rust-code-analysis &&
337
- taskboot retrieve-artifact --output-path=. \
338
- --artifacts=public/book.tar.gz &&
339
- tar xfz book.tar.gz -C rust-code-analysis-book &&
340
- ./rust-code-analysis-book/deploy-to-GitHub-Pages &&
341
- taskboot git-push --force-push \
342
- github.com/mozilla/rust-code-analysis \
343
- moz-tools-bot \
344
- gh-pages &&
345
- taskboot github-release mozilla/rust-code-analysis ${version} --asset rust-code-analysis-linux-cli-x86_64.tar.gz:public/rust-code-analysis-linux-cli-x86_64.tar.gz rust-code-analysis-linux-web-x86_64.tar.gz:public/rust-code-analysis-linux-web-x86_64.tar.gz rust-code-analysis-win-cli-x86_64.zip:public/rust-code-analysis-win-cli-x86_64.zip rust-code-analysis-win-web-x86_64.zip:public/rust-code-analysis-win-web-x86_64.zip &&
346
- taskboot cargo-publish"
347
- metadata :
348
- name : " rust-code-analysis release publication ${version}"
349
- description : rust-code-analysis release publication on Github
350
-
351
- source : ${repository}/raw/${head_rev}/.taskcluster.yml
308
+ taskId : {$eval: as_slugid("deploy_release")}
309
+ dependencies :
310
+ - {$eval: as_slugid("build_linux_release")}
311
+ - {$eval: as_slugid("strip_windows_binary")}
312
+ - {$eval: as_slugid("test_mozilla_central")}
313
+ - {$eval: as_slugid("build_documentation")}
314
+ created : {$fromNow: ''}
315
+ deadline : {$fromNow: '2 hour'}
316
+ provisionerId : proj-relman
317
+ workerType : ci
318
+ scopes :
319
+ - secrets:get:project/relman/rust-code-analysis/deploy
320
+ payload :
321
+ features :
322
+ taskclusterProxy : true
323
+ maxRunTime : 3600
324
+ image : " mozilla/taskboot:0.2.7"
325
+ env :
326
+ TASKCLUSTER_SECRET : project/relman/rust-code-analysis/deploy
327
+ command :
328
+ - " /bin/sh"
329
+ - " -cx"
330
+ -
" git config --global user.email [email protected] &&
331
+ git config --global user.name moz.tools Bot &&
332
+ git clone --recursive --quiet ${repository} &&
333
+ cd rust-code-analysis &&
334
+ taskboot retrieve-artifact --output-path=. --artifacts=public/book.tar.gz &&
335
+ tar xfz book.tar.gz -C rust-code-analysis-book &&
336
+ ./rust-code-analysis-book/deploy-to-GitHub-Pages &&
337
+ taskboot git-push --force-push github.com/mozilla/rust-code-analysis moz-tools-bot gh-pages &&
338
+ taskboot github-release mozilla/rust-code-analysis ${head_branch[10:]} --asset rust-code-analysis-linux-cli-x86_64.tar.gz:public/rust-code-analysis-linux-cli-x86_64.tar.gz rust-code-analysis-linux-web-x86_64.tar.gz:public/rust-code-analysis-linux-web-x86_64.tar.gz rust-code-analysis-win-cli-x86_64.zip:public/rust-code-analysis-win-cli-x86_64.zip rust-code-analysis-win-web-x86_64.zip:public/rust-code-analysis-win-web-x86_64.zip &&
339
+ taskboot cargo-publish"
340
+ metadata :
341
+ name : " rust-code-analysis release publication ${head_branch[10:]}"
342
+ description : rust-code-analysis release publication on Github
343
+
344
+ source : ${repository}/raw/${head_rev}/.taskcluster.yml
0 commit comments