diff --git a/.circleci/config.yml b/.circleci/config.yml index 204995fe4a3..a21c496ad35 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -29,6 +29,11 @@ deploy_docs_filters: &deploy_docs_filters only: /(^docs$)|(^v[0-9]+(\.[0-9]+)*$)/ branches: ignore: /.*/ +persist_to_workspace_step: &persist_to_workspace_step + persist_to_workspace: + root: /tmp + paths: + - "*.results" jobs: @@ -40,10 +45,7 @@ jobs: - checkout - *restore_cache_step - run: tox -e 'flake8' --result-json /tmp/flake8.results - - persist_to_workspace: - root: /tmp - paths: - - flake8.results + - *persist_to_workspace_step - *save_cache_step # Test that we can build the package properly and package long description will render @@ -78,10 +80,7 @@ jobs: - checkout - *restore_cache_step - run: tox -e '{py27,py34,py35,py36}-tracer' --result-json /tmp/tracer.results - - persist_to_workspace: - root: /tmp - paths: - - tracer.results + - *persist_to_workspace_step - *save_cache_step internal: @@ -92,10 +91,7 @@ jobs: - checkout - *restore_cache_step - run: tox -e '{py27,py34,py35,py36}-internal' --result-json /tmp/internal.results - - persist_to_workspace: - root: /tmp - paths: - - internal.results + - *persist_to_workspace_step - *save_cache_step opentracer: @@ -110,14 +106,7 @@ jobs: - run: tox -e '{py34,py35,py36}-opentracer_tornado-tornado{40,41,42,43,44}' --result-json /tmp/opentracer-tornado.results - run: tox -e '{py27}-opentracer_gevent-gevent{10}' --result-json /tmp/opentracer-gevent.1.results - run: tox -e '{py27,py34,py35,py36}-opentracer_gevent-gevent{11,12}' --result-json /tmp/opentracer-gevent.2.results - - persist_to_workspace: - root: /tmp - paths: - - opentracer.results - - opentracer-asyncio.results - - opentracer-tornado.results - - opentracer-gevent.1.results - - opentracer-gevent.2.results + - *persist_to_workspace_step - *save_cache_step integration: @@ -136,11 +125,7 @@ jobs: - checkout - *restore_cache_step - run: tox -e '{py27,py34,py35,py36}-integration' --result-json /tmp/integration.results - - persist_to_workspace: - root: /tmp - paths: - - integration.results - + - *persist_to_workspace_step - *save_cache_step futures: @@ -152,11 +137,7 @@ jobs: - *restore_cache_step - run: tox -e 'futures_contrib-{py27}-futures{30,31,32}' --result-json /tmp/futures.1.results - run: tox -e 'futures_contrib-{py34,py35,py36}' --result-json /tmp/futures.2.results - - persist_to_workspace: - root: /tmp - paths: - - futures.1.results - - futures.2.results + - *persist_to_workspace_step - *save_cache_step boto: @@ -168,11 +149,7 @@ jobs: - *restore_cache_step - run: tox -e 'boto_contrib-{py27,py34}-boto' --result-json /tmp/boto.1.results - run: tox -e 'botocore_contrib-{py27,py34,py35,py36}-botocore' --result-json /tmp/boto.2.results - - persist_to_workspace: - root: /tmp - paths: - - boto.1.results - - boto.2.results + - *persist_to_workspace_step - *save_cache_step ddtracerun: @@ -185,10 +162,7 @@ jobs: steps: - checkout - run: tox -e '{py27,py34,py35,py36}-ddtracerun' --result-json /tmp/ddtracerun.results - - persist_to_workspace: - root: /tmp - paths: - - ddtracerun.results + - *persist_to_workspace_step test_utils: docker: @@ -198,10 +172,7 @@ jobs: - checkout - *restore_cache_step - run: tox -e '{py27,py34,py35,py36}-test_utils' --result-json /tmp/test_utils.results - - persist_to_workspace: - root: /tmp - paths: - - test_utils.results + - *persist_to_workspace_step - *save_cache_step test_logging: @@ -212,10 +183,7 @@ jobs: - checkout - *restore_cache_step - run: tox -e '{py27,py34,py35,py36}-test_logging' --result-json /tmp/test_logging.results - - persist_to_workspace: - root: /tmp - paths: - - test_logging.results + - *persist_to_workspace_step - *save_cache_step asyncio: @@ -226,10 +194,7 @@ jobs: - checkout - *restore_cache_step - run: tox -e 'asyncio_contrib-{py34,py35,py36}' --result-json /tmp/asyncio.results - - persist_to_workspace: - root: /tmp - paths: - - asyncio.results + - *persist_to_workspace_step - *save_cache_step pylons: @@ -240,10 +205,7 @@ jobs: - checkout - *restore_cache_step - run: tox -e 'pylons_contrib-{py27}-pylons{096,097,010,10}' --result-json /tmp/pylons.results - - persist_to_workspace: - root: /tmp - paths: - - pylons.results + - *persist_to_workspace_step - *save_cache_step aiohttp: @@ -254,10 +216,7 @@ jobs: - checkout - *restore_cache_step - run: tox -e 'aiohttp_contrib-{py34,py35,py36}-aiohttp{12,13,20,21,22}-aiohttp_jinja{012,013}-yarl,aiohttp_contrib-{py34,py35,py36}-aiohttp23-aiohttp_jinja015-yarl10,aiohttp_contrib-{py35,py36}-aiohttp{30,31,32,33,34,35}-aiohttp_jinja015-yarl10' --result-json /tmp/aiohttp.results - - persist_to_workspace: - root: /tmp - paths: - - aiohttp.results + - *persist_to_workspace_step - *save_cache_step tornado: @@ -269,11 +228,7 @@ jobs: - *restore_cache_step - run: tox -e 'tornado_contrib-{py27,py34,py35,py36}-tornado{40,41,42,43,44,45}' --result-json /tmp/tornado.1.results - run: tox -e 'tornado_contrib-{py27}-tornado{40,41,42,43,44,45}-futures{30,31,32}' --result-json /tmp/tornado.2.results - - persist_to_workspace: - root: /tmp - paths: - - tornado.1.results - - tornado.2.results + - *persist_to_workspace_step - *save_cache_step bottle: @@ -284,10 +239,7 @@ jobs: - checkout - *restore_cache_step - run: tox -e 'bottle_contrib{,_autopatch}-{py27,py34,py35,py36}-bottle{11,12}-webtest' --result-json /tmp/bottle.results - - persist_to_workspace: - root: /tmp - paths: - - bottle.results + - *persist_to_workspace_step - *save_cache_step cassandra: @@ -306,10 +258,7 @@ jobs: - *restore_cache_step - run: tox -e wait cassandra - run: tox -e 'cassandra_contrib-{py27,py34,py35,py36}-cassandra{35,36,37,38,315}' --result-json /tmp/cassandra.results - - persist_to_workspace: - root: /tmp - paths: - - cassandra.results + - *persist_to_workspace_step - *save_cache_step celery: @@ -326,13 +275,7 @@ jobs: - run: tox -e 'celery_contrib-{py27,py34,py35,py36}-celery{40,41}-{redis210-kombu43,redis320-kombu44}' --result-json /tmp/celery40-41.results - run: tox -e 'celery_contrib-{py27,py34,py35,py36}-celery42-redis210-kombu43' --result-json /tmp/celery42.results - run: tox -e 'celery_contrib-{py27,py34,py35,py36}-celery43-redis320-kombu44' --result-json /tmp/celery43.results - - persist_to_workspace: - root: /tmp - paths: - - celery31.results - - celery40-41.results - - celery42.results - - celery43.results + - *persist_to_workspace_step - *save_cache_step elasticsearch: @@ -350,10 +293,7 @@ jobs: -e 'elasticsearch_contrib-{py27,py34,py35,py36}-elasticsearch2{50}' \ -e 'elasticsearch_contrib-{py27,py34,py35,py36}-elasticsearch5{50}' \ --result-json /tmp/elasticsearch.results - - persist_to_workspace: - root: /tmp - paths: - - elasticsearch.results + - *persist_to_workspace_step - *save_cache_step falcon: @@ -364,10 +304,7 @@ jobs: - checkout - *restore_cache_step - run: tox -e 'falcon_contrib{,_autopatch}-{py27,py34,py35,py36}-falcon{10,11,12,13,14}' --result-json /tmp/falcon.results - - persist_to_workspace: - root: /tmp - paths: - - falcon.results + - *persist_to_workspace_step - *save_cache_step django: @@ -388,13 +325,7 @@ jobs: - run: tox -e 'django_drf_contrib-{py27,py34,py35,py36}-django{111}-djangorestframework{34,37,38}' --result-json /tmp/django.2.results - run: tox -e 'django_contrib{,_autopatch}-{py34,py35,py36}-django{200}-djangopylibmc06-djangoredis45-pylibmc-redis{210}-memcached' --result-json /tmp/django.3.results - run: tox -e 'django_drf_contrib-{py34,py35,py36}-django{200}-djangorestframework{37,38}' --result-json /tmp/django.4.results - - persist_to_workspace: - root: /tmp - paths: - - django.1.results - - django.2.results - - django.3.results - - django.4.results + - *persist_to_workspace_step - *save_cache_step flask: @@ -414,17 +345,7 @@ jobs: - run: TOX_SKIP_DIST=False tox -e 'flask_cache_contrib_autopatch-{py27,py34,py35,py36}-flask{010,011,012}-flaskcache{013}-memcached-redis{210}-blinker' --result-json /tmp/flask.6.results - run: tox -e 'flask_cache_contrib-{py27}-flask{010,011}-flaskcache{012}-memcached-redis{210}-blinker' --result-json /tmp/flask.7.results - run: TOX_SKIP_DIST=False tox -e 'flask_cache_contrib_autopatch-{py27}-flask{010,011}-flaskcache{012}-memcached-redis{210}-blinker' --result-json /tmp/flask.8.results - - persist_to_workspace: - root: /tmp - paths: - - flask.1.results - - flask.2.results - - flask.3.results - - flask.4.results - - flask.5.results - - flask.6.results - - flask.7.results - - flask.8.results + - *persist_to_workspace_step - *save_cache_step gevent: @@ -436,11 +357,7 @@ jobs: - *restore_cache_step - run: tox -e 'gevent_contrib-{py27,py34,py35,py36}-gevent{11,12,13}' --result-json /tmp/gevent.1.results - run: tox -e 'gevent_contrib-{py27}-gevent{10}' --result-json /tmp/gevent.2.results - - persist_to_workspace: - root: /tmp - paths: - - gevent.1.results - - gevent.2.results + - *persist_to_workspace_step - *save_cache_step httplib: @@ -451,10 +368,7 @@ jobs: - checkout - *restore_cache_step - run: tox -e 'httplib_contrib-{py27,py34,py35,py36}' --result-json /tmp/httplib.results - - persist_to_workspace: - root: /tmp - paths: - - httplib.results + - *persist_to_workspace_step - *save_cache_step grpc: @@ -465,10 +379,7 @@ jobs: - checkout - *restore_cache_step - run: tox -e 'grpc_contrib-{py27,py34,py35,py36}-grpc' --result-json /tmp/grpc.results - - persist_to_workspace: - root: /tmp - paths: - - grpc.results + - *persist_to_workspace_step - *save_cache_step molten: @@ -479,10 +390,7 @@ jobs: - checkout - *restore_cache_step - run: tox -e 'molten_contrib-{py36}-molten{070,072}' --result-json /tmp/molten.results - - persist_to_workspace: - root: /tmp - paths: - - molten.results + - *persist_to_workspace_step - *save_cache_step mysqlconnector: @@ -500,10 +408,7 @@ jobs: - *restore_cache_step - run: tox -e 'wait' mysql - run: tox -e 'mysql_contrib-{py27,py34,py35,py36}-mysqlconnector' --result-json /tmp/mysqlconnector.results - - persist_to_workspace: - root: /tmp - paths: - - mysqlconnector.results + - *persist_to_workspace_step - *save_cache_step mysqlpython: @@ -521,10 +426,7 @@ jobs: - *restore_cache_step - run: tox -e 'wait' mysql - run: tox -e 'mysqldb_contrib-{py27,py34,py35,py36}-mysqlclient{13}' --result-json /tmp/mysqlpython.results - - persist_to_workspace: - root: /tmp - paths: - - mysqlpython.results + - *persist_to_workspace_step - *save_cache_step mysqldb: @@ -542,10 +444,7 @@ jobs: - *restore_cache_step - run: tox -e 'wait' mysql - run: tox -e 'mysqldb_contrib-{py27}-mysqldb{12}' --result-json /tmp/mysqldb.results - - persist_to_workspace: - root: /tmp - paths: - - mysqldb.results + - *persist_to_workspace_step - *save_cache_step pymysql: @@ -563,10 +462,7 @@ jobs: - *restore_cache_step - run: tox -e 'wait' mysql - run: tox -e 'pymysql_contrib-{py27,py34,py35,py36}-pymysql{07,08,09}' --result-json /tmp/pymysql.results - - persist_to_workspace: - root: /tmp - paths: - - pymysql.results + - *persist_to_workspace_step - *save_cache_step pylibmc: @@ -578,10 +474,7 @@ jobs: - checkout - *restore_cache_step - run: tox -e 'pylibmc_contrib-{py27,py34,py35,py36}-pylibmc{140,150}' --result-json /tmp/pylibmc.results - - persist_to_workspace: - root: /tmp - paths: - - pylibmc.results + - *persist_to_workspace_step - *save_cache_step pymemcache: @@ -593,10 +486,7 @@ jobs: - checkout - *restore_cache_step - run: tox -e 'pymemcache_contrib{,_autopatch}-{py27,py34,py35,py36}-pymemcache{130,140}' --result-json /tmp/pymemcache.results - - persist_to_workspace: - root: /tmp - paths: - - pymemcache.results + - *persist_to_workspace_step - *save_cache_step mongoengine: @@ -608,10 +498,7 @@ jobs: - checkout - *restore_cache_step - run: tox -e 'mongoengine_contrib-{py27,py34,py35,py36}-mongoengine{015}' --result-json /tmp/mongoengine.results - - persist_to_workspace: - root: /tmp - paths: - - mongoengine.results + - *persist_to_workspace_step - *save_cache_step pymongo: @@ -623,10 +510,7 @@ jobs: - checkout - *restore_cache_step - run: tox -e 'pymongo_contrib-{py27,py34,py35,py36}-pymongo{30,31,32,33,34,36}-mongoengine{015}' --result-json /tmp/pymongo.results - - persist_to_workspace: - root: /tmp - paths: - - pymongo.results + - *persist_to_workspace_step - *save_cache_step pyramid: @@ -637,10 +521,7 @@ jobs: - checkout - *restore_cache_step - run: tox -e 'pyramid_contrib{,_autopatch}-{py27,py34,py35,py36}-pyramid{17,18,19}-webtest' --result-json /tmp/pyramid.results - - persist_to_workspace: - root: /tmp - paths: - - pyramid.results + - *persist_to_workspace_step - *save_cache_step requests: @@ -652,10 +533,7 @@ jobs: - checkout - *restore_cache_step - run: tox -e 'requests_contrib{,_autopatch}-{py27,py34,py35,py36}-requests{208,209,210,211,212,213,219}' --result-json /tmp/requests.results - - persist_to_workspace: - root: /tmp - paths: - - requests.results + - *persist_to_workspace_step - *save_cache_step requestsgevent: @@ -666,10 +544,7 @@ jobs: - checkout - *restore_cache_step - run: tox -e 'requests_gevent_contrib-{py36}-requests{208,209,210,211,212,213,219}-gevent{12,13}' --result-json /tmp/requestsgevent.results - - persist_to_workspace: - root: /tmp - paths: - - requestsgevent.results + - *persist_to_workspace_step - *save_cache_step sqlalchemy: @@ -692,10 +567,7 @@ jobs: - *restore_cache_step - run: tox -e 'wait' postgres mysql - run: tox -e 'sqlalchemy_contrib-{py27,py34,py35,py36}-sqlalchemy{10,11,12}-psycopg228-mysqlconnector' --result-json /tmp/sqlalchemy.results - - persist_to_workspace: - root: /tmp - paths: - - sqlalchemy.results + - *persist_to_workspace_step - *save_cache_step dbapi: @@ -706,10 +578,7 @@ jobs: - checkout - *restore_cache_step - run: tox -e 'dbapi_contrib-{py27,py34,py35,py36}' --result-json /tmp/dbapi.results - - persist_to_workspace: - root: /tmp - paths: - - dbapi.results + - *persist_to_workspace_step - *save_cache_step psycopg: @@ -726,10 +595,7 @@ jobs: - *restore_cache_step - run: tox -e 'wait' postgres - run: tox -e 'psycopg_contrib-{py27,py34,py35,py36}-psycopg2{24,25,26,27,28}' --result-json /tmp/psycopg.results - - persist_to_workspace: - root: /tmp - paths: - - psycopg.results + - *persist_to_workspace_step - *save_cache_step aiobotocore: @@ -741,10 +607,7 @@ jobs: - checkout - *restore_cache_step - run: tox -e 'aiobotocore_contrib-py34-aiobotocore{02,03,04},aiobotocore_contrib-{py35,py36}-aiobotocore{02,03,04,05,07,08,09,010}' --result-json /tmp/aiobotocore.results - - persist_to_workspace: - root: /tmp - paths: - - aiobotocore.results + - *persist_to_workspace_step - *save_cache_step aiopg: @@ -761,10 +624,7 @@ jobs: - *restore_cache_step - run: tox -e 'wait' postgres - run: tox -e 'aiopg_contrib-{py34,py35,py36}-aiopg{012,015}' --result-json /tmp/aiopg.results - - persist_to_workspace: - root: /tmp - paths: - - aiopg.results + - *persist_to_workspace_step - *save_cache_step redis: @@ -776,10 +636,7 @@ jobs: - checkout - *restore_cache_step - run: tox -e 'redis_contrib-{py27,py34,py35,py36}-redis{26,27,28,29,210,300}' --result-json /tmp/redis.results - - persist_to_workspace: - root: /tmp - paths: - - redis.results + - *persist_to_workspace_step - *save_cache_step rediscluster: @@ -794,10 +651,7 @@ jobs: - *restore_cache_step - run: tox -e wait rediscluster - run: tox -e 'rediscluster_contrib-{py27,py34,py35,py36}-rediscluster{135,136}-redis210' --result-json /tmp/rediscluster.results - - persist_to_workspace: - root: /tmp - paths: - - rediscluster.results + - *persist_to_workspace_step - *save_cache_step vertica: @@ -814,10 +668,7 @@ jobs: - *restore_cache_step - run: tox -e wait vertica - run: tox -e 'vertica_contrib-{py27,py34,py35,py36}-vertica{060,070}' --result-json /tmp/vertica.results - - persist_to_workspace: - root: /tmp - paths: - - vertica.results + - *persist_to_workspace_step - *save_cache_step kombu: @@ -830,10 +681,7 @@ jobs: - *restore_cache_step - run: tox -e wait rabbitmq - run: tox -e 'kombu_contrib-{py27,py34,py35,py36}-kombu{40,41,42}' --result-json /tmp/kombu.results - - persist_to_workspace: - root: /tmp - paths: - - kombu.results + - *persist_to_workspace_step - *save_cache_step sqlite3: @@ -844,10 +692,7 @@ jobs: - checkout - *restore_cache_step - run: tox -e 'sqlite3_contrib-{py27,py34,py35,py36}-sqlite3' --result-json /tmp/sqlite3.results - - persist_to_workspace: - root: /tmp - paths: - - sqlite3.results + - *persist_to_workspace_step - *save_cache_step msgpack: @@ -858,10 +703,7 @@ jobs: - checkout - *restore_cache_step - run: tox -e 'msgpack_contrib-{py27,py34}-msgpack{03,04,05}' --result-json /tmp/msgpack.results - - persist_to_workspace: - root: /tmp - paths: - - msgpack.results + - *persist_to_workspace_step - *save_cache_step unit_tests: @@ -872,10 +714,7 @@ jobs: - checkout - *restore_cache_step - run: tox -e 'unit_tests-{py27,py34,py35,py36}' --result-json /tmp/unit_tests.results - - persist_to_workspace: - root: /tmp - paths: - - unit_tests.results + - *persist_to_workspace_step - *save_cache_step deploy_dev: @@ -898,10 +737,7 @@ jobs: - checkout - *restore_cache_step - run: tox -e 'jinja2_contrib-{py27,py34,py35,py36}-jinja{27,28,29,210}' --result-json /tmp/jinja2.results - - persist_to_workspace: - root: /tmp - paths: - - jinja2.results + - *persist_to_workspace_step - *save_cache_step mako: @@ -912,10 +748,7 @@ jobs: - checkout - *restore_cache_step - run: tox -e 'mako_contrib-{py27,py34,py35,py36}-mako{010,100}' --result-json /tmp/mako.results - - persist_to_workspace: - root: /tmp - paths: - - mako.results + - *persist_to_workspace_step - *save_cache_step build_docs: