Skip to content

Commit 5ba7016

Browse files
add pipenv example yml (#30)
* add pipenv example yml * Update src/examples/install_package_using_python_orb_pipenv.yml Co-authored-by: Rob Godfrey <[email protected]> * replace repo id with generic --------- Co-authored-by: Rob Godfrey <[email protected]>
1 parent defef2a commit 5ba7016

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
description: >
2+
Install a package from Cloudsmith using the Python orb, via pipenv.
3+
usage:
4+
version: 2.1
5+
orbs:
6+
python: circleci/[email protected]
7+
cloudsmith-python: ft-circleci-orbs/[email protected]
8+
jobs:
9+
build:
10+
docker:
11+
- image: cimg/python:3.11-node
12+
steps:
13+
- checkout
14+
- run: python -m ensurepip --upgrade
15+
- cloudsmith-python/set_env_vars_for_pip:
16+
repository: your-repository-id
17+
- run: python -m pip config set global.index-url "$CLOUDSMITH_PIP_INDEX_URL"
18+
- run:
19+
name: Install pipenv
20+
command: pip install pipenv
21+
- python/install-packages:
22+
pkg-manager: pipenv
23+
workflows:
24+
main:
25+
jobs:
26+
- build

0 commit comments

Comments
 (0)