Bug 1810856 - Split periodic file updates task into two builders. r=releng-reviewers,bhearsum

This will allow the significantly shorter remote settings parts to be run independently if needed.

Differential Revision: https://phabricator.services.mozilla.com/D207291
This commit is contained in:
Mark Banner 2024-04-17 07:19:02 +00:00
parent c44f92a370
commit 54e955762d

View File

@ -12,26 +12,6 @@ transforms:
job-defaults:
worker:
env:
DO_HSTS:
by-project:
mozilla-(central|beta|esr.*): "1"
default: ""
DO_HPKP:
by-project:
mozilla-(central|beta|esr.*): "1"
default: ""
DO_REMOTE_SETTINGS:
by-project:
mozilla-(central|beta|release|esr.*): "1"
default: ""
DO_SUFFIX_LIST:
by-project:
mozilla-(central|beta|esr.*): "1"
default: ""
DO_MOBILE_EXPERIMENTS:
by-project:
mozilla-central: "1"
default: ""
USE_MOZILLA_CENTRAL:
by-project:
mozilla-central: "1"
@ -39,9 +19,9 @@ job-defaults:
jobs:
hsts-hpkp-blocklist:
name: periodic_file_update
description: HSTS, HPKP and remote settings update
periodic-file-updates:
name: periodic-file-updates
description: Remote settings, suffix list and mobile experiments updates
run-on-projects: [] # Only run via cron
treeherder:
kind: build
@ -49,6 +29,49 @@ jobs:
symbol: pfu
tier: 1
worker-type: b-linux-xlarge-gcp
worker:
implementation: docker-worker
os: linux
docker-image: {in-tree: periodic-updates}
max-run-time: 1800
env:
PRODUCT: firefox
REVIEWERS: "#release-managers"
DO_REMOTE_SETTINGS:
by-project:
mozilla-(central|beta|release|esr.*): "1"
default: ""
DO_SUFFIX_LIST:
by-project:
mozilla-(central|beta|esr.*): "1"
default: ""
DO_MOBILE_EXPERIMENTS:
by-project:
mozilla-central: "1"
default: ""
command:
- /runme.sh
taskcluster-proxy: true
artifacts:
- name: 'public/build/remote-settings.diff'
path: '/home/worker/artifacts/remote-settings.diff'
type: file
- name: 'public/build/initial_experiments.diff'
path: '/home/worker/artifacts/initial_experiments.diff'
type: file
scopes:
- secrets:get:project/releng/gecko/build/level-{level}/arc-phabricator-token
hsts-hpkp-updates:
name: hsts-hpkp-periodic-updates
description: HSTS, HPKP updates
run-on-projects: [] # Only run via cron
treeherder:
kind: build
platform: linux64/opt
symbol: hfu
tier: 1
worker-type: b-linux-xlarge-gcp
worker:
implementation: docker-worker
os: linux
@ -57,6 +80,14 @@ jobs:
env:
PRODUCT: firefox
REVIEWERS: "#release-managers"
DO_HSTS:
by-project:
mozilla-(central|beta|esr.*): "1"
default: ""
DO_HPKP:
by-project:
mozilla-(central|beta|esr.*): "1"
default: ""
command:
- /runme.sh
taskcluster-proxy: true
@ -67,11 +98,5 @@ jobs:
- name: 'public/build/StaticHPKPins.h.diff'
path: '/home/worker/artifacts/StaticHPKPins.h.diff'
type: file
- name: 'public/build/remote-settings.diff'
path: '/home/worker/artifacts/remote-settings.diff'
type: file
- name: 'public/build/initial_experiments.diff'
path: '/home/worker/artifacts/initial_experiments.diff'
type: file
scopes:
- secrets:get:project/releng/gecko/build/level-{level}/arc-phabricator-token