Closed
Bug 1499590
Opened 7 years ago
Closed 7 years ago
Restore periodic file updates on Taskcluster
Categories
(Thunderbird :: Build Config, enhancement)
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 65.0
People
(Reporter: rjl, Assigned: rjl)
References
Details
(Keywords: leave-open)
Attachments
(7 files, 1 obsolete file)
|
46 bytes,
text/x-phabricator-request
|
Details | Review | |
|
46 bytes,
text/x-phabricator-request
|
Details | Review | |
|
13.34 KB,
text/plain
|
Details | |
|
46 bytes,
text/x-phabricator-request
|
Details | Review | |
|
46 bytes,
text/x-phabricator-request
|
Details | Review | |
|
1.39 KB,
patch
|
Details | Diff | Splinter Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review |
Port M-C's periodic file updates taskcluster task to work with Thunderbird.
The only update we need to do for Thunderbird is the blocklist.xml update. The remaining ones (HSTS, HPKP, and remote-settings) are only in the mozilla-* trees.
The update script itself was written with Thunderbird in mind, likely won't need to be updated.
Taskcluster pieces will include adding to .cron.yml and creating a new "repo-updates" kind.
| Assignee | ||
Comment 1•7 years ago
|
||
- Create new cron job to run the update
- Create new kind to generate take for Thunderbird
| Assignee | ||
Comment 2•7 years ago
|
||
Updates to periodic_file_updates.sh to complete Thunderbird support
- added comm- branch support so that repository URL's are correctly determined
- set COMMIT_AUTHOR appropriately for Thunderbird
| Assignee | ||
Comment 3•7 years ago
|
||
Attachment 9017756 [details] is for comm-central.
Attachment 9018622 [details] is for mozilla-central.
I've tested the changes to periodic_file_updates.sh on my dev machine and the build ran successfully. This should be it for code changes.
Waiting on Thunderbird Releng access to Phabricator (from a script), and then the token needs to be added to Taskcluster secrets.
| Assignee | ||
Comment 4•7 years ago
|
||
I ran the script (runme.sh) in a Docker container locally.
Two take-aways:
1) The modifications I made to periodic_file_updates.sh work
2) It will take about 5 minutes to run this*
The container itself was built with:
mach taskcluster-build-image periodic-updates
then a container was launched with a bash prompt:
docker run -ti --rm taskcluster/periodic-updates bash
A few environment variables normally set by Taskcluster were set manually:
# These are set by Taskcluster
export DO_BLOCKLIST=1
export PRODUCT="thunderbird"
export BRANCH="comm-central"
export REVIEWERS="rjl"
And ARC_TOKEN was set in order to test Phabricator submission:
export ARC_TOKEN="api-XXXXXXXXXXXX"
In a real world setting, $TASK_ID would be set by Taskcluster, and the token would be downloaded from Taskcluster secrets. This part of the process needs testing.
| Assignee | ||
Updated•7 years ago
|
Attachment #9017756 -
Flags: review?(geoff)
| Assignee | ||
Comment 5•7 years ago
|
||
Comment on attachment 9017756 [details]
Bug 1499590 - Taskcluster configuration for blocklist.xml updates
this should have only been set to r? in phabricator.
Attachment #9017756 -
Flags: review?(geoff)
| Assignee | ||
Comment 6•7 years ago
|
||
Added configuration for periodic-file-updates task to comm's .cron.yml.
This cron task mirrors one found in mozilla- repositories, and was part of
comm-'s buildbot configuration that needed to be moved to Taskcluster.
| Assignee | ||
Comment 7•7 years ago
|
||
The periodic-file-updates cron task is meant to run on comm-central, comm-beta,
and comm-esr60 like it's mozilla- counterpart task.
| Assignee | ||
Comment 8•7 years ago
|
||
These pieces will need to be landed in a specific order as they go against various repositories.
1) Attachment 9020195 [details] (Enable taskcluster-cron on additional comm- repos) is for ci-configuration repository. DONE
2) Attachment 9018622 [details] (Thunderbird fixes in periodic_file_updates.sh) is for Mozilla-Central. When this gets landed, I will let the responsible parties know on the Firefox end so they are aware of the change.
3) Attachment 9017756 [details] (Taskcluster configuration for blocklist.xml updates) and Attachment 9020194 [details] (Add periodic-file-updates task to .cron.yml) are both for Comm-Central and can be landed together once the above have landed.
Updated•7 years ago
|
Attachment #9018622 -
Attachment description: Bug 1499590 - Thunderbird fixes in periodic_file_updates.sh → Bug 1499590 - Thunderbird fixes in periodic_file_updates.sh.
Comment 9•7 years ago
|
||
https://hg.mozilla.org/integration/autoland/rev/479efb379f5439b2b0f0e541fa71d9911237a904
Bug 1499590 - Thunderbird fixes in periodic_file_updates.sh. r=sfraser
(no idea why automation/pulsebot didn't post this comment)
Comment 10•7 years ago
|
||
Comment 11•7 years ago
|
||
| bugherder | ||
Comment 12•7 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/4595e058edbd
Taskcluster configuration for blocklist.xml updates. r=darktrojan
https://hg.mozilla.org/comm-central/rev/089769dbf256
Add periodic-file-updates task to .cron.yml. r=dustin
Comment 13•7 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/e6c4c2cd5363
Follow-up: Reindent ci/repo-update/kind.yml to multiples of 4 spaces. rs=bustage-fix DONTBUILD
| Assignee | ||
Comment 14•7 years ago
|
||
For the record, this worked as expected this morning.
https://phabricator.services.mozilla.com/D10533
| Assignee | ||
Comment 15•7 years ago
|
||
Removing the periodic-updates cron while we're working out bug 1503894. This way we can have comm-central nightly builds back.
| Assignee | ||
Updated•7 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Updated•7 years ago
|
Keywords: leave-open
Comment 16•7 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/d3c5b1d08580
Backed out changeset 089769dbf256 to remove periodic-file-updates cron task. a=backout
| Assignee | ||
Comment 17•7 years ago
|
||
Added configuration for periodic-file-updates task to comm's .cron.yml.
This cron task mirrors one found in mozilla- repositories, and was part
of comm-'s buildbot configuration that needed to be moved to Taskcluster.
This is a reapply of an old patch. I've removed the comm-beta and comm-esr60
repositories from the configuration.
| Assignee | ||
Comment 18•7 years ago
|
||
Added configuration for periodic-file-updates task to comm's .cron.yml.
This cron task mirrors one found in mozilla- repositories, and was part
of comm-'s buildbot configuration that needed to be moved to Taskcluster.
This is a reapply of an old patch. I've removed the comm-beta and comm-esr60
repositories from the configuration.
Updated•7 years ago
|
Attachment #9032709 -
Attachment is obsolete: true
Comment 19•7 years ago
|
||
| bugherder uplift | ||
Comment 20•7 years ago
|
||
Pushed by thunderbird@calypsoblue.org:
https://hg.mozilla.org/comm-central/rev/b5746afc4831
Add periodic-file-updates task to .cron.yml. r=darktrojan,dustin
| Assignee | ||
Comment 21•7 years ago
|
||
Successful update this morning, this can finally be closed!
Status: REOPENED → RESOLVED
Closed: 7 years ago → 7 years ago
Resolution: --- → FIXED
Comment 22•7 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•