Maximilian Hils
f1f86f9a74
docker: re-run buildx to push all architectures to latest
tag
2021-07-19 13:02:04 +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
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
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
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
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
e9a2a9c25a
update installbuilder
2020-11-02 02:28:44 +01: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
ebc7833d04
drop Docker images for ARMv7
2020-04-13 09:46:45 +02: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
b48260d20e
docker: auto-update latest tag
2019-12-21 03:18:19 +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
2fb2b48a06
bump dependencies
2018-12-02 15:48:20 +01: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
Aldo Cortesi
9463fee764
cibuild: permit non-dev versions on maintenance branches
...
Cater for the corner case where commits are incorporated on a maintenance
branch. We should be able to test these without adding a dev suffix to the tool
versions.
2018-06-16 15:09:34 +12:00
Aldo Cortesi
85526e5370
cibuild: Match Travis env variable behaviour
...
Whenever TRAVIS_TAG is non-empty, TRAVIS_BRANCH is over-ridden to match the
TRAVIS_TAG value. Adjust our tests to reflect this, and add a sanity check that
fails hard if this constraint is ever not met.
See https://github.com/travis-ci/travis-ci/issues/4745
2018-06-16 10:23:33 +12:00
Aldo Cortesi
bf791ba1d5
cibuild: refactor to handle v prefix for release tag names
2018-06-16 09:48:21 +12:00
marcymarcy
e98100e461
Combining Docker push steps, clarifying tag name
2018-06-06 11:01:49 -06:00
marcymarcy
4a25efda82
Using subprocesses
2018-06-06 10:39:19 -06:00
marcymarcy
2af9d20312
Renaming function, formatting fix
2018-06-06 09:49:57 -06:00
marcymarcy
d80271c641
Adding ARMv7 into build
2018-06-05 14:12:32 -06:00
Maximilian Hils
09ff5df2fb
Such CI, Very Wow. ( #3182 )
2018-06-02 21:37:44 +02:00
Aldo Cortesi
b6e1c4bb9d
cibuild: tweak docker tag, only upload prod builds to pypi
2018-05-25 12:46:56 +12:00
Aldo Cortesi
ff92962c51
cibuild: start building version awareness
2018-05-25 10:50:48 +12:00
Aldo Cortesi
f55293611e
cibuild: minor - organize env class to make things easier to find
2018-05-25 09:07:18 +12:00
Aldo Cortesi
fdf0d9974e
cibuild: more accurate PR test, better dump output
2018-05-24 22:58:33 +12:00
Aldo Cortesi
e9b19dba8a
cibuild: fix docker upload condition, expand tests
2018-05-24 22:32:31 +12:00
Aldo Cortesi
c91b511bc7
cibuild: extract upload conditions
2018-05-24 22:18:01 +12:00
Aldo Cortesi
0afff3a952
cibuild: add docker tag calculation to environ
2018-05-24 21:59:45 +12:00
Aldo Cortesi
bae4a3393f
release: include release directory in coverage
...
With lots of exclusions for now
2018-05-24 19:03:15 +12:00
Aldo Cortesi
8fceaca6b8
cibuild: Consolidate build environment and add tests
2018-05-24 11:06:43 +12:00
Thomas Kriechbaumer
46960fa080
add docker to the main repository
2018-05-19 12:38:44 +02:00