Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from mozilla:master #4802

Open
wants to merge 925 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
925 commits
Select commit Hold shift + click to select a range
28a5919
Pontoon: Update Portuguese (Brazil) (pt-BR) localization of AMO
Jun 5, 2024
5c2e887
Pontoon: Update Slovenian (sl) localization of AMO
Jun 5, 2024
73a0f65
Pontoon: Update Italian (it) localization of AMO
Jun 5, 2024
c232fe0
Pontoon: Update German (de) localization of AMO
koehlermichael Jun 5, 2024
94f26ca
Pontoon: Update German (de) localization of AMO
koehlermichael Jun 5, 2024
779f275
Pontoon: Update Frisian (fy-NL) localization of AMO
Fjoerfoks Jun 5, 2024
e81a170
Pontoon: Update Turkish (tr) localization of AMO
Jun 6, 2024
f1de6d3
Pontoon: Update Friulian (fur) localization of AMO
Jun 6, 2024
0e7f710
Pontoon: Update Russian (ru) localization of AMO
Goudron Jun 6, 2024
5929f06
Pontoon: Update Dutch (nl) localization of AMO
markh-bz Jun 6, 2024
49fc97b
Pontoon: Update Chinese (China) (zh-CN) localization of AMO
wxie2017 Jun 6, 2024
0446c60
Pontoon: Update Swedish (sv-SE) localization of AMO
andy-moz Jun 6, 2024
3e10c2f
Pontoon: Update Turkish (tr) localization of AMO
Jun 6, 2024
a790d97
Refactor CI workflow and enable parallelization (#22306)
KevinMind Jun 6, 2024
80529f9
Run CI on push to master (#22330)
KevinMind Jun 6, 2024
aff56b6
Pontoon: Update English (Great Britain) (en-GB) localization of AMO
Jun 6, 2024
7b94d8f
Add version suffix and enable push on master (#22331)
KevinMind Jun 6, 2024
9571558
Pontoon: Update Finnish (fi) localization of AMO
Jun 6, 2024
a9d22a2
Pontoon: Update Finnish (fi) localization of AMO
Jun 6, 2024
f721673
Pontoon: Update Vietnamese (vi) localization of AMO
Jun 7, 2024
53749cc
Pontoon: Update Interlingua (ia) localization of AMO
Karm46 Jun 7, 2024
e8b0844
Expose reviewers validation result API through JWT auth and document …
diox Jun 7, 2024
f469575
Pontoon: Update Slovenian (sl) localization of AMO
upwinxp Jun 7, 2024
d90bc17
Pontoon: Update Sorbian, Upper (hsb) localization of AMO
milupo Jun 7, 2024
a7669e3
Pontoon: Update Sorbian, Lower (dsb) localization of AMO
milupo Jun 7, 2024
5c40b85
Pontoon: Update Slovak (sk) localization of AMO
Jun 7, 2024
abc4aa6
Pontoon: Update Chinese (China) (zh-CN) localization of AMO
Jun 9, 2024
a515147
Assay Links Added for Yara and Customs, opens the flagged add-on vers…
chrstinalin Jun 10, 2024
5bef471
Bump certifi from 2024.2.2 to 2024.6.2 in /requirements (#22311)
dependabot[bot] Jun 10, 2024
ee78a43
Bump requests from 2.32.2 to 2.32.3 in /requirements (#22302)
dependabot[bot] Jun 10, 2024
be592a2
Ditch the /deps volume (#22332)
KevinMind Jun 10, 2024
cfa8194
Don't attempt to push an image if actor is dependabot (#22343)
diox Jun 10, 2024
d4e92a9
Bump addons-linter from 6.28.0 to 6.29.0 (#22342)
dependabot[bot] Jun 10, 2024
2c9393d
Bump pytest from 8.2.0 to 8.2.2 in /requirements (#22320)
dependabot[bot] Jun 10, 2024
ed6a0c1
--- (#22269)
dependabot[bot] Jun 10, 2024
6add96e
Fix inaccuracies in email sent to developers when rejecting versions …
diox Jun 11, 2024
215d96a
Fix-pip-packages (#22344)
KevinMind Jun 11, 2024
e1e622c
Bump cryptography from 42.0.7 to 42.0.8 in /requirements (#22323)
dependabot[bot] Jun 11, 2024
4e9b192
Bump braces from 3.0.2 to 3.0.3 (#22348)
dependabot[bot] Jun 11, 2024
94f4a85
Bump prettier from 3.2.5 to 3.3.2 (#22349)
dependabot[bot] Jun 11, 2024
880e4cc
Pontoon: Update Norwegian Nynorsk (nn-NO) localization of AMO
Jun 12, 2024
a5a4880
Pontoon: Update Norwegian Nynorsk (nn-NO) localization of AMO
Jun 12, 2024
9672782
Pontoon: Update Norwegian Nynorsk (nn-NO) localization of AMO
Jun 12, 2024
0598951
Pontoon: Update Norwegian Nynorsk (nn-NO) localization of AMO
Jun 12, 2024
7c3146d
Pontoon: Update Chinese (Taiwan) (zh-TW) localization of AMO
petercpg Jun 12, 2024
f4c10c5
Merge docs/extract locales to CI workflow (#22352)
KevinMind Jun 12, 2024
fe02ae8
Wait for build docs before deploying (#22356)
KevinMind Jun 12, 2024
c51e42d
Bump grpcio from 1.63.0 to 1.64.1 in /requirements (#22315)
dependabot[bot] Jun 12, 2024
be6a1a3
Add workflow to log context on release events (#22357)
KevinMind Jun 12, 2024
2d591be
Auto-release (#22358)
KevinMind Jun 12, 2024
3743cf0
FIx typos in release.yml (#22359)
KevinMind Jun 12, 2024
ff8a6c5
Listen to all release events (#22360)
KevinMind Jun 12, 2024
5057769
TMP: remove workflow dispatch (#22361)
KevinMind Jun 12, 2024
13aa55a
Rename release workflow (#22362)
KevinMind Jun 12, 2024
5dc71c6
Fix flaky assertNumQueries test in TestAddonAdmin (#22363)
diox Jun 13, 2024
852f4a1
Bump django-debug-toolbar from 4.3.0 to 4.4.2 in /requirements (#22286)
dependabot[bot] Jun 13, 2024
8fc73b3
Split tests for faster execution (#22318)
KevinMind Jun 13, 2024
9f8766a
Pontoon: Update Hungarian (hu) localization of AMO
meskobalazs Jun 14, 2024
21a6321
Rename-release (#22364)
KevinMind Jun 14, 2024
7e62135
Jobs to release_master/tag in release workflow (#22367)
KevinMind Jun 14, 2024
2f36581
Add logs for github output (#22368)
KevinMind Jun 14, 2024
5f0a7f3
Pontoon: Update Danish (da) localization of AMO
Joergen Jun 14, 2024
b033a7b
Pontoon: Update Danish (da) localization of AMO
Joergen Jun 14, 2024
8a53ff0
Bump addons-linter from 6.29.0 to 6.30.0 (#22369)
dependabot[bot] Jun 14, 2024
46771c1
Pontoon: Update Danish (da) localization of AMO
Joergen Jun 14, 2024
0e5437b
Pontoon: Update Danish (da) localization of AMO
hennsoe Jun 14, 2024
ec65a2a
Pontoon: Update Czech (cs) localization of AMO
Jun 14, 2024
a984783
Pontoon: Update Korean (ko) localization of AMO
Jun 15, 2024
e3f00f5
Pontoon: Update Korean (ko) localization of AMO
Jun 15, 2024
5e9ee28
Pontoon: Update Norwegian Nynorsk (nn-NO) localization of AMO
Jun 15, 2024
84e5564
Pontoon: Update Norwegian Nynorsk (nn-NO) localization of AMO
Jun 15, 2024
c581116
Pontoon: Update Norwegian Nynorsk (nn-NO) localization of AMO
Jun 15, 2024
6eb1718
Pontoon: Update Norwegian Nynorsk (nn-NO) localization of AMO
Jun 15, 2024
a4e0d98
Pontoon: Update Norwegian Nynorsk (nn-NO) localization of AMO
Jun 15, 2024
9bb57d3
Pontoon: Update Norwegian Nynorsk (nn-NO) localization of AMO
Jun 15, 2024
e1a8d83
Pontoon: Update Norwegian Nynorsk (nn-NO) localization of AMO
Jun 15, 2024
0980474
Pontoon: Update Norwegian Nynorsk (nn-NO) localization of AMO
Jun 15, 2024
9240211
Pontoon: Update Norwegian Nynorsk (nn-NO) localization of AMO
Jun 15, 2024
a62eb88
Pontoon: Update Norwegian Nynorsk (nn-NO) localization of AMO
Jun 15, 2024
8ae4e59
Pontoon: Update Norwegian Nynorsk (nn-NO) localization of AMO
Jun 15, 2024
59089ba
Pontoon: Update Norwegian Nynorsk (nn-NO) localization of AMO
Jun 15, 2024
3d4fe1b
Pontoon: Update Norwegian Nynorsk (nn-NO) localization of AMO
Jun 16, 2024
c921d05
Pontoon: Update Norwegian Nynorsk (nn-NO) localization of AMO
Jun 16, 2024
a44bc8f
Pontoon: Update Norwegian Nynorsk (nn-NO) localization of AMO
Jun 16, 2024
91e668a
Pontoon: Update Norwegian Nynorsk (nn-NO) localization of AMO
Jun 16, 2024
7632bd3
Pontoon: Update Norwegian Nynorsk (nn-NO) localization of AMO
Jun 17, 2024
9204207
Pontoon: Update Norwegian Nynorsk (nn-NO) localization of AMO
Jun 17, 2024
3ce0cae
Pontoon: Update Norwegian Nynorsk (nn-NO) localization of AMO
Jun 17, 2024
6b47dec
Pontoon: Update Norwegian Nynorsk (nn-NO) localization of AMO
Jun 17, 2024
e991e20
Pontoon: Update Norwegian Nynorsk (nn-NO) localization of AMO
Jun 17, 2024
b5e011a
Bump ws from 8.11.0 to 8.17.1 (#22373)
dependabot[bot] Jun 18, 2024
e4e5dd7
Bump urllib3 from 1.26.18 to 1.26.19 in /requirements (#22374)
dependabot[bot] Jun 18, 2024
e6c7e10
Bump ruff from 0.3.7 to 0.4.9 in /requirements (#22371)
dependabot[bot] Jun 18, 2024
0bc41c8
Fix intermittent test failure in TestUserAdmin::test_search_* (#22376)
diox Jun 18, 2024
095f98b
Bump typing-extensions from 4.11.0 to 4.12.2 in /requirements (#22339)
dependabot[bot] Jun 18, 2024
12f96f3
Bump packaging from 24.0 to 24.1 in /requirements (#22338)
dependabot[bot] Jun 18, 2024
4d8dc8a
Bump google-resumable-media from 2.7.0 to 2.7.1 in /requirements (#22…
dependabot[bot] Jun 18, 2024
dc8c7d7
Bump google-cloud-storage from 2.16.0 to 2.17.0 in /requirements (#22…
dependabot[bot] Jun 18, 2024
1dc306d
Bump googleapis-common-protos from 1.63.0 to 1.63.1 in /requirements …
dependabot[bot] Jun 18, 2024
f98fb2e
Bump google-auth from 2.29.0 to 2.30.0 in /requirements (#22334)
dependabot[bot] Jun 18, 2024
3a82738
Bump responses from 0.25.0 to 0.25.3 in /requirements (#22372)
dependabot[bot] Jun 18, 2024
6ca5b59
Handle abuse reports being associated with appeal jobs (#22370)
eviljeff Jun 18, 2024
8d1d7d4
split resolving jobs functionality into seperate action from comment …
eviljeff Jun 18, 2024
2712195
Pontoon: Update Danish (da) localization of AMO
Jun 19, 2024
1efc96d
Bump addons-linter from 6.30.0 to 6.31.0 (#22380)
dependabot[bot] Jun 19, 2024
9ebf7da
Pontoon: Update Danish (da) localization of AMO
hennsoe Jun 19, 2024
0042e40
Pontoon: Update Danish (da) localization of AMO
Jun 19, 2024
38464ec
Pontoon: Update Danish (da) localization of AMO
Jun 19, 2024
f25f315
Pontoon: Update Danish (da) localization of AMO
Jun 19, 2024
87e145e
Pontoon: Update Danish (da) localization of AMO
Jun 19, 2024
208e4c9
Pontoon: Update Danish (da) localization of AMO
Jun 19, 2024
06c963f
Pontoon: Update Danish (da) localization of AMO
Jun 19, 2024
3e95b58
Escape json blob in context job (#22381)
KevinMind Jun 19, 2024
738ffd8
Pontoon: Update Danish (da) localization of AMO
Jun 19, 2024
f6ac0a5
Remove deprecated documents, including references. (#22383)
KevinMind Jun 19, 2024
60ab7b0
Pontoon: Update Danish (da) localization of AMO
Joergen Jun 19, 2024
4b88a11
Pontoon: Update Danish (da) localization of AMO
Joergen Jun 19, 2024
f9130df
Updated PR template (#22365)
KevinMind Jun 20, 2024
61dd512
Remove unecessary release.yml workflow (#22385)
KevinMind Jun 20, 2024
dce0d99
Pontoon: Update Danish (da) localization of AMO
Jun 20, 2024
a4f8869
Pontoon: Update Danish (da) localization of AMO
Jun 20, 2024
3daca98
Bump addons-linter from 6.31.0 to 6.31.1 (#22390)
dependabot[bot] Jun 20, 2024
045c3f6
Pontoon: Update Danish (da) localization of AMO
Jun 21, 2024
606c062
Pontoon: Update Danish (da) localization of AMO
Joergen Jun 21, 2024
59156f8
Stability fixes for docker compose lifecycle (#22378)
KevinMind Jun 21, 2024
aa31195
Remove egg-info without breaking locale extraction (#22384)
KevinMind Jun 21, 2024
c6e2804
Use more explicit syntax in push locales conditional expression (#22386)
KevinMind Jun 21, 2024
ac8dee8
Extracted l10n messages from 2024-06-21 at c6e28044d9
addons-robot Jun 21, 2024
0f1c563
Pontoon: Update Czech (cs) localization of AMO
Jun 21, 2024
2c4df79
Pontoon: Update Italian (it) localization of AMO
Jun 21, 2024
f4abd7f
Pontoon: Update Dutch (nl) localization of AMO
Jun 21, 2024
1cb8ac5
Pontoon: Update Portuguese (Brazil) (pt-BR) localization of AMO
Jun 21, 2024
1be65fb
Pontoon: Update Slovenian (sl) localization of AMO
Jun 21, 2024
302a20a
Pontoon: Update German (de) localization of AMO
koehlermichael Jun 21, 2024
dba13bf
Pontoon: Update Danish (da) localization of AMO
Jun 21, 2024
ac264e7
Pontoon: Update Chinese (Taiwan) (zh-TW) localization of AMO
petercpg Jun 21, 2024
5f4a97c
Pontoon: Update Danish (da) localization of AMO
Joergen Jun 21, 2024
23841a3
Pontoon: Update Danish (da) localization of AMO
Joergen Jun 21, 2024
a8917e4
Pontoon: Update Danish (da) localization of AMO
Jun 21, 2024
26e21ae
Pontoon: Update Swedish (sv-SE) localization of AMO
andy-moz Jun 22, 2024
527a76b
Pontoon: Update Sorbian, Upper (hsb) localization of AMO
milupo Jun 22, 2024
f5e3540
Pontoon: Update Turkish (tr) localization of AMO
selimsumlu Jun 22, 2024
974cff1
Pontoon: Update Portuguese (Portugal) (pt-PT) localization of AMO
Blackspirits Jun 22, 2024
0596ffe
Pontoon: Update Thai (th) localization of AMO
ikkue Jun 22, 2024
f5aee59
Pontoon: Update Norwegian Nynorsk (nn-NO) localization of AMO
Jun 23, 2024
cace6d3
Pontoon: Update English (Great Britain) (en-GB) localization of AMO
Jun 23, 2024
adf54ed
Pontoon: Update Slovak (sk) localization of AMO
Jun 23, 2024
bebab74
Pontoon: Update Greek (el) localization of AMO
JimSp472000 Jun 23, 2024
0cd3d96
Pontoon: Update Dutch (nl) localization of AMO
Jun 24, 2024
7e73486
Pontoon: Update Russian (ru) localization of AMO
Goudron Jun 24, 2024
56ecf08
Pontoon: Update Interlingua (ia) localization of AMO
Karm46 Jun 24, 2024
b51ed72
Pontoon: Update Interlingua (ia) localization of AMO
Karm46 Jun 24, 2024
be1ed7b
Pontoon: Update Dutch (nl) localization of AMO
markh-bz Jun 24, 2024
63678a1
Pontoon: Update Frisian (fy-NL) localization of AMO
Fjoerfoks Jun 24, 2024
bbb95c3
Add new illegal_category field in abuse reports (#22388)
willdurand Jun 24, 2024
bd8db63
Extracted l10n messages from 2024-06-24 at bbb95c3ba3
addons-robot Jun 24, 2024
c2c0539
Pontoon: Update Albanian (sq) localization of AMO
ujdhesa Jun 24, 2024
ebf1792
Only disable auto approval until next manual one on human rejections,…
diox Jun 24, 2024
730205e
Add new illegal_subcategory field in abuse reports (#22395)
willdurand Jun 24, 2024
9d68cc1
Extracted l10n messages from 2024-06-24 at 730205e529
addons-robot Jun 24, 2024
c232800
Replace post-request-task with transaction.on_commit on every delay/a…
diox Jun 24, 2024
73471b9
Extracted l10n messages from 2024-06-24 at c232800a2e
addons-robot Jun 24, 2024
8592fe4
Update email template for reviewer activity (#22407)
diox Jun 24, 2024
c75565e
Cleaner build logs (#22413)
KevinMind Jun 25, 2024
0d9c7e9
Login to GAR (#22405)
KevinMind Jun 25, 2024
d8dec7a
Update PULL_REQUEST_TEMPLATE.md (#22415)
KevinMind Jun 25, 2024
592fa94
Pontoon: Update Chinese (China) (zh-CN) localization of AMO
Olvcpr423 Jun 25, 2024
feecaba
Pontoon: Update Chinese (China) (zh-CN) localization of AMO
Olvcpr423 Jun 25, 2024
834c3ec
Bump pkcs7_digest algorithm to sha256 (#22408)
KevinMind Jun 25, 2024
af50d6e
Extracted l10n messages from 2024-06-25 at 834c3ec451
addons-robot Jun 25, 2024
9a445dd
Pontoon: Update Czech (cs) localization of AMO
Jun 25, 2024
8d80339
Pontoon: Update Dutch (nl) localization of AMO
Jun 25, 2024
13c4491
Pontoon: Update Italian (it) localization of AMO
Jun 25, 2024
1cf091d
Pontoon: Update German (de) localization of AMO
koehlermichael Jun 25, 2024
26c21f4
Pontoon: Update Chinese (Taiwan) (zh-TW) localization of AMO
petercpg Jun 25, 2024
f9f9f1f
Pontoon: Update Slovak (sk) localization of AMO
Jun 25, 2024
6882662
Pontoon: Update Sorbian, Upper (hsb) localization of AMO
milupo Jun 25, 2024
d74403a
Pontoon: Update Sorbian, Lower (dsb) localization of AMO
milupo Jun 25, 2024
e7263ae
Pontoon: Update Greek (el) localization of AMO
JimSp472000 Jun 25, 2024
f85937b
split appeal job action from abuse job action (#22406)
eviljeff Jun 25, 2024
fda5b43
Extracted l10n messages from 2024-06-25 at f85937b394
addons-robot Jun 25, 2024
730f117
Pontoon: Update Dutch (nl) localization of AMO
Jun 25, 2024
b32acc3
Pontoon: Update English (Great Britain) (en-GB) localization of AMO
Jun 25, 2024
9724ff9
Pontoon: Update Greek (el) localization of AMO
JimSp472000 Jun 26, 2024
b397050
Pontoon: Update Chinese (China) (zh-CN) localization of AMO
wxie2017 Jun 26, 2024
ff5d2a6
Pontoon: Update Russian (ru) localization of AMO
mregorkaul Jun 26, 2024
fdddd8b
Pontoon: Update Turkish (tr) localization of AMO
Jun 26, 2024
57af989
Pontoon: Update Portuguese (Brazil) (pt-BR) localization of AMO
MarceloGhelman Jun 26, 2024
ef04bf8
Pontoon: Update Friulian (fur) localization of AMO
Jun 27, 2024
3ed62cc
Pontoon: Update Chinese (China) (zh-CN) localization of AMO
Olvcpr423 Jun 27, 2024
7f0c4b6
Clear NeedsHumanReview selectively depending on job being resolved (#…
diox Jun 27, 2024
6fa63c0
Pontoon: Update Greek (el) localization of AMO
norhorn Jun 27, 2024
eff0146
Pontoon: Update Interlingua (ia) localization of AMO
Karm46 Jun 27, 2024
3fce1b8
Pontoon: Update Danish (da) localization of AMO
Joergen Jun 28, 2024
65d92bd
Pontoon: Update Portuguese (Brazil) (pt-BR) localization of AMO
MarceloGhelman Jun 28, 2024
04c49e7
Pontoon: Update Czech (cs) localization of AMO
Jun 29, 2024
612d817
Pontoon: Update Catalan (ca) localization of AMO
jordis Jun 29, 2024
0da266f
Pontoon: Update Frisian (fy-NL) localization of AMO
Fjoerfoks Jul 1, 2024
e5dcc9a
Normalize how we expose reviewer comments in emails (#22422)
eviljeff Jul 1, 2024
5719af2
Extracted l10n messages from 2024-07-01 at e5dcc9ab65
addons-robot Jul 1, 2024
3d76197
Pontoon: Update Czech (cs) localization of AMO
Jul 1, 2024
4ea6637
Pontoon: Update Dutch (nl) localization of AMO
Jul 1, 2024
38c134a
Pontoon: Update Portuguese (Brazil) (pt-BR) localization of AMO
Jul 1, 2024
1e82cf9
Pontoon: Update Chinese (Taiwan) (zh-TW) localization of AMO
petercpg Jul 1, 2024
5c40cbe
Pontoon: Update Italian (it) localization of AMO
mozilla-pontoon Jul 1, 2024
b0f232b
Pontoon: Update Italian (it) localization of AMO
michrogit Jul 1, 2024
1272b21
Pontoon: Update Sorbian, Lower (dsb) localization of AMO
milupo Jul 1, 2024
3f57472
Pontoon: Update Sorbian, Upper (hsb) localization of AMO
milupo Jul 1, 2024
3f0db2f
Pontoon: Update Chinese (China) (zh-CN) localization of AMO
Olvcpr423 Jul 1, 2024
1f2df8f
Pontoon: Update Chinese (China) (zh-CN) localization of AMO
Olvcpr423 Jul 1, 2024
e7a0e52
Pontoon: Update Russian (ru) localization of AMO
Goudron Jul 1, 2024
3419e14
Pontoon: Update Frisian (fy-NL) localization of AMO
Fjoerfoks Jul 1, 2024
86c3569
Pontoon: Update German (de) localization of AMO
koehlermichael Jul 1, 2024
c0f1210
Pontoon: Update Slovak (sk) localization of AMO
Jul 1, 2024
bf90d22
Pontoon: Update Friulian (fur) localization of AMO
Jul 1, 2024
56c7318
Fix storage volume config for the nginx service (#22409)
willdurand Jul 2, 2024
5c1a71b
Extracted l10n messages from 2024-07-02 at 56c7318a9e
addons-robot Jul 2, 2024
538d19b
Pontoon: Update Czech (cs) localization of AMO
Jul 2, 2024
9917300
Pontoon: Update Dutch (nl) localization of AMO
Jul 2, 2024
6efa539
Pontoon: Update Portuguese (Brazil) (pt-BR) localization of AMO
Jul 2, 2024
66e378d
Pontoon: Update Chinese (Taiwan) (zh-TW) localization of AMO
petercpg Jul 2, 2024
48d647a
Pontoon: Update Frisian (fy-NL) localization of AMO
Fjoerfoks Jul 2, 2024
ebeaf0e
Pontoon: Update Italian (it) localization of AMO
Jul 2, 2024
a882333
Pontoon: Update Interlingua (ia) localization of AMO
McDutchie Jul 2, 2024
5002e61
Pontoon: Update Hungarian (hu) localization of AMO
meskobalazs Jul 2, 2024
69317b7
Pontoon: Update Russian (ru) localization of AMO
Goudron Jul 2, 2024
81f11b9
Pontoon: Update Friulian (fur) localization of AMO
Jul 2, 2024
f84979f
Pontoon: Update Sorbian, Upper (hsb) localization of AMO
milupo Jul 2, 2024
7e37eb7
Pontoon: Update German (de) localization of AMO
koehlermichael Jul 2, 2024
1c2aac1
Pontoon: Update Chinese (China) (zh-CN) localization of AMO
Olvcpr423 Jul 3, 2024
1ad5709
Better handle unknown values for `addon_signature` in add-on abuse re…
willdurand Jul 3, 2024
3625dc4
Pontoon: Update Greek (el) localization of AMO
JimSp472000 Jul 3, 2024
de25c32
Split test jobs to callable workflows (#22434)
KevinMind Jul 3, 2024
0e603bf
Pontoon: Update Sorbian, Lower (dsb) localization of AMO
milupo Jul 3, 2024
56a1d88
Pontoon: Update Slovak (sk) localization of AMO
Jul 3, 2024
16b1895
Pontoon: Update English (Great Britain) (en-GB) localization of AMO
Jul 3, 2024
a94d184
Pontoon: Update Turkish (tr) localization of AMO
Jul 3, 2024
8010887
Pontoon: Update Korean (ko) localization of AMO
kimstacy Jul 4, 2024
be60105
Bump ruff from 0.4.9 to 0.5.0 in /requirements (#22430)
dependabot[bot] Jul 4, 2024
0da0039
Bump google-cloud-bigquery from 3.22.0 to 3.25.0 in /requirements (#2…
dependabot[bot] Jul 4, 2024
d922612
Bump pytest-split from 0.8.2 to 0.9.0 in /requirements (#22393)
dependabot[bot] Jul 4, 2024
249c9d7
Bump proto-plus from 1.23.0 to 1.24.0 in /requirements (#22391)
dependabot[bot] Jul 4, 2024
fcd87e1
Bump myst-parser from 2.0.0 to 3.0.1 in /requirements (#22202)
dependabot[bot] Jul 4, 2024
46ab101
Bump mdit-py-plugins from 0.4.0 to 0.4.1 in /requirements (#22238)
dependabot[bot] Jul 4, 2024
c4723af
Bump drf-nested-routers from 0.93.5 to 0.94.1 in /requirements (#22240)
dependabot[bot] Jul 4, 2024
fd0cdd8
Pontoon: Update Turkish (tr) localization of AMO
Jul 4, 2024
db53567
Pontoon: Update Interlingua (ia) localization of AMO
Karm46 Jul 5, 2024
467f42c
Pontoon: Update Interlingua (ia) localization of AMO
Karm46 Jul 5, 2024
4444603
Pontoon: Update Hebrew (he) localization of AMO
Jul 5, 2024
a5ea19f
Pontoon: Update Korean (ko) localization of AMO
hyeonseok Jul 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
642 changes: 53 additions & 589 deletions .circleci/config.yml

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ deps/
node_modules/
storage/
logs/*


50 changes: 39 additions & 11 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,43 @@
Fixes: mozilla/addons#ISSUENUM

<!--
Thanks for opening a Pull Request (PR), here's a few guidelines as to what we need in your PR before we review it.
-->

### Description

<!--
Your PR will be squashed when merged so the 1st commit must contain a descriptive and concise summary of the change.
Additional details should be added in the description. If your change is simple enough to summarize in the commit, or
if it is not relevant for your PR, remove this section.
-->

### Context

<!--
Often a pull request contains changes that are not fully self explanatory. Maybe this PR is a part of a series,
or maybe it is a partial change now with a more ambitious plan for the future. Add this additional context here.
If it is not relevant for your PR, remove this section.
-->

### Testing

<!--
Your change must be related to an existing, open issue. This issue should contain testing instructions.
Often, the testing info in the issue is higher level, geared towards a user or QA experience.
Here you can provide information for a developer verifying this PR. Get technical.
If it is not relevant to your PR, remove this section.
-->

### Checklist

<!--
Here's a few guidelines as to what we need in your PR before we review it.
Please delete anything that isn't relevant to your patch.
-->

* [ ] This PR relates to an existing open issue and there are no existing
PRs open for the same issue.
* [ ] Add `Fixes #ISSUENUM` at the top of your PR.
* [ ] Add a description of the changes introduced in this PR.
* [ ] The change has been successfully run locally.
* [ ] Add tests to cover the changes added in this PR.
* [ ] Add before and after screenshots (Only for changes that impact the UI).

Once you have met the above requirements please replace this section with
a `Fixes #ISSUENUM` linking to the issue fixed by this PR along with an
explanation of the changes. Thanks for your contribution!
- [ ] Add `#ISSUENUM` at the top of your PR to an existing open issue in the mozilla/addons repository.
- [ ] Successfully verified the change locally.
- [ ] The change is covered by automated tests, or otherwise indicated why doing so is unnecessary/impossible.
- [ ] Add before and after screenshots (Only for changes that impact the UI).
- [ ] Add or update relevant [docs](../docs/) reflecting the changes made.
114 changes: 114 additions & 0 deletions .github/actions/build-docker/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
name: 'Docker Build'
description: 'Builds `addons-server` docker image'
inputs:
password:
required: false
description: "Docker registry password"
default: "invalid"
push:
required: false
description: "Build and push image to registry (cannot be used together with load)"
default: "false"
username:
required: false
description: "Docker registry username"
default: "invalid"

outputs:
digest:
description: "The Docker image digest"
value: ${{ steps.digest.outputs.digest }}
version:
description: "The Docker version for the image"
value: ${{ steps.meta.outputs.version }}
tags:
description: "The Docker tags for the image"
value: ${{ steps.meta.outputs.tags }}

runs:
using: "composite"
steps:
# Setup docker to build for multiple architectures
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
with:
version: latest
buildkitd-flags: --debug

# Login to a registry to push the image
- name: Login to Container Registry
# Only login if we are pushing the image
if: ${{ inputs.push == 'true' }}
uses: docker/login-action@v3
with:
username: ${{ inputs.username }}
password: ${{ inputs.password }}


- name: Suffix for local builds
id: suffix
shell: bash
# The suffix is unique to a branch and commit
run: |
if [[ "${{ inputs.push }}" == "false" ]]; then
echo "suffix=${{ github.ref }}-${{ github.sha }}" >> $GITHUB_OUTPUT
else
echo "suffix=ci" >> $GITHUB_OUTPUT
fi

# Determine the tags for the image
# We need to support custom explicit tags allowing CI to build unique images
# that won't be pushed to the registry.
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
# Hard coding our dockerhub image name
images: mozilla/addons-server
flavor: |
suffix=-${{ steps.suffix.outputs.suffix }}
tags: |
type=schedule
type=ref,event=tag
type=ref,event=branch
type=ref,event=pr
# set latest tag for default branch
# Disabled for now as we do not use this action for
# The production build
# type=raw,value=latest,enable={{is_default_branch}}

- name: Create .env and version.json files
shell: bash
env:
DOCKER_VERSION: ${{ steps.meta.outputs.version }}
DOCKER_COMMIT: ${{ github.sha }}
VERSION_BUILD_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
run: make setup

- name: Set Docker Variables
id: cache
shell: bash
run: |
echo "tag=mozilla/addons-server:${{ steps.meta.outputs.version }}-cache" >> $GITHUB_OUTPUT

- name: Build Image
id: build
uses: docker/bake-action@v4
with:
targets: web
push: ${{ inputs.push }}
load: ${{ inputs.push == 'false' }}
set: |
*.cache-from=type=registry,ref=${{ steps.cache.outputs.tag }}
*.cache-to=type=registry,ref=${{ steps.cache.outputs.tag }},mode=max,compression-level=9,force-compression=true,ignore-error=true

- name: Get image digest
id: digest
shell: bash
env:
BUILDX_BAKE_METADATA_FILE: metadata.json
run: |
echo '${{ steps.build.outputs.metadata }}' > metadata.json
echo "digest=$(cat metadata.json | jq -r '.web."containerimage.digest"')" >> $GITHUB_OUTPUT
114 changes: 114 additions & 0 deletions .github/actions/context/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
name: 'Dump Context'
description: 'Display context for action run'

outputs:
# All github action outputs are strings, even if set to "true"
# so when using these values always assert against strings or convert from json
# \$\{{ needs.context.outputs.is_fork == 'true' }} // true
# \$\{{ fromJson(needs.context.outputs.is_fork) == false }} // true
# \$\{{ needs.context.outputs.is_fork == true }} // false
# \$\{{ needs.context.outputs.is_fork }} // false
is_fork:
description: ""
value: ${{ steps.context.outputs.is_fork }}
is_default_branch:
description: ""
value: ${{ steps.context.outputs.is_default_branch }}
is_release_master:
description: ""
value: ${{ steps.context.outputs.is_release_master }}
is_release_tag:
description: ""
value: ${{ steps.context.outputs.is_release_tag }}

runs:
using: 'composite'
steps:
- name: Dump GitHub context
shell: bash
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Dump job context
shell: bash
env:
JOB_CONTEXT: ${{ toJson(job) }}
run: echo "$JOB_CONTEXT"
- name: Dump steps context
shell: bash
env:
STEPS_CONTEXT: ${{ toJson(steps) }}
run: echo "$STEPS_CONTEXT"
- name: Dump runner context
shell: bash
env:
RUNNER_CONTEXT: ${{ toJson(runner) }}
run: echo "$RUNNER_CONTEXT"
- name: Dump env context
shell: bash
env:
ENV_CONTEXT: ${{ toJson(env) }}
run: |
echo "$ENV_CONTEXT"
- name: Dump inputs context
shell: bash
env:
INPUTS_CONTEXT: ${{ toJson(inputs) }}
run: |
echo "$INPUTS_CONTEXT"

- name: Set context
id: context
env:
# The default branch of the repository, in this case "master"
default_branch: ${{ github.event.repository.default_branch }}
shell: bash
run: |
event_name="${{ github.event_name }}"
event_action="${{ github.event.action }}"

# Stable check for if the workflow is running on the default branch
# https://stackoverflow.com/questions/64781462/github-actions-default-branch-variable
is_default_branch="${{ format('refs/heads/{0}', env.default_branch) == github.ref }}"

# In most events, the epository refers to the head which would be the fork
is_fork="${{ github.event.repository.fork }}"

# This is different in a pull_request where we need to check the head explicitly
if [[ "${{ github.event_name }}" == 'pull_request' ]]; then
# repository on a pull request refers to the base which is always mozilla/addons-server
is_head_fork="${{ github.event.pull_request.head.repo.fork }}"
# https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions
is_dependabot="${{ github.actor == 'dependabot[bot]' }}"

# If the head repository is a fork or if the PR is opened by dependabot
# we consider the run to be a fork. Dependabot and proper forks are treated
# the same in terms of limited read only github token scope
if [[ "$is_head_fork" == 'true' || "$is_dependabot" == 'true' ]]; then
is_fork="true"
fi
fi

is_release_master="false"
is_release_tag="false"

# Releases can only happen if we are NOT on a fork
if [[ "$is_fork" == 'false' ]]; then
# A master release occurs on a push to the default branch of the origin repository
if [[ "$event_name" == 'push' && "$is_default_branch" == 'true' ]]; then
is_release_master="true"
fi

# A tag release occurs when a release is published
if [[ "$event_name" == 'release' && "$event_action" == 'publish' ]]; then
is_release_tag="true"
fi
fi

echo "is_default_branch=$is_default_branch" >> $GITHUB_OUTPUT
echo "is_fork=$is_fork" >> $GITHUB_OUTPUT
echo "is_release_master=$is_release_master" >> $GITHUB_OUTPUT
echo "is_release_tag=$is_release_tag" >> $GITHUB_OUTPUT

echo "event_name: $event_name"
cat $GITHUB_OUTPUT
52 changes: 52 additions & 0 deletions .github/actions/run-docker/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: 'Docker Run Action'
description: 'Run a command in a new container'
inputs:
version:
description: 'The version of the image to run. '
required: true
default: 'local'
digest:
description: 'The build digest of the image to run. Overrides version.'
required: true
default: ''
run:
description: 'Run command in container'
required: true
services:
description: 'List of services to start'
required: false
default: 'web'
compose_file:
description: 'The docker-compose file to use'
required: false
default: 'docker-compose.yml:docker-compose.ci.yml'
runs:
using: 'composite'
steps:
- id: id
shell: bash
run: |
echo "id=$(id -u)" >> $GITHUB_OUTPUT

- name: Run Docker Container
shell: bash
env:
DOCKER_VERSION: ${{ inputs.version }}
DOCKER_DIGEST: ${{ inputs.digest }}
COMPOSE_FILE: ${{ inputs.compose_file }}
DOCKER_SERVICES: ${{ inputs.services }}
HOST_UID: ${{ steps.id.outputs.id }}
run: |
# Start the specified services
make up

# Exec the run command in the container
# quoted 'EOF' to prevent variable expansion
cat <<'EOF' | docker compose exec --user olympia web sh
${{ inputs.run }}
EOF

- name: Logs
shell: bash
if: failure()
run: docker compose logs
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ updates:
- ">= 6"
- dependency-name: idna
versions:
- ">= 3"
- ">= 4"
- dependency-name: amqp
versions:
- ">= 6"
Expand Down
Loading