Skip to content

Commit 7770db0

Browse files
committed
Remove useless package_windows_binary task from CI
1 parent a956fec commit 7770db0

1 file changed

Lines changed: 7 additions & 39 deletions

File tree

‎.taskcluster.yml‎

Lines changed: 7 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -285,59 +285,27 @@ tasks:
285285
- cd rust-code-analysis
286286
- git -c advice.detachedHead=false checkout --recurse-submodules ${head_rev}
287287
- cargo build --workspace --release
288+
- 7z a rust-code-analysis-win-cli-x86_64.zip "target\release\rust-code-analysis-cli.exe"
289+
- 7z a rust-code-analysis-win-web-x86_64.zip "target\release\rust-code-analysis-web.exe"
288290
mounts:
289291
- content:
290292
url: https://win.rustup.rs/
291293
file: rustup-init\rustup-init.exe
292294
artifacts:
293-
- name: public/rust-code-analysis-cli.exe
295+
- name: public/rust-code-analysis-win-cli-x86_64.zip
294296
expires: {$fromNow: '2 weeks'}
295-
path: rust-code-analysis\target\release\rust-code-analysis-cli.exe
297+
path: rust-code-analysis\rust-code-analysis-win-cli-x86_64.zip
296298
type: file
297-
- name: public/rust-code-analysis-web.exe
299+
- name: public/rust-code-analysis-win-web-x86_64.zip
298300
expires: {$fromNow: '2 weeks'}
299-
path: rust-code-analysis\target\release\rust-code-analysis-web.exe
301+
path: rust-code-analysis\rust-code-analysis-win-web-x86_64.zip
300302
type: file
301303
metadata:
302304
name: rust-code-analysis windows release build
303305
description: rust-code-analysis windows release build
304306
305307
source: ${repository}/raw/${head_rev}/.taskcluster.yml
306308

307-
- $if: 'tasks_for == "github-push" && head_branch[:10] == "refs/tags/"'
308-
then:
309-
taskId: {$eval: as_slugid("package_windows_binary")}
310-
dependencies:
311-
- {$eval: as_slugid("build_windows_release")}
312-
created: {$fromNow: ''}
313-
deadline: {$fromNow: '2 hour'}
314-
provisionerId: proj-relman
315-
workerType: ci
316-
payload:
317-
maxRunTime: 3600
318-
image: "mozilla/taskboot:0.3.2"
319-
command:
320-
- "/bin/sh"
321-
- "-cx"
322-
- "taskboot retrieve-artifact --output-path=. --artifacts public/rust-code-analysis-cli.exe public/rust-code-analysis-web.exe &&
323-
apk add --no-cache zip &&
324-
zip -9 /rust-code-analysis-win-cli-x86_64.zip rust-code-analysis-cli.exe &&
325-
zip -9 /rust-code-analysis-win-web-x86_64.zip rust-code-analysis-web.exe"
326-
artifacts:
327-
public/rust-code-analysis-win-cli-x86_64.zip:
328-
expires: {$fromNow: '2 weeks'}
329-
path: /rust-code-analysis-win-cli-x86_64.zip
330-
type: file
331-
public/rust-code-analysis-win-web-x86_64.zip:
332-
expires: {$fromNow: '2 weeks'}
333-
path: /rust-code-analysis-win-web-x86_64.zip
334-
type: file
335-
metadata:
336-
name: package rust-code-analysis windows binary
337-
description: package rust-code-analysis windows binary
338-
339-
source: ${repository}/raw/${head_rev}/.taskcluster.yml
340-
341309
- $if: 'tasks_for == "github-push" && head_branch[:10] == "refs/tags/"'
342310
then:
343311
$let:
@@ -349,7 +317,7 @@ tasks:
349317
taskId: {$eval: as_slugid("deploy_release")}
350318
dependencies:
351319
- {$eval: as_slugid("build_linux_release")}
352-
- {$eval: as_slugid("package_windows_binary")}
320+
- {$eval: as_slugid("build_windows_release")}
353321
- {$eval: as_slugid("test_mozilla_central")}
354322
- {$eval: as_slugid("build_documentation")}
355323
created: {$fromNow: ''}

0 commit comments

Comments
 (0)