Access for backfilling via cron
Categories
(Release Engineering :: Firefox-CI Administration, task)
Tracking
(Not tracked)
People
(Reporter: alexandrui, Assigned: ahal)
References
Details
Attachments
(1 file)
I'm working on a cron that's triggering an action task and I need access for hooks:trigger-hook:project-gecko/in-tree-action-3-backfill
.
Thanks!
Comment 1•2 years ago
|
||
Hi, what is your client ID?
You can see this by going to https://firefox-ci-tc.services.mozilla.com/profile and then "Client ID".
Comment 2•2 years ago
|
||
Now that I read the grants, it looks like you will have access if you for example have Level 3 Commit Access, did you try it before and it gave you an error?
Reporter | ||
Comment 3•2 years ago
|
||
I am trying to trigger an action task via cron using this command: mach taskgraph target -p parameterscron.yml
app_version: 102.0a1
backstop: false
base_repository: https://hg.mozilla.org/mozilla-unified
build_date: 1652172895
build_number: 1
do_not_optimize: []
existing_tasks: {}
filters:
- target_tasks_method
head_ref: 3b3ffdb196d966104ea44c4753e0b4b4183135ff
head_repository: https://hg.mozilla.org/integration/autoland
head_rev: 3b3ffdb196d966104ea44c4753e0b4b4183135ff
head_tag: ''
hg_branch: default
level: '3'
message: ''
moz_build_date: '20220510085455'
next_version: null
optimize_strategies: gecko_taskgraph.optimize:project.autoland
optimize_target_tasks: true
owner: hikezoe.birchill@mozilla.com
phabricator_diff: null
project: autoland
pushdate: 1652172895
pushlog_id: '162546'
release_enable_emefree: false
release_enable_partner_attribution: false
release_enable_partner_repack: false
release_eta: ''
release_history: {}
release_partner_build_number: 1
release_partner_config: {}
release_partners: []
release_product: null
release_type: ''
repository_type: hg
required_signoffs: []
signoff_urls: {}
target_tasks_method: backfill_all_browsertime
tasks_for: hg-push
test_manifest_loader: bugbug
try_mode: null
try_options: null
try_task_config: {}
version: 102.0a1
Reporter | ||
Comment 4•2 years ago
|
||
Reporter | ||
Comment 5•2 years ago
•
|
||
I am updating the parameters.yml above taking it from the latest decision task from autoland. e.g. for today https://treeherder.mozilla.org/jobs?repo=autoland&selectedTaskRun=AaX6lBHDQlif5fouw4sqTQ.0&searchStr=Gecko%2CDecision%2CTask%2Copt%2CGecko%2CDecision%2CTask%2CD
app_version: 102.0a1
backstop: false
base_repository: https://hg.mozilla.org/mozilla-unified
build_date: 1652344319
build_number: 1
do_not_optimize: []
existing_tasks: {}
filters:
- target_tasks_method
head_ref: caa124fe7a6cca338cf9b53cb0ba7c65cf9256a9
head_repository: https://hg.mozilla.org/integration/autoland
head_rev: caa124fe7a6cca338cf9b53cb0ba7c65cf9256a9
head_tag: ''
hg_branch: default
level: '3'
message: ''
moz_build_date: '20220512083159'
next_version: null
optimize_strategies: gecko_taskgraph.optimize:project.autoland
optimize_target_tasks: true
owner: archaeopteryx@coole-files.de
phabricator_diff: null
project: autoland
pushdate: 1652344319
pushlog_id: '162696'
release_enable_emefree: false
release_enable_partner_attribution: false
release_enable_partner_repack: false
release_eta: ''
release_history: {}
release_partner_build_number: 1
release_partner_config: {}
release_partners: []
release_product: null
release_type: ''
repository_type: hg
required_signoffs: []
signoff_urls: {}
target_tasks_method: autoland_tasks
tasks_for: hg-push
test_manifest_loader: bugbug
try_mode: null
try_options: null
try_task_config: {}
version: 102.0a1
Assignee | ||
Comment 6•2 years ago
|
||
Hey, sorry should have chimed in here sooner.
Alexandru isn't asking for access for himself, but rather the cron task. E.g, like:
https://hg.mozilla.org/ci/ci-configuration/file/tip/grants.yml#l537
Assignee | ||
Comment 7•2 years ago
|
||
Which branches do you need this cron task to run on?
Assignee | ||
Comment 8•2 years ago
|
||
Thanks for looking into this Michelle, I'll take this over as I've been chatting about this with Alexandru for awhile now.
Reporter | ||
Comment 9•2 years ago
|
||
(In reply to Andrew Halberstadt [:ahal] from comment #7)
Which branches do you need this cron task to run on?
autoland... ?
Comment 10•2 years ago
|
||
Thanks ahal, yeah I've gotten a tad more busy today than I expected.
Assignee | ||
Comment 11•2 years ago
|
||
Comment 12•2 years ago
|
||
Pushed by ahalberstadt@mozilla.com: https://hg.mozilla.org/ci/ci-configuration/rev/d7969b1f1be0 Grant scope for 'backfill-browsertime-all' cron task to trigger the backfill action, r=releng-reviewers,jcristau
Assignee | ||
Updated•1 year ago
|
Description
•