A story addicted to Azure Pipelines

One story I was addicted to trying to upload a Python package to the Azure Artifacts feed.

To upload a Python package from Azure Pipelines

- task: TwineAuthenticate@1
  inputs:
    artifactFeed: FEED
- script: |
   python -m twine upload -r FEED --config-file $(PYPIRC_PATH) dist/*

It is explained that you write steps like, but at the time of writing, all the feeds you create in Azure Artifacts are project-scoped feeds.

- task: TwineAuthenticate@1
  inputs:
    artifactFeed: PROJECT/FEED

It was necessary to specify the project name. I repeated trial and error many times until I understood this.

In reality, I think it is convenient to use variable references as follows.

- task: TwineAuthenticate@1
  inputs:
    artifactFeed: $(System.TeamProject)/FEED

Recommended Posts

A story addicted to Azure Pipelines
A story that I was addicted to at np.where
A story that I was addicted to calling Lambda from AWS Lambda.
A story I was addicted to when inserting from Python to a PostgreSQL table
A story I was addicted to trying to install LightFM on Amazon Linux
A story I was addicted to trying to get a video url with tweepy
I'm addicted to Kintone as a data store
A story that I was addicted to when I made SFTP communication with python
Record addicted to Basemap
A story about struggling to loop 3 million ID data
The story I was addicted to when I specified nil as a function argument in Go
A story that took time to understand python's argsort (memorial)
A story about how to specify a relative path in python.
A story about how to deal with the CORS problem
How to create a SAS token for Azure IoT Hub
A story about trying to implement a private variable in Python.
[Python] A story that seemed to fall into a rounding trap
A quick introduction to pytest-mock
A road to intermediate Python
A super introduction to Linux
Add a dictionary to MeCab
How to call a function
Upload a file to Dropbox
Send a signal to subprocess
How to hack a terminal
A story that is a little addicted to the authority of the directory specified by expdp (for beginners)
Try to select a language
A story about a person who uses Python addicted to the judgment of an empty JavaScript dictionary
A story that Qiita really wanted to see under a proxy environment
A story about trying to automate a chot when cooking for yourself
A story about adding a REST API to a daemon made with Python
A story that struggled to handle the Python package of PocketSphinx
A story that was struggling to loop processing 3 million ID data
A note I was addicted to when creating a table with SQLAlchemy
A story about trying to run multiple python versions (Mac edition)
A story about wanting to think about garbled characters on GAE / P