Skip to content

Commit 8068f92

Browse files
authored
chore(ci): use new contexts - DIA-59103 (#99)
1 parent 47bdbaf commit 8068f92

1 file changed

Lines changed: 16 additions & 12 deletions

File tree

.circleci/config.yml

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,43 @@
11
version: 2.1
22

33
orbs:
4-
base: dialogue/base@1.17.1
5-
release: dialogue/release@2.12.1
6-
python: dialogue/python@3.11.1
7-
utils: dialogue/utils@3.12.1
4+
base: dialogue/base@1.21.2
5+
release: dialogue/release@2.17.3
6+
python: dialogue/python@3.19.3
7+
utils: dialogue/utils@3.17.3
88

99
workflows:
1010
ci:
1111
jobs:
1212
- python/pylama:
1313
name: pylama
14-
context: gemfury-download
14+
context: code-validator
15+
1516
- python/isort:
1617
name: isort
17-
context: gemfury-download
18+
context: code-validator
19+
1820
- python/black:
1921
name: black
20-
context: gemfury-download
22+
context: code-validator
23+
2124
- python/run:
2225
name: mypy
2326
run: mypy .
2427
executor: python
25-
context: gemfury-download
28+
context: code-validator
29+
2630
- test:
2731
name: test py<<matrix.python_version>> sqlalchemy-<<matrix.sqlalchemy_version >> pydantic-<<matrix.pydantic_version>> <<matrix.asyncpg>> <<matrix.aws_rds_iam>>
28-
context: gemfury-download
32+
context: code-validator
2933
matrix:
3034
parameters:
3135
python_version: ["3.9", "3.10", "3.11"]
3236
sqlalchemy_version: ["1.4", "2.0"]
3337
asyncpg: ["asyncpg", "noasyncpg"]
3438
aws_rds_iam: ["aws_rds_iam", "noaws_rds_iam"]
3539
pydantic_version: ["1.10", "2.0", "2.1"]
40+
3641
- release/release:
3742
name: release
3843
requires:
@@ -51,15 +56,14 @@ workflows:
5156
jobs:
5257
- publish:
5358
name: publish
54-
context: gemfury-download # Needed to build, the upload token is in the CI env vars
59+
context: code-validator # Needed to build, the upload token is in the CI env vars
5560
filters:
5661
tags:
5762
only: /^v.*/
5863
branches:
5964
ignore: /.*/
6065

6166
jobs:
62-
6367
test:
6468
environment:
6569
CACHE_VERSION: "2022-11-15T12:56:00.000000"
@@ -100,7 +104,7 @@ jobs:
100104
- run:
101105
name: "install tox"
102106
command: |
103-
poetry run pip install -U tox
107+
poetry run pip install -U tox==4.7.0
104108
- run:
105109
name: "run tox using sqlalchemy <<parameters.sqlalchemy_version>>.* pydantic<<parameters.pydantic_version>> and -<<parameters.asyncpg>> and -<<parameters.aws_rds_iam>>"
106110
command: |

0 commit comments

Comments
 (0)