Skip to content

chore: migrate to circleci #828

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 47 commits into from
Jul 13, 2020
Merged
Show file tree
Hide file tree
Changes from 29 commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
9e255c3
Add .circleci/config.yml
codeboten Jun 12, 2020
1fd02f5
updating circle config
Jun 12, 2020
660b1e2
experiment with tox caching
Jun 12, 2020
17bba30
setup docker
Jun 12, 2020
c29b2ee
wrong job
Jun 12, 2020
d00fba8
more docker-test tests
Jun 12, 2020
c84039f
adding py38/pypy3 jobs
Jun 12, 2020
1cad9e4
fix pypy target
Jun 12, 2020
a4ecf3c
more experiments
Jun 12, 2020
41852cb
adding more python environments
Jun 12, 2020
0d2a92f
fix
Jun 12, 2020
a97cc8f
fix command
Jun 12, 2020
77bf295
fix py34
Jun 12, 2020
0d2f724
disable docker tests for now
Jun 15, 2020
4601eb9
Merge remote-tracking branch 'origin/master' into circleci-project-setup
Jun 16, 2020
92470ad
separating ext into exporters and instrumentations
Jun 16, 2020
f75ebd1
apply config fixes from previous change
Jun 16, 2020
907d241
dont test asyncio for py34
Jun 16, 2020
56206ef
fix package parameter
Jun 16, 2020
773cb40
fix instrumentation-base
Jun 16, 2020
6563a19
re-enable docker-tests
Jun 16, 2020
fc67186
fix docker-tests job
Jun 16, 2020
41dff6e
more debugging w/ machine executor
Jun 16, 2020
4a7471f
fix command
Jun 16, 2020
92936dd
use python 3.7.0
Jun 16, 2020
401e105
Merge remote-tracking branch 'origin/master' into circleci-project-setup
Jun 17, 2020
7a05d3b
Merge remote-tracking branch 'origin/master' into circleci-project-setup
Jun 25, 2020
1a535e2
spilt instrumentations further
Jun 25, 2020
6ae26f8
reverting previous test
Jun 25, 2020
a770e8b
Merge branch 'master' into circleci-project-setup
Jun 26, 2020
a77f5ae
ext/datadog: Fix API/SDK dependencies in datadog exporter (#859)
mariojonke Jun 29, 2020
2a4deac
mysql: Fix auto instrumentation entry point (#858)
mariojonke Jun 30, 2020
16650aa
chore: use token for test package upload
Jun 30, 2020
f342936
Added a warning log when the existing TracerProvider and MeterProvide…
bitspradp Jun 30, 2020
9332611
ext/boto ext/botocore:Converted resource to hold Resource attribute t…
bitspradp Jun 30, 2020
e72791d
Make it possible to set new values in Configuration (#863)
ocelotl Jul 1, 2020
6723a94
instrument: moving auto-instrumentation to a submodule (#873)
toumorokoshi Jul 2, 2020
d390bdb
chore: Making eachdist release catch more deps (#867)
toumorokoshi Jul 2, 2020
69f9114
Strip letters (#877)
Jul 3, 2020
aefdfd9
Resources prototype (#853)
AndrewAXue Jul 5, 2020
e957adc
add license and manifest (#880)
AndrewAXue Jul 6, 2020
9c5e520
ext/wsgi: Set span status on wsgi errors (#864)
jan25 Jul 7, 2020
40dd073
Change exclude lists to just exclude_urls, add tests for flask and dj…
cnnradams Jul 7, 2020
06d5817
fix tox target names
Jul 7, 2020
d2a045a
Merge branch 'master' into circleci-project-setup
Jul 8, 2020
059653f
Merge branch 'master' into circleci-project-setup
Jul 13, 2020
1ef33ce
Merge branch 'master' into circleci-project-setup
Jul 13, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
94 changes: 91 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,24 @@
version: 2.1

executors:
python38:
py38:
docker:
- image: circleci/python:3.8
py37:
docker:
- image: circleci/python:3.7
py36:
docker:
- image: circleci/python:3.6
py35:
docker:
- image: circleci/python:3.5
py34:
docker:
- image: circleci/python:3.4
pypy3:
docker:
- image: pypy:3

commands:
setup_tox:
Expand Down Expand Up @@ -31,27 +46,100 @@ commands:
paths:
- ".tox"

run_tox_scenario:
description: "Run scripts/run-tox-scenario with setup, caching and persistence"
parameters:
pattern:
type: string
steps:
- checkout
- setup_tox
- restore_tox_cache
- run:
name: "Run scripts/run-tox-scenario"
command: tox -f '<< parameters.pattern >>'
- save_tox_cache

jobs:
docs:
executor: python38
executor: py38
steps:
- checkout
- setup_tox
- restore_tox_cache
- run: tox -e docs
- save_tox_cache

docker-tests:
machine:
image: ubuntu-1604:201903-01
steps:
- checkout
- run:
name: "Get pyenv list"
command: pyenv versions
- run:
name: "Set Python Version"
command: pyenv global 3.7.0
- run:
name: "Update pip"
command: pip install -U pip
- setup_tox
- restore_tox_cache
- run: tox -e docker-tests
- save_tox_cache

lint:
executor: python38
executor: py38
steps:
- checkout
- setup_tox
- restore_tox_cache
- run: tox -e lint
- save_tox_cache

build-py34:
parameters:
package:
type: string
default: "core"
executor: py34
steps:
- checkout
- run:
name: "Install tox"
command: sudo pip install -U tox virtualenv tox-factor
- restore_tox_cache
- run:
name: "Run scripts/run-tox-scenario"
command: tox -f py34-<< parameters.package >>
- save_tox_cache

build:
parameters:
version:
type: string
default: "py38"
package:
type: string
default: "core"
executor: << parameters.version >>
steps:
- run_tox_scenario:
pattern: << parameters.version >>-<< parameters.package >>

workflows:
main:
jobs:
- build:
matrix:
parameters:
version: ["py38", "py37", "py36", "py35", "pypy3"]
package: ["core", "exporter", "instrumentation"]
- build-py34:
matrix:
parameters:
package: ["core", "exporter", "instrumentation"]
- docs
- lint
- docker-tests
Loading