File tree Expand file tree Collapse file tree 1 file changed +73
-0
lines changed
taskcluster/kinds/push-image-gar Expand file tree Collapse file tree 1 file changed +73
-0
lines changed Original file line number Diff line number Diff line change 1+ # This Source Code Form is subject to the terms of the Mozilla Public
2+ # License, v. 2.0. If a copy of the MPL was not distributed with this
3+ # file, You can obtain one at http://mozilla.org/MPL/2.0/.
4+ ---
5+
6+ loader : taskgraph.loader.transform:loader
7+
8+ kind-dependencies :
9+ - docker-image
10+
11+ transforms :
12+ - taskgraph.transforms.task_context
13+ - taskgraph.transforms.run
14+ - taskgraph.transforms.task
15+
16+ task-defaults :
17+ description : Push {name} {docker_tag} docker image to GAR
18+ worker-type : images
19+ task-context :
20+ from-parameters :
21+ head_rev : head_rev
22+ head_repo : head_repository
23+ docker_tag : docker_tag
24+ moz_build_date : moz_build_date
25+ substitution-fields :
26+ - description
27+ - dependencies.image
28+ - worker.env
29+ - run-on-git-branches
30+ dependencies :
31+ image : docker-image-{name}
32+ worker :
33+ taskcluster-proxy : true
34+ docker-image : {in-tree: skopeo}
35+ max-run-time : 1800
36+ env :
37+ VCS_HEAD_REPOSITORY : " {head_repo}"
38+ APP : " {name}"
39+ DOCKER_REPO : " {name}"
40+ VCS_HEAD_REV : " {head_rev}"
41+ DOCKER_TAG : " {docker_tag}"
42+ run-on-tasks-for : [github-push]
43+ run-on-git-branches :
44+ - ^dev$
45+ - ^production$
46+ - ^dev-{name}$
47+ - ^production-{name}$
48+ run :
49+ using : run-task
50+ checkout : false
51+ command :
52+ - /usr/local/bin/push_image_gar.sh
53+ fetches :
54+ image :
55+ - artifact : image.tar.zst
56+ extract : false
57+ scopes :
58+ - secrets:get:project/releng/scriptworker-scripts/deploy
59+
60+ tasks :
61+ addonscript : {}
62+ balrogscript : {}
63+ bitrisescript : {}
64+ beetmoverscript : {}
65+ bouncerscript : {}
66+ githubscript : {}
67+ landoscript : {}
68+ pushapkscript : {}
69+ pushflatpakscript : {}
70+ pushmsixscript : {}
71+ shipitscript : {}
72+ signingscript : {}
73+ treescript : {}
You can’t perform that action at this time.
0 commit comments