Commit Graph

190 Commits

Author SHA1 Message Date
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
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
1b0fce6aba Revert "Copy examples into Docker image (#4447)"
This reverts commit a5ed1d377b.
2021-04-05 10:31:46 +02:00
Anatoli Babenia
a5ed1d377b
Copy examples into Docker image (#4447) 2021-04-05 10:20:52 +02:00
Peter Dave Hello
66c8ecc71e
docker: avoid additional apt packages by --no-install-recommends (#4543)
This will help we keep the image not too heavy that caused by those
additional, suggestion apt packages.

Only install the packages we explicitly want.
2021-04-05 10:09:34 +02:00
Peter Dave Hello
f1b55fc817
Fix typo: Github should be GitHub (#4541) 2021-04-05 10:08:21 +02:00
Maximilian Hils
ead33008bc master branch -> main branch 2021-03-30 15:30:45 +02:00
Maximilian Hils
e40bf0251d
docker: build from release dir to speed up context sending (#4498) 2021-03-12 07:45:21 +00:00
Peter Dave Hello
123342ea0b
Improve Markdown syntax(styling) (#4496)
* Improve Markdown syntax

- Add missing blank lines
- Remove trailing spaces
- Remove additional blank lines
- Fix indentation consistency and correctness

* Update addons-examples.md

Co-authored-by: Maximilian Hils <github@maximilianhils.com>
2021-03-11 19:13:02 +01:00
Peter Dave Hello
27ba85bc30
Switch Docker release to be based on Debian instead of Alpine (#4493) 2021-03-11 16:49:07 +01:00
Maximilian Hils
ec9bc455c0 remove ci credential check
it turns out pull requests from trusted contributors do have access to secrets,
so we can't do that check. Checking for the repo only doesn't make much sense.
2021-01-05 22:00:54 +01:00
Maximilian Hils
cca242a581 Windows: build pyinstaller onedir and use it for installer
This greatly improves startup time as pyinstaller doesn't have to
unpack everything on startup. The same also applies to macOS and Linux,
but there we 1) don't have installers to hide all the files and
2) have a filesystem that deals much better with lots of small files.

Additionally, simplify cibuild to be a bit more reasonable.
2021-01-05 15:56:33 +01:00
Maximilian Hils
605961c57f build mitmproxy.exe 🎉 2021-01-05 07:46:53 +01:00
Maximilian Hils
61236759ce
update release instructions 2020-12-19 23:29:44 +01:00
Thomas Kriechbaumer
e6445af2cd cibuild: cleanup outdated providers 2020-12-14 20:01:32 +01:00
Thomas Kriechbaumer
c35316f85a remove pathod and pathoc 2020-12-13 20:21:11 +01:00
Maximilian Hils
d8eda8daf9 fix docker builds 2020-12-09 16:48:15 +01:00
Thomas Kriechbaumer
38cca379df pyupgrade --py36-plus mitmproxy/**/*.py 2020-11-20 19:25:26 +01:00
Maximilian Hils
b6bedb3236 remove upstreamed pyinstaller hooks
These parts have been upstreamed:
 - https://github.com/pyinstaller/pyinstaller-hooks-contrib/pull/39
 - https://github.com/pyinstaller/pyinstaller-hooks-contrib/pull/40
 - https://github.com/pyinstaller/pyinstaller-hooks-contrib/pull/41
2020-11-02 02:39:56 +01:00
Maximilian Hils
e9a2a9c25a update installbuilder 2020-11-02 02:28:44 +01:00
Thomas Kriechbaumer
aca7284ab6 post-release updates 2020-11-01 16:12:49 +01:00
Maximilian Hils
385cddf2b4 update pyinstaller 2020-08-27 10:50:53 +02:00
Thomas Kriechbaumer
96f1f4b135 fix the fix 2020-04-17 18:21:33 +02:00
Maximilian Hils
24a14a7d68
cibuild: docker run must be non-interactive 2020-04-17 14:24:45 +02:00
Maximilian Hils
f78d781283
mitmproxy -> mitmdump 2020-04-17 00:04:17 +02:00
Maximilian Hils
bc658e99ad
fix docker smoke test 2020-04-16 20:44:21 +02:00
Thomas Kriechbaumer
ea0c0f8350 smoke-test docker images after building 2020-04-13 14:24:40 +02:00
Thomas Kriechbaumer
df6bbf1d4e fix docker entrypoint
fixes #3933
2020-04-13 12:20:52 +02:00
Thomas Kriechbaumer
6d68764707 remove outdated release intructions 2020-04-13 10:17:08 +02:00
Thomas Kriechbaumer
16c98765fc post-release updates 2020-04-13 10:16:40 +02:00
Thomas Kriechbaumer
ebc7833d04 drop Docker images for ARMv7 2020-04-13 09:46:45 +02:00
Thomas Kriechbaumer
55527c00eb docs: rename docs scripts and improve template 2020-04-11 12:25:56 +02:00
Lucas Ramage
cea443f21c Rename web-iface to web-host
Bug: https://github.com/mitmproxy/mitmproxy/issues/3891
2020-04-05 10:36:09 -04:00
Maximilian Hils
7c4488e49a update installbuilder 2020-04-03 18:12:42 +02:00
Maximilian Hils
19aa7aeeb7 update mypy and pin version 2020-04-02 11:40:50 +02:00
Maximilian Hils
c284d595a3
Fix binary builds (#3840)
See https://github.com/pypa/setuptools/issues/1963 for details.
2020-02-28 17:42:00 +01:00
Maximilian Hils
acb87efdf2
Update README.md
mention mitmweb assets, refs #3822
2020-02-21 23:09:31 +01:00
Maximilian Hils
56e108bcfc pyinstaller: add publicsuffix2 hook 2019-12-27 17:59:56 +01:00
Maximilian Hils
b48260d20e docker: auto-update latest tag 2019-12-21 03:18:19 +01:00
Maximilian Hils
e48c91b0a4 update release instructions 2019-12-21 02:57:53 +01:00
Maximilian Hils
294eb32689
update release checklist 2019-12-21 02:17:39 +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
Maximilian Hils
ac22aee2f5 cleanup mypy usage 2019-11-16 15:14:30 +01:00
Thomas Kriechbaumer
f6405abda2
Merge pull request #3329 from Kriechi/readme-slogan
update readme slogan
2019-09-28 16:45:00 +02:00
Thomas Kriechbaumer
2fb2b48a06 bump dependencies 2018-12-02 15:48:20 +01:00
Thomas Kriechbaumer
f95784ba9d update readme slogan 2018-09-21 10:38:25 +02:00
Thomas Kriechbaumer
73577eb607 update docker security warning 2018-09-18 20:42:48 +02:00
Thomas Kriechbaumer
cf15da1ed5 add docker security warning 2018-09-15 14:01:34 +02:00
Maximilian Hils
b7aa325bfe
update installbuilder url 2018-09-04 19:47:47 +02:00
Maximilian Hils
6e41507d62
Update README.md 2018-07-31 14:11:37 +02:00