Skip to content

Commit 841df91

Browse files
Bump machine-executor image (#2985)
* Bump machine-executor image Use Ubuntu 20.04 which uses Python 3.9 for the system interpreter. * Simplify docs build * Run urllib3 in docker Co-authored-by: Brett Langdon <[email protected]>
1 parent cf2e98b commit 841df91

File tree

1 file changed

+6
-16
lines changed

1 file changed

+6
-16
lines changed

.circleci/config.yml

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ orbs:
2222

2323
machine_executor: &machine_executor
2424
machine:
25-
image: ubuntu-1604:201903-01
25+
image: ubuntu-2004:202107-02
2626
environment:
2727
- BOTO_CONFIG: /dev/null
2828
# https://support.circleci.com/hc/en-us/articles/360045268074-Build-Fails-with-Too-long-with-no-output-exceeded-10m0s-context-deadline-exceeded-
@@ -32,7 +32,7 @@ machine_executor: &machine_executor
3232
run:
3333
name: Set global pyenv
3434
command: |
35-
pyenv global 3.6.5
35+
pyenv global 3.9.4
3636
3737
contrib_job: &contrib_job
3838
executor: ddtrace_dev
@@ -218,14 +218,6 @@ commands:
218218
- store_artifacts:
219219
path: test-results
220220

221-
build_docs:
222-
steps:
223-
- setup_riot
224-
- run: |
225-
sudo apt-get update
226-
sudo apt-get install -y --no-install-recommends libenchant-dev
227-
- run: riot run docs
228-
229221
executors:
230222
cimg_base:
231223
docker:
@@ -856,12 +848,10 @@ jobs:
856848
urllib3:
857849
<<: *machine_executor
858850
steps:
859-
- checkout
860-
# `snapshot: true` will run `docker-compose logs -f` for us
861-
- run: docker-compose up -d httpbin_local
862851
- run_test:
863852
pattern: 'urllib3'
864853
snapshot: true
854+
docker_services: "httpbin_local"
865855

866856
vertica:
867857
<<: *contrib_job
@@ -927,13 +917,13 @@ jobs:
927917

928918
build_docs:
929919
# build documentation and store as an artifact
930-
<<: *machine_executor
920+
executor: ddtrace_dev
931921
steps:
922+
- setup_riot
932923
- checkout
933-
- *pyenv-set-global
934-
- build_docs
935924
- run:
936925
command: |
926+
riot -v run docs
937927
mkdir -p /tmp/docs
938928
cp -r docs/_build/html/* /tmp/docs
939929
- store_artifacts:

0 commit comments

Comments
 (0)