Skip to content

chore(ci): switch to next-gen CircleCI's convenience images #327

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 5 commits into from
Sep 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
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