Docs feedback: Using gitlab pypi artifact in another project's pipeline
I think there needs to be clarification on what happens in this scenario:
Let's say I already publish my artifact for Project A to the PyPi registry for the project. I have another project, Project B, which needs to use this library, so I do the following in Project B:
.gitlab-ci.yml
---
test:
image: python:2.7.17-slim-stretch
script:
- pip install --extra-index-url https://__token__:${CI_JOB_TOKEN}@gitlab.com/api/v4/projects/<project-id>/packages/pypi/simple project-a-library
I've tried with both token as the username and gitlab-ci-token as the username, and neither work. I've verified that the library has been publish for Project A. What's the expected way to pull in a library from another project in gitlab in this situation?
Edited by Jonathan Herriott