Closed Bug 1895962 Opened 1 year ago Closed 1 year ago

Add a shipitscript task that updates the Nightly version in shipit if necessary once the builds are in the Mozilla archive

Categories

(Firefox Build System :: Task Configuration, enhancement, P3)

enhancement

Tracking

(firefox129 fixed)

RESOLVED FIXED
129 Branch
Tracking Status
firefox129 --- fixed

People

(Reporter: gabriel, Assigned: gabriel)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

Once we have an API to manage the Nightly version in shipit, and scriptworker support for calling this API, we need to add a task to the Nightly graph to trigger the worker's behavior once the builds are in the archive.

Severity: -- → N/A
Priority: -- → P3
Depends on: 1899657
See Also: → 1899904
Depends on: 1900415
Assignee: nobody → gabriel
Attachment #9404898 - Attachment description: WIP: Bug 1895962 - Add a shipitscript task that updates the Nightly version in shipit if necessary once the builds are in the Mozilla archive r=#releng-reviewers → Bug 1895962 - Add a shipitscript task that updates the Nightly version in shipit if necessary once the builds are in the Mozilla archive r=hneiva,#releng-reviewers
Status: NEW → ASSIGNED
Depends on: 1901088

Backed out for causing Gecko decision task bustages in gecko_taskgraph.loader.transform

Flags: needinfo?(gabriel)
Flags: needinfo?(gabriel)
Pushed by gbustamante@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/06fde1bb5f54 Add a shipitscript task that updates the Nightly version in shipit if necessary once the builds are in the Mozilla archive r=hneiva,releng-reviewers,taskgraph-reviewers
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Pushed by gbustamante@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0fb4dc99349f Fix the release-update-product-channel-version kind that disappeared post taskgraph update r=releng-reviewers,taskgraph-reviewers,bhearsum
Status: REOPENED → RESOLVED
Closed: 1 year ago1 year ago
Resolution: --- → FIXED

Backed out for causing cron job failures.

Status: RESOLVED → REOPENED
Flags: needinfo?(gabriel)
Resolution: FIXED → ---
Target Milestone: 129 Branch → ---

I'm not a fan of how scopes work here. Until now mozilla-central hasn't needed to talk to production shipit, but if we grant it that scope then that also means it can create new releases, or mark them as shipped, for any and all products. That may not need to block this bug, but can we look at making things more granular?

Thanks Julien.

So, grating project:releng:ship-it:server:production to mozilla-central would enable it to call all the actions on all the products?

That kinda sucks :C

Is it because we grant the actions to the gecko trust domain?

I see some references to "products" in the worker's client scopes, but they apply to all the gecko-3 workers.

...
project/releng/scriptworker/v2/shipit/prod/firefoxci-gecko-3:
  description: ''
  scopes:
    - project:releng:services/shipit_api/update_product_channel_version/firefox
    - project:releng:services/shipit_api/add_release/devedition
    - project:releng:services/shipit_api/add_release/fennec
    - project:releng:services/shipit_api/add_release/firefox
...
Flags: needinfo?(gabriel)

Could we make it more granular using the project alias?

I already landed patches to shipit to use the non-hard-coded version so it would be nice if I could close this bug before merge day. But, if I need more time to refactor the scopes... I can grant releng access to update the version in shipit (right now only the workers can call the API) and bump it myself (if I need to.)

See Also: → 1904896

Pushed by gbustamante@mozilla.com:
https://hg.mozilla.org/ci/ci-configuration/rev/9f31d79ce94b
Grant the Nightly cron jobs scopes to run actions on the production ship-it server r=jcristau,releng-reviewers

Status: REOPENED → RESOLVED
Closed: 1 year ago1 year ago
Resolution: --- → FIXED
Pushed by gbustamante@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/20c9105b1f84 Fix the release-update-product-channel-version kind that disappeared post taskgraph update r=releng-reviewers,taskgraph-reviewers,bhearsum
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → RESOLVED
Closed: 1 year ago1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: