Commit Graph

37 Commits

Author SHA1 Message Date
Maximilian Hils
b320c6aa14 Merge remote-tracking branch 'origin/main' into gsoc 2021-08-18 17:39:01 +02:00
Maximilian Hils
5990f9e30f add CI for python 3.10rc1 2021-08-06 10:03:24 +02:00
Maximilian Hils
226e31290c Merge branch 'main' into gsoc 2021-08-04 19:16:31 +02:00
Maximilian Hils
f7a6445ea7 trigger docker deploy for tags 2021-07-19 13:02:04 +02:00
Maximilian Hils
4a8870a19e Merge remote-tracking branch 'origin/main' into gsoc 2021-06-23 20:11:28 +02:00
Maximilian Hils
9b119c3dac web: major upgrades
This commit brings a bunch of under-the-hood mitmweb improvements:

 - migrate large parts of the codebase to typescript
 - introduce modern react testing conventions
 - vendor react-codemirror to silence warnings
 - use esbuild for both bundles and tests
 - move from yarn to npm
 - various fixes across the board
2021-06-21 17:51:47 +02:00
Maximilian Hils
34a620e57b
Docker: Add aarch64 Images (#4637)
* feat(cibuild): add buildx multi arch builds

* chore: add changelog for arm64

* temporarily enable docker ci job for PRs

* Update cibuild.py

* Update cibuild.py

* chore(cibuild): create docker-container xbuilder

* chore(cibuild): fix lint

* temporarily remove run check to see error message

* Update cibuild.py

* Update cibuild.py

* Update cibuild.py

* Update main.yml

* Update main.yml

* Update main.yml

* Update cibuild.py

* Update cibuild.py

* Update Dockerfile

* cleanup #1

* next test

* move to test branch

* fixup

* now upload

* enable armv6/7

* use multi-stage build to reduce image size

* armv7?

* drop armv6/armv7

Co-authored-by: Niels Hofmans <hello@ironpeak.be>
2021-06-15 13:47:50 +00:00
Maximilian Hils
8af4055e3b
ci: update apt index before installing 2021-05-21 18:00:14 +02:00
Maximilian Hils
15ce7e348c build docker images only on main 2021-05-11 17:56:29 +02:00
Maximilian Hils
518fb94124
Harden CI Pipeline (#4590)
* ci: use actions/checkout@v2

* ci: always specify python version

* ci: pin external actions

* ci: split docs job, pin immediate dependencies

* ci: correct hugo sha256sum

* ci: full repo fetch depth for tests

* ci: use pip-tools to pin all the things

* ci: minor fixes

* ci: fixup

* ci: streamline pinned install

* ci: minor fixes

* ci: fix py3.8 pins

* ci: don't persist checkout credentials

* ci: always run local linter

* ci: test docs deployment from actions-hardening branch

* ci: fix docs job

* ci: pass in credentials

* ci: fix file permissions

* ci: try harder to fix docs deploy

* ci: fix docker artifact name

* Revert "ci: test docs deployment from actions-hardening branch"

This reverts commit 30cfb7a814b61a8926fc0623e3e70b6dd5106d90.

* unpin PyPI dependencies

* ci: install tox first

* ci: fixups

* ci: fixups

* ci: fixups

* ci: fixups
2021-05-11 11:17:09 +02:00
Maximilian Hils
44f1e7d584
CI: add deploy-docs env 2021-04-15 16:02:24 +02:00
Maximilian Hils
44fcd688ad
CI: use dedicated deploy environments 2021-04-15 15:45:52 +02:00
Maximilian Hils
961d884730
update PR linter (#4344) 2020-12-12 16:18:49 +01:00
Maximilian Hils
ee414cde70 move main file, remove checks for outdated Python
these are now handled by setup.py's python_requires.
2020-12-06 14:03:12 +01:00
Maximilian Hils
c5eae9d752 drop support for Python 3.6 and 3.7
We require Python 3.8 for sans-io (#1775),
so we need to drop support for older versions.
2020-12-06 00:25:09 +01:00
Maximilian Hils
52b46849c4 update pyinstaller, use python3.9 for CI tasks 2020-12-06 00:04:45 +01:00
Maximilian Hils
5e4cf21b76 remove CodeQL CI checks
this brings false-positive security warnings, no actual value, and clogs up CI.
2020-11-03 07:14:47 +01:00
Maximilian Hils
043dbcca5b
fix building windows installer
refs #4261
2020-11-02 02:19:02 +01:00
Thomas Kriechbaumer
e1744766cd
Merge pull request #4219 from mitmproxy/codeql
Create codeql-analysis.yml
2020-10-07 18:39:08 +02:00
Thomas Kriechbaumer
36327c2359
Update main.yml
bumpt to py39 final
2020-10-05 22:52:09 +02:00
Thomas Kriechbaumer
e335d1e63c
Create codeql-analysis.yml 2020-10-04 14:31:35 +02:00
Thomas Kriechbaumer
552dd4701f
bump to 3.9.rc.2 2020-09-29 19:54:58 +02:00
Maximilian Hils
baf76d00f9 add Python 3.9 to CI 2020-08-27 15:04:34 +02:00
Maximilian Hils
b1e1b1f66b
use codecov projects (#4120) 2020-07-30 13:36:02 +02:00
Maximilian Hils
1e5464a9e6 ci: test old python releases, pin binary environments 2020-07-27 18:06:55 +02:00
Maximilian Hils
50d7b4e84f
don' 2020-07-04 11:20:34 +02:00
Maximilian Hils
30c904fe5f update hugo 2020-05-16 17:10:44 +02:00
Maximilian Hils
d4cf28697d use codecov github action 2020-04-08 20:31:45 +02:00
Maximilian Hils
9d5305301a Merge remote-tracking branch 'origin/master' into fix-ci 2020-04-08 20:21:12 +02:00
Maximilian Hils
35cb5ff450 downgrade to py37 for pyinstaller builds 2020-04-03 18:38:01 +02:00
Maximilian Hils
b67736bbef ci: py37 -> py38 2020-04-03 18:26:38 +02:00
Maximilian Hils
19aa7aeeb7 update mypy and pin version 2020-04-02 11:40:50 +02:00
Meet Mangukiya
c6393f86d7 Remove yarn/npm from docs
Closes https://github.com/mitmproxy/mitmproxy/issues/3716
2020-02-25 03:38:10 +05:30
Thomas Kriechbaumer
40925181e9 re-add missing CI steps and fix linting 2019-12-31 16:27:22 +01:00
Maximilian Hils
642de3925d Revert "ci: run on tags"
This reverts commit 924f677fb6.
We suddenly get "push" builds for tags as well, so it's not really clear
what's happening. Removing for now.
2019-12-16 03:00:26 +01:00
Maximilian Hils
924f677fb6 ci: run on tags 2019-12-16 02:24:46 +01:00
Maximilian Hils
e92b957e3a
Use Github Actions for CI (#3713)
switch to github actions for CI
2019-11-19 18:15:08 +01:00