Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CreatePipelineConfigurationParameters model #402

Open
wants to merge 325 commits into
base: dev
Choose a base branch
from

Conversation

mel-cdn
Copy link

@mel-cdn mel-cdn commented Feb 14, 2022

In the current state, I'm receiving below error when using the create_pipeline since the serialized payload is not correct.
"This API does not support creating pipelines of configuration type Yaml."

Update the model required to create new pipeline.

tedchamb added 30 commits May 8, 2018 15:39

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
 regenerate after fix for byte array data

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
bump version to 0.1.7

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix git get_commit_diffs query parameters

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
regen 4.1 apis after fix to include 'action' in route dictionary.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
regen 4.0 apis after fix to include 'action' in route dictionary.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
bump version number to 0.1.8
…point,Symbol, Wiki, WIT Process, WIT Process Def, WIT Process Template

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add new 4.0 and 4.1 REST areas: CLT, Graph, MEM, Profile, Service Endpoint, Symbol, Wiki, WIT Process, WIT Process Def, WIT Process Template

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
bump version to 0.1.9

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
bump version to 0.1.10

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
add User area for 4.1 api

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
change release_trigger_base into a property bag.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
bump version to 0.1.11
… which is intended to only be used to make s2s calls.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
add Members Entitlement Management to manage users. remove user area,…

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Bump version to 0.1.12
tedchamb and others added 27 commits October 19, 2019 11:17

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
bump VERSION = "5.1.0b5"

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix issue microsoft#280, fix naming of upack_api_client folder:  universal becomes upack_api
…if it does not exist at the organization level.
…would have happened if we were already using a deployment url.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix for issue microsoft#289 - check for location at deployment level if it does not exist at the organization level.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
bump VERSION = "5.1.0b6"

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
add test

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
* Create pythonpackage.yml

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
* add python v3.8

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
* 6.0 API

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Regenerate after fixing float type handling in generator

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
update apis to match 6.0 RTW

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
* fix for issue microsoft#354

* catch OSError instead of FileExistsError, since FileExistsError is not available in python 2.7

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
* fix for issue microsoft#354

* catch OSError instead of FileExistsError, since FileExistsError is not available in python 2.7

* Revert "update apis to match 6.0 RTW"

This reverts commit 5428142.

* regen 6.0 as preview

* bump version

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
In the current state, I'm receiving below error when using the create_pipeline since the serialized payload is not correct.
"This API does not support creating pipelines of configuration type Yaml."

Update the model required to create new pipeline.
@tonybaloney
Copy link
Collaborator

This field might be case sensitive, did you try lower case yaml?

https://learn.microsoft.com/en-us/rest/api/azure/devops/pipelines/pipelines/create?view=azure-devops-rest-6.0#configurationtype

Also path and repository are not parameters in that model for v6.0. Which server did you generate the model code from?

https://learn.microsoft.com/en-us/rest/api/azure/devops/pipelines/pipelines/create?view=azure-devops-rest-6.0#createpipelineconfigurationparameters

Was it on-prem or Azure DevOps, and which version?

@GarrettGeorge
Copy link

Even Azure's own documentation is wildly out of date here.

The current HTTP body schema I've found for 7.0 guaranteed to work for the endpoint referenced in the docs above

"name": "pipeline-name",
"configuration": {
    "type": "yaml",
    "path": "pipline.yaml",
    "repository": {
        "id": "my-repo-guid",
        "type": "azureReposGit",
        "name": "repo-name"
    }
},
"folder": "path/to/my/pipeline",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

9 participants