File tree Expand file tree Collapse file tree 3 files changed +22
-18
lines changed
Expand file tree Collapse file tree 3 files changed +22
-18
lines changed Original file line number Diff line number Diff line change 44 version : 2.1
55 orbs :
66 cloudsmith-python : ft-circleci-orbs/cloudsmith-python@1.1
7- jobs :
8- build :
9- docker :
10- - image : cimg/python:3.9
11- steps :
12- - checkout
13- - run : python -m ensurepip --upgrade
14- - cloudsmith-python/set_env_vars_for_pip :
15- repository : your-repository-id
16- - run : python -m pip install pipenv
17- - run : pipenv install
7+ jobs :
8+ build :
9+ docker :
10+ - image : cimg/python:3.9
11+ steps :
12+ - checkout
13+ - run : python -m ensurepip --upgrade
14+ - cloudsmith-python/set_env_vars_for_pip :
15+ repository : your-repository-id
16+ - run : python -m pip install pipenv
17+ - run : pipenv install
1818
1919 workflows :
2020 main :
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ description: >
33 The source URL in pyproject.toml must be set to https://packages.ft.com/basic/your-repository-id/python/simple/
44 and the corresponding cloudsmith-source-url parameter is an arbitrary label for the Cloudsmith Source URL.
55usage :
6- version : ' 2.1'
6+ version : 2.1
77 orbs :
88 cloudsmith-python : ft-circleci-orbs/cloudsmith-python@1.1
99 jobs :
@@ -14,10 +14,13 @@ usage:
1414 - checkout
1515 - cloudsmith-python/set_env_vars_for_poetry :
1616 repository : your-repository-id
17- - run : >-
18- poetry config http-basic.cloudsmith-source-url $CLOUDSMITH_POETRY_USERNAME $CLOUDSMITH_POETRY_PASSWORD
19- poetry add -q simplepkg
20- poetry install
17+ - run :
18+ name : Install Poetry package
19+ command : |
20+ poetry config http-basic.cloudsmith-source-url \
21+ $CLOUDSMITH_POETRY_USERNAME $CLOUDSMITH_POETRY_PASSWORD
22+ poetry add -q simplepkg
23+ poetry install
2124
2225 workflows :
2326 main :
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ description: >
33 For uploads, the source URL in pyproject.toml must be set to https://python.cloudsmith.io/financial-times/your-repository-id/
44 and the corresponding parameter cloudsmith-source-url is an arbitrary label for the Cloudsmith Source URL.
55usage :
6- version : ' 2.1'
6+ version : 2.1
77 orbs :
88 cloudsmith-python : ft-circleci-orbs/cloudsmith-python@1.1
99 jobs :
1717 - run :
1818 name : Create Poetry package and publish package
1919 command : |
20- poetry config http-basic.cloudsmith-source-url $CLOUDSMITH_POETRY_USERNAME $CLOUDSMITH_POETRY_PASSWORD
20+ poetry config http-basic.cloudsmith-source-url \
21+ $CLOUDSMITH_POETRY_USERNAME $CLOUDSMITH_POETRY_PASSWORD
2122 poetry build
2223 poetry publish -r cloudsmith-source-url
2324
You can’t perform that action at this time.
0 commit comments