PULL_REQUEST_NUMBER not attaching to Task payload definition
Categories
(Focus :: General, defect)
Tracking
(Not tracked)
People
(Reporter: cpeterson, Unassigned)
Details
From github: https://github.com/mozilla-mobile/focus-android/issues/7892.
Per https://github.com/mozilla-mobile/focus-android/blob/a2eb4e43d87459b65391b0b0a232d8e7bbab21c9/.taskcluster.yml#L217 and https://github.com/mozilla-mobile/focus-android/blob/0c2e0b77fe4fd918672fa55256b881a45d117f3e/taskcluster/focus_android_taskgraph/parameters.py#L32 I should be seeing a
PULL_REQUEST_NUMBERenv-var undertask.payload.envbut am not 🤔- $if: 'tasks_for in ["github-pull-request"]' then: MOBILE_PULL_REQUEST_NUMBER: '${event.pull_request.number}'Example PR task: https://firefox-ci-tc.services.mozilla.com/tasks/W1YMP7E5QwOW5pWn4q6zkQ and
task.payload.env"payload": { "env": { "VCS_PATH": "/builds/worker/checkouts/vcs", "REPOSITORIES": "{\"mobile\": \"Focus-Android\"}", "HG_STORE_PATH": "/builds/worker/checkouts/hg-store", "MOZ_SCM_LEVEL": "1", "GOOGLE_PROJECT": "moz-focus-android", "MOZ_AUTOMATION": "1", "MOBILE_HEAD_REF": "6478", "MOBILE_HEAD_REV": "3650e94e6f93ef8c56932771424fd7b97b51878a", "SCCACHE_DISABLE": "1", "MOBILE_BASE_REPOSITORY": "https://github.com/mozilla-mobile/focus-android", "MOBILE_HEAD_REPOSITORY": "https://github.com/iorgamgabriel/focus-android", "MOBILE_REPOSITORY_TYPE": "git", "GOOGLE_APPLICATION_CREDENTIALS": ".firebase_token.json" }This works on the Fenix repository. There must be a conditional difference affecting this?
Change performed by the Move to Bugzilla add-on.
| Reporter | ||
Comment 1•3 years ago
|
||
Aaron, I moved this bug from the focus-android GitHub issue tracker. Will this bug still be relevant after we move Focus builds and tests to the new firefox-android monorepo?
Comment 2•3 years ago
|
||
I'm not entirely sure but it will be easy to check once we have some PR's up to look at their full-payload definition to confirm if the key is there. Having that key has been helpful for payload context in data gathering.
Comment 3•3 years ago
|
||
The severity field is not set for this bug.
:cpeterson, could you have a look please?
For more information, please visit auto_nag documentation.
| Reporter | ||
Updated•3 years ago
|
Updated•2 years ago
|
Description
•