Commit Graph

98 Commits (v0.2.10)

Author SHA1 Message Date
Alex Willmer 95da0df705 tests: Authenticate to AWS Elastic Container Registry for `docker pull`
This should increase the rate limit from 1/s to 10/s. AWS
credentials are obtained from environment variables in Azure
pipelines, or the default AWS CLI profile.

https://docs.aws.amazon.com/AmazonECR/latest/public/public-service-quotas.html
https://docs.aws.amazon.com/AmazonECR/latest/public/public-registries.html#public-registry-auth
https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html
(cherry picked from commit 0db7467e4a)
3 years ago
Alex Willmer 086a325359 CI: Remove obsolete reverse shell historically used to debug CI
This reverse shell was historically used to debug CI jobs interactively.
It is not used anymore, and may be causing jobs to hang, then timeout.
There is no reason to keep it, and removing it simplifies CI jobs.

Additionally it has been reported as flagged by security scanners, so
removing it makes Mitogen easier to package/adopt.

fixes #847

(cherry picked from commit a990eb3d77)
3 years ago
Alex Willmer 937a003a91 Abandon Travis CI We have no credits, and its a PITA to maintain two CI platforms. The tests running on Travis provide very little extra coverage vs Azure Pipelines alone
(cherry picked from commit 042e46682e)
3 years ago
Alex Willmer 6a2d9ec550 tests: Fix throttling of Docker pulls
fixes #809

(cherry picked from commit e67e4b83b4)
3 years ago
Steven Robertson 126dd7ed1f don't run sshpass install through run
(cherry picked from commit 86e63fda85)
4 years ago
Steven Robertson 835f7d7dad azure tests don't like sshpass v1.06 so pegging to 1.05
(cherry picked from commit ddb87f6b0c)
4 years ago
Steven Robertson 6cdacd40bf fix Error: Calling Non-checksummed download of sshpass formula file from an arbitrary URL is disabled
(cherry picked from commit b68d4e9a7f)
4 years ago
Alex Willmer 6a4773ac93 tests: Fix virtualenv creation on MacOS/OSX 4 years ago
Alex Willmer 00e5c9ca81 Backport 0.3.x CI fixes and unofficial tox tests 4 years ago
Alex Willmer 77f95b1e7a tests: Disable code coverage 4 years ago
Alex Willmer b250a5756c tests: Throttle docker pulls for Ansible tests
I hope this will prevent AWS Elastic Container Registry returning 429:
Too Many Requests error, due to the burst of activity from multiple VMs,
when a CI build begins.

(cherry picked from commit 25446cd698)
4 years ago
Alex Willmer dd3a6f18d1 tests: docstrings for ci_lib
(cherry picked from commit 99235071a3)
4 years ago
Alex Willmer eabb7e37b6 tests: Use AWS Elastic Container registry for test images
This replaces use of Docker Hub, which now rate limits API calls and
causing CI builds to fail.

refs #791

(cherry picked from commit 1c7e107809)
4 years ago
Alex Willmer eee5006a68 tests: Avoid double docker pull on Azure Pipes
(cherry picked from commit adbed36dd9)
4 years ago
Steven Robertson bacc752ff2 Pegs python 2 version, removes unused imports, fixes sudden ssh dir with bad perms, generates key for sudo user as well in tests 4 years ago
Steven Robertson 573a3c6161 have to number format option for python2.6 5 years ago
Steven Robertson 6bdcbff7b2 upgrade to ubuntu 18 might fix keyserver thing 5 years ago
Steven Robertson e0666edaac fix formatting 5 years ago
Steven Robertson 530f5e6412 read in ansible installation version always 5 years ago
Steven Robertson db386a0350 enable ansible 2.9.6 tests 5 years ago
Steven Robertson a94e3d08f9 didn't need to update all the way to 10.15; since tests pass locally on 10.14.4 will switch to 10.14 5 years ago
Steven Robertson faf7798c16 revert python3 setup + add TODO; python3 tests aren't working now but python2 is EOL so they should work soon 5 years ago
Steven Robertson bbc13d9776 permission denied error for python3 5 years ago
Steven Robertson f8c8889009 mac's SIP prevents symlinking so python3 wasn't used ever 5 years ago
Steven Robertson ccabb46b37 upgrade ansible to latest 2.8 version + bump python version in attempt to get test passing 5 years ago
Steven Robertson bb1cdb1ed5 making commit to retrigger tests; I don't have perms to enable the rebuild preview feature 5 years ago
Steven Robertson 1142b1bc7e bump ubuntu image for azure to avoid hash mismatch sometimes when apt-get update-ing 5 years ago
Steven Robertson 398e292536 noticed Ans280_27 was actually running ans 2.6.2, so setting VER explicitly 5 years ago
Steven Robertson daf2e2f2e2 bump mac test version again 5 years ago
Steven Robertson d87fe7c1a0 on centos6 need to have setuptools installed first 5 years ago
Steven Robertson ab220ec0eb moving on to fixing linux tests for now, fixing bdist_wheel issue 5 years ago
Steven Robertson 79b8814142 bump macOS test vm to replicate what passes locally 5 years ago
Steven Robertson b4288f02c7 find out why mitogen__readonly_homedir works locally but not on azure 5 years ago
Steven Robertson 51b43104e0 adding interpreter_discovery tests to ci 5 years ago
Steven Robertson 39b55796c5 forgot sudo 5 years ago
Steven Robertson 57d56a63c0 apt deb should be in cassandra.list 5 years ago
Steven Robertson a8888916b1 sources.list not what was expected, debug commit to find the bad deb entry 5 years ago
Steven Robertson f14144fb9e try and fix bad cassandra apt-get update on azure ubuntu 16.04 vm 5 years ago
Steven Robertson 3d28ed11b7 added wrong key for debian 9 test container 5 years ago
Steven Robertson e407172aa8 add missing apt key 5 years ago
Steven Robertson 5c27e07d3c adding verbosity 5 years ago
Steven Robertson 3e6e99eeb7 correctly renaming azure mac pipeline 5 years ago
Steven Robertson e138286185 remove verbosity 5 years ago
Steven Robertson 747a75a0e9 adding logging again 5 years ago
Steven Robertson 188acd7c5c bumping ansible version on Mac 5 years ago
Steven Robertson 5fbcb9e28c reverting -vvv 5 years ago
Steven Robertson 868de4e5ba added ability to repro current virtualenv bug behind a proxy, and adding verbosity to see why azure is unhappy 5 years ago
David Wilson d6329f3446 Merge devel/290 @ 79b979ec8544ef5d8620c64068d4a42fabf50415 5 years ago
David Wilson fa8755085a ci: fix procps command line format warning 5 years ago
David Wilson 1cad04185b ci: try removing exclude: to make Azure jobs work again 5 years ago