Граф коммитов

57 Коммитов

Автор SHA1 Сообщение Дата
Kevin Meinhardt 04cf44bbb2
Merge requirements files and document dependency management (#21838) 2024-02-21 13:20:01 +01:00
Kevin Meinhardt e978c20fdc
Extract l10n extract/merge to CI runnable job/script (#21734) 2024-01-30 09:50:34 +01:00
Kevin Meinhardt 84c2a4e440
chore(ci): minor upgrade mysql version in ci (#21630) 2023-12-19 10:31:19 +01:00
Mathieu Pillard 1fc7e71b11
Switch to Node.js 18.x (#21557) 2023-12-05 15:02:31 +01:00
Andrew Williamson 8e3948be68
Revert "Switch to Node.js 18.x (#21400)" (#21420)
This reverts commit 42f26f29dc.
2023-11-09 22:07:43 +00:00
Mathieu Pillard 42f26f29dc
Switch to Node.js 18.x (#21400) 2023-11-06 16:48:52 +01:00
Mathieu Pillard 77e3392ef2
Update mysql-apt-config package in CI (#20760)
* Update mysql-apt-config package in CI

* Use repo.mysql.com
2023-05-26 19:34:23 +02:00
Mathieu Pillard 7730f6f3bb
Drop Django 3.2 tests (#20693) 2023-05-15 14:51:24 +02:00
Andrew Williamson e8d549c6c2
Enable django4.2 deployment (#20612)
* allow django41 installation via make; add CI matrix

* ManifestStaticFilesStorage with sourceMappingURL

* test against django4.2rc1

* import django.core.files.File directly

* handle django4.2 being precise with timeuntil

* bump django4.2 to release

* fix reviewer tools css/js

* don't downgrade django3.2

* prettier fix

* handle timesince being more picky (again)

* default to django42
2023-04-26 09:44:31 +01:00
Mathieu Pillard dc2652338a
Update Github RSA SSH host key (#20504) 2023-03-24 16:17:35 +01:00
Mathieu Pillard 5c0e7a3c88
Merge deployment and development Dockerfiles (#20480)
* Merge deployment and development Dockerfiles
* Stop using root to install dependencies
* Run make commands from os with --user olympia
2023-03-23 15:46:56 +01:00
Mathieu Pillard e906a7f6bf
Switch to Node 16 by default (#19751)
* Switch to Node 16 by default

* Fix python image tag to include node
2022-10-04 19:28:59 +02:00
Mathieu Pillard f96b4ca591
In CI set CPUCOUNT, CC with other en variables, move that above install steps (#19645)
* In CI set CPUCOUNT, CC with other en variables, move that above install steps

* Quotes
2022-09-01 15:43:35 +02:00
Mathieu Pillard 78e467a104
Define CC & CPUCOUNT to workaround uwsgi build issues on CircleCI (#19644) 2022-09-01 14:52:29 +02:00
Andrew Williamson d42c7750f5
upgrade to python 3.10 (#19568)
* run CI with python3.10

* change Dockerfile.deploy too
2022-08-17 18:25:13 +01:00
Mathieu Pillard 41d4eba243
Upgrade pygit2 to 1.10.0, remove libgit2-dev dependency (#19570)
We shouldn't need libgit2-dev anymore (and it outdated anyway) because
the latest pygit2 versions provide precompiled wheels that match our
setup.
2022-08-17 10:18:46 +02:00
Mathieu Pillard 97ba20c9a2
Run CI/local envs with ES 7 and update client libs (#19441)
* Run CI/local envs with ES 7 and update client libs

Also drive-by update CI to have the right versions of MySQL/Redis

* Remove deprecated, no longer necessary send_get_body_as parameter

* Fix deprecation warnings

* Update tests

* Unused import

* More deprecation fixes
2022-07-11 11:35:18 +02:00
Mathieu Pillard 4b97ad368c
Elasticsearch 7.x compatibility & cleanups (#19126)
* Elasticsearch 7.x compatibility & cleanups

* Fix double import

* Bump versions

* Add position back
2022-04-21 15:28:32 +02:00
Mathieu Pillard 74b5dbc53a
Replace circleci/mysql image with the official mysql docker image (#18956)
* Replace circleci/mysql image with the official mysql docker image

Downgrading (!) the version too to match prod.

* Match circleci/mysql behavior
2022-03-10 10:39:31 +01:00
Mathieu Pillard 84d01415e0
Update CircleCI executor config to use an explicitly supported ubuntu image (#18935)
* Update CircleCI executor config to use an explicitly supported ubuntu image

* ugh yaml is terrible
2022-03-08 10:38:58 +01:00
Mathieu Pillard 676b4b2576
Update MySQL releases GPG key (#18636)
Per
https://dev.mysql.com/downloads/repo/apt/
https://dev.mysql.com/doc/refman/8.0/en/checking-gpg-signature.html
2022-01-18 12:03:57 +01:00
Mathieu Pillard 1039ab04b8
Switch CircleCI to Node 14 (#18033)
* Switch CircleCI to Node 14

* Use latest orb, and ensure node-version is a string

* Fix indent
2021-10-04 16:03:29 +02:00
Andrew Williamson 837951428c
upgrade to python39 (#17945)
* upgrade to python3.9

* py3.9 fix - replace .getiterator with .iter

* include libgit2-dev in Dockerfile[.deploy] setup too
2021-09-22 14:52:54 +01:00
Andrew Williamson 5ad242636f
pin mysql to v8.0.25 in circleci config (#17520) 2021-07-20 14:28:10 +01:00
Andrew Williamson 1157e9c2cd
drop django2.2 compat (#17515)
* drop django22 CI & support in Dockerfile/Makefile

* rm obsolete fallbacks

* drop django-jsonfield-backport
2021-07-20 10:03:10 +01:00
Andrew Williamson 84b32673bf
deploy stage with django32 (#17480) 2021-07-13 16:33:08 +01:00
Andrew Williamson 4b4b8b2407
default local dev to django3.2; deploy to addons-dev with 3.2 (#17452) 2021-07-08 10:31:48 +01:00
Andrew Williamson 5740aee15c
Fix TestIndexCommand under django3.2 (#17438) 2021-07-07 12:17:28 +01:00
William Durand 4c0af60287
Avoid pyenv shim and use dennis-cmd directly (#17136) 2021-05-12 14:38:21 +02:00
William Durand ce8529feb3
Remove MYSQL_ALLOW_EMPTY_PASSWORD env var in circle config (#16780)
It's already set in the base image we're using
2021-03-18 14:05:17 +01:00
Andrew Williamson 7a3be4cf86
django3.2 fixes for main test job (#16481)
* `static` is new name for `admin_static` template tag library

* escaping test fixes

* add obj arg to CollectionAddonInline.has_add_permission

* TestExceptionHandlerWithViewSet fix

* TranslationMultiDbTests fix

* re-enable main job with django32

* update blocklist tests with django's fancy quotes and dashes
2021-02-08 15:06:19 +00:00
Andrew Williamson ac82909f8d
handle django3.2 using fancy quotes; enable devhub job for 3.2 (#16469)
* handle django3.2 using fancy quotes; enable devhub job for 3.2

* directly test django version for fancy quotes
2021-02-08 09:44:02 +00:00
Andrew Williamson 4e12e60380
workaround Response._headers going away; enable amo-lib-locales-and-signing job for 3.2 (#16471) 2021-02-05 10:05:26 +00:00
Andrew Williamson 11ee4e99cf
django32 tests ci (#16436)
* let our tests run with django3.2

* PositiveAutoField fixes

* versions/test_models.py test fix

* TransField fix

* cache fixes

* use django.utils.html.escape to workaround &# encoding changing to hex

* deactive failing jobs on circleci

* django 2.2.18
2021-02-03 19:01:02 +00:00
William Durand 30ac3bf03e
Get rid of tox (#16443) 2021-02-03 13:52:30 +01:00
William Durand 5524d30c64
Only use services that are needed in the different circle jobs (#16204)
* Only use services that are needed in the different circle jobs

* wait for services by default
2020-12-18 19:08:19 +01:00
William Durand cbd4e3dfdd
Handle forks in better_checkout command (#16202) 2020-12-18 16:28:10 +01:00
William Durand d41d943b6d
Fix checkout command (#16200) 2020-12-18 14:08:56 +01:00
William Durand 2a3ce33286
Migrate to Circle CI (#16189) 2020-12-18 12:13:48 +01:00
Mathieu Pillard 327cfd6aee
Login to dockerhub before building the docker image (#15865)
Fixes https://github.com/mozilla/addons-server/issues/15864
2020-10-30 12:19:45 +01:00
Sven Marnach ed462100e4
Use the git shortref as tag for Docker images. (#14901) 2020-07-13 16:06:00 +02:00
jrbenny35 583c270422 Remove integration test job from circleci. 2019-10-10 12:22:01 -05:00
Christopher Grebs dcc103af6e
Fix uwsgi autoreload (#12316)
* Move CI envvar definition to selenium override config.

This should fix autoreload.

* Actually use  to be more explicit

* Disable integration tests

* Try out different approach

* Add docs, move back the variable definition to docker-compose.yml

* Update comment
2019-09-12 14:05:33 +02:00
Benjamin Forehand Jr 7bfc50be18
Remove pytest reruns. (#12071) 2019-08-08 12:26:34 -05:00
Benjamin Forehand Jr 0e3725f031
Add additional docker compose 'ups' (#12058)
* Add additional docker compose 'ups'

* Trying to disable autoreload.

* Try disabling autoreload via env variable.

* Added docker compose changes.

* Change image name.
2019-08-08 11:57:45 -05:00
Benjamin Forehand Jr fa6aed7253
Add python script for fxa email gen. (#11954)
* Add python script for fxa email gen.
2019-07-30 09:38:50 -05:00
Benjamin Forehand Jr 17d4886b14
Move some config to env variable for integration tests. (#11836) 2019-07-15 13:47:47 -05:00
Andrew Williamson 6aebb99b1f
remove support for django1.11 and python2 (#11195) 2019-04-15 15:17:10 +01:00
Benjamin Forehand Jr 187b7c2a89
Remove pytest reruns from integration-tests. (#11139)
* Remove pytest reruns from integration-tests.

* Updated submission logic.

* Fixes for codestyle.
2019-04-04 14:09:00 -04:00
Benjamin Forehand Jr 9f8f44dfe6
Add devhub upload, approve, install (#11021)
* Add devhub upload, approve, install integration-test
2019-03-28 09:05:41 -04:00