Skip to content

Commit

Permalink
chore(ci): switch to next-gen CircleCI's convenience images (#327)
Browse files Browse the repository at this point in the history
  • Loading branch information
bednar authored Sep 13, 2021
1 parent d2aa0af commit 640a79c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,8 @@ commands:
- restore_cache:
name: Restoring Pip Cache
keys:
- &cache-key pip-cache-v9-<< parameters.python-image >>-<< parameters.enabled-ciso-8601 >>-{{ checksum "setup.py" }}
- pip-cache-v9-<< parameters.python-image >>-<< parameters.enabled-ciso-8601 >>-
- run:
command: | # use pipenv to install dependencies
sudo pip install pipenv
- &cache-key pip-cache-v11-<< parameters.python-image >>-<< parameters.enabled-ciso-8601 >>-{{ checksum "setup.py" }}
- pip-cache-v11-<< parameters.python-image >>-<< parameters.enabled-ciso-8601 >>-
- run:
name: "Running tests"
command: ./scripts/ci-test.sh
Expand All @@ -46,7 +43,7 @@ jobs:
parameters:
python-image:
type: string
default: &default-python "circleci/python:3.6-buster"
default: &default-python "cimg/python:3.6"
influxdb-image:
type: string
default: &default-influxdb "influxdb:latest"
Expand Down Expand Up @@ -93,6 +90,7 @@ jobs:
- run:
name: Checks that the description will render correctly on PyPI.
command: |
pip install --upgrade pip
pip install twine --user
python setup.py sdist bdist_wheel
twine check dist/*
Expand Down Expand Up @@ -173,13 +171,13 @@ workflows:
influxdb-image: "quay.io/influxdb/influxdb:nightly"
- tests-python:
name: test-3.7
python-image: "circleci/python:3.7-buster"
python-image: "cimg/python:3.7"
- tests-python:
name: test-3.8
python-image: "circleci/python:3.8-buster"
python-image: "cimg/python:3.8"
- tests-python:
name: test-3.9
python-image: "circleci/python:3.9-buster"
python-image: "cimg/python:3.9"

nightly:
triggers:
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@

### Bug Fixes
1. [#321](https://github.com/influxdata/influxdb-client-python/pull/321): Fixes return type for dashboard when `include=properties` is used

### CI
1. [#327](https://github.com/influxdata/influxdb-client-python/pull/327): Switch to next-gen CircleCI's convenience images

## 1.20.0 [2021-08-20]

Expand Down

0 comments on commit 640a79c

Please sign in to comment.