Skip to content

Commit 1ccb654

Browse files
authored
bug 1907217: remove * star branches from remaining github repositories (#46)
This also adds branches to a couple of repositories where I noticed we were missing one that the build on. This depends on a handful of PRs to these repos: mozilla-mobile/reference-browser#2982 mozilla-mobile/firefox-ios#21357 mozilla/code-review#2289 mozilla/code-coverage#2408 mozilla/translations#777 After this change, the only Github repositories with `*` branches will be `staging` repositories, as was discussed in #18.
1 parent a572166 commit 1ccb654

File tree

1 file changed

+26
-24
lines changed

1 file changed

+26
-24
lines changed

projects.yml

Lines changed: 26 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -694,8 +694,6 @@ reference-browser:
694694
trust_project: reference-browser
695695
repo_type: git
696696
branches:
697-
- name: "*"
698-
level: 3
699697
- name: master
700698
level: 3
701699
default_branch: master
@@ -727,8 +725,6 @@ firefox-ios:
727725
trust_project: firefox-ios
728726
repo_type: git
729727
branches:
730-
- name: "*"
731-
level: 3
732728
- name: main
733729
level: 3
734730
features:
@@ -754,8 +750,6 @@ staging-firefox-ios:
754750
trust_project: firefox-ios
755751
repo_type: git
756752
branches:
757-
- name: "*"
758-
level: 1
759753
- name: main
760754
level: 1
761755
features:
@@ -774,10 +768,10 @@ application-services:
774768
repo: https://github.com/mozilla/application-services
775769
repo_type: git
776770
branches:
777-
- name: "*"
778-
level: 3
779771
- name: main
780772
level: 3
773+
- name: "release-*"
774+
level: 3
781775
trust_domain: app-services
782776
features:
783777
# TODO Bug 1601687 - Enable `beetmover-maven-phase` once scriptworker scopes are predictible
@@ -798,10 +792,10 @@ staging-application-services:
798792
repo: https://github.com/mozilla-releng/staging-application-services
799793
repo_type: git
800794
branches:
801-
- name: "*"
802-
level: 1
803795
- name: main
804796
level: 1
797+
- name: "release-*"
798+
level: 1
805799
trust_domain: app-services
806800
features:
807801
github-taskgraph: true
@@ -818,8 +812,6 @@ glean:
818812
repo: https://github.com/mozilla/glean
819813
repo_type: git
820814
branches:
821-
- name: "*"
822-
level: 3
823815
- name: main
824816
level: 3
825817
trust_domain: glean
@@ -861,9 +853,11 @@ product-details:
861853
repo_type: git
862854
trust_domain: releng
863855
branches:
864-
- name: "*"
865-
level: 3
856+
# We don't do anything on `main`, but some code requires us to have a level
857+
# set for it.
866858
- name: main
859+
level: 1
860+
- name: testing
867861
level: 3
868862
- name: production
869863
level: 3
@@ -1016,8 +1010,6 @@ cloud-image-builder:
10161010
repo: https://github.com/mozilla-platform-ops/cloud-image-builder
10171011
repo_type: git
10181012
branches:
1019-
- name: "*"
1020-
level: 3
10211013
- name: main
10221014
level: 3
10231015
trust_domain: relops
@@ -1076,8 +1068,6 @@ xpi-manifest:
10761068
repo: https://github.com/mozilla-extensions/xpi-manifest
10771069
repo_type: git
10781070
branches:
1079-
- name: "*"
1080-
level: 3
10811071
- name: main
10821072
level: 3
10831073
trust_domain: xpi
@@ -1158,8 +1148,6 @@ adhoc-signing:
11581148
repo: https://github.com/mozilla-releng/adhoc-signing
11591149
repo_type: git
11601150
branches:
1161-
- name: "*"
1162-
level: 3
11631151
- name: main
11641152
level: 3
11651153
trust_domain: adhoc
@@ -1176,10 +1164,16 @@ code-review:
11761164
repo: https://github.com/mozilla/code-review
11771165
repo_type: git
11781166
branches:
1179-
- name: "*"
1167+
- name: production
11801168
level: 3
1169+
# Ideally `master` and `testing` would be level 1, but there are no L1
1170+
# and L3 pools for the tasks that the code-review hooks generate, so
1171+
# there's no benefit to doing that at this point, as L1 and L3 tasks
1172+
# would end up on the same workers anyways.
11811173
- name: master
11821174
level: 3
1175+
- name: testing
1176+
level: 3
11831177
default_branch: master
11841178
trust_domain: code-analysis
11851179
features:
@@ -1212,10 +1206,16 @@ code-coverage:
12121206
repo: https://github.com/mozilla/code-coverage
12131207
repo_type: git
12141208
branches:
1215-
- name: "*"
1209+
- name: production
12161210
level: 3
1211+
# Ideally `master` and `testing` would be level 1, but there are no L1
1212+
# and L3 pools for the tasks that the code-review hooks generate, so
1213+
# there's no benefit to doing that at this point, as L1 and L3 tasks
1214+
# would end up on the same workers anyways.
12171215
- name: master
12181216
level: 3
1217+
- name: testing
1218+
level: 3
12191219
default_branch: master
12201220
trust_domain: code-analysis
12211221
features:
@@ -1228,10 +1228,12 @@ firefox-translations-training:
12281228
repo: https://github.com/mozilla/firefox-translations-training
12291229
repo_type: git
12301230
branches:
1231-
- name: "*"
1232-
level: 1
12331231
- name: main
12341232
level: 1
1233+
- name: "release*"
1234+
level: 1
1235+
- name: "dev*"
1236+
level: 1
12351237
trust_domain: translations
12361238
# https://github.com/mozilla/firefox-translations-training/issues/206
12371239
features:

0 commit comments

Comments
 (0)