Skip to content

Commit 73a2141

Browse files
authored
chore: build also over beta version
1 parent 8c7fd18 commit 73a2141

File tree

4 files changed

+23
-15
lines changed

4 files changed

+23
-15
lines changed

.circleci/config.yml

+16-1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,16 @@ commands:
4242
jobs:
4343
tests-python-3:
4444
machine: true
45+
parameters:
46+
influxdb-repository:
47+
type: string
48+
default: "influxdb"
49+
influxdb-version:
50+
type: string
51+
default: "2.0.0-beta"
52+
environment:
53+
INFLUXDB_V2_REPOSITORY: << parameters.influxdb-repository >>
54+
INFLUXDB_V2_VERSION: << parameters.influxdb-version >>
4555
steps:
4656
- prepare
4757
- client-test:
@@ -56,7 +66,12 @@ workflows:
5666
version: 2
5767
build:
5868
jobs:
59-
- tests-python-3
69+
- tests-python-3:
70+
name: test-beta
71+
- tests-python-3:
72+
name: test-nightly
73+
influxdb-repository: "influx"
74+
influxdb-version: "nightly"
6075

6176
nightly:
6277
triggers:

.travis.yml

-12
This file was deleted.

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
### API
44
1. [#47](https://github.com/influxdata/influxdb-client-python/pull/47): Updated swagger to latest version
55

6+
### CI
7+
1. [#49](https://github.com/influxdata/influxdb-client-python/pull/49): Added beta release to continuous integration
8+
69
### Bugs
710
1. [#48](https://github.com/influxdata/influxdb-client-python/pull/48): InfluxDBClient default org is used by WriteAPI
811

scripts/influxdb-restart.sh

+4-2
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,11 @@ set -e
2626
DEFAULT_DOCKER_REGISTRY="quay.io/influxdb/"
2727
DOCKER_REGISTRY="${DOCKER_REGISTRY:-$DEFAULT_DOCKER_REGISTRY}"
2828

29-
DEFAULT_INFLUXDB_V2_VERSION="nightly"
29+
DEFAULT_INFLUXDB_V2_REPOSITORY="influxdb"
30+
DEFAULT_INFLUXDB_V2_VERSION="2.0.0-beta"
31+
INFLUXDB_V2_REPOSITORY="${INFLUXDB_V2_REPOSITORY:-$DEFAULT_INFLUXDB_V2_REPOSITORY}"
3032
INFLUXDB_V2_VERSION="${INFLUXDB_V2_VERSION:-$DEFAULT_INFLUXDB_V2_VERSION}"
31-
INFLUXDB_V2_IMAGE=${DOCKER_REGISTRY}influx:${INFLUXDB_V2_VERSION}
33+
INFLUXDB_V2_IMAGE=${DOCKER_REGISTRY}${INFLUXDB_V2_REPOSITORY}:${INFLUXDB_V2_VERSION}
3234

3335
SCRIPT_PATH="$( cd "$(dirname "$0")" ; pwd -P )"
3436

0 commit comments

Comments
 (0)