I tried to add a delivery pipeline and git repo to an existing toolchain using a POST request through POSTMAN.
BUT I just get "IBM cloud is under maintenance" ERROR
Is this functionality included in ibm(adding toolchain integrations to existing toolchain using API) or i am doing something wrong?
Was able to create a toolchain using post request.
Also there is no Documentation provided for it.
Tried doing it using POST request
URL-https://cloud.ibm.com/devops/catalog/pipeline
Parameters as body- toolchainId=sample,env-id=ibm:yp:eu-gb,autocreate=true
Authorization-bearer iam token
Related
Codemagic is a build service for flutter applications it has built in support for bitbucket, github, etc. However it also supports linking repositories from other sources. To set this up you they ask you for a specificish format. URL should be in the following format: https://example.com/username/repo.git or git#example.com/username/repo.git.
I'm trying to figure out how to provide a url for my google cloud source repo in this format. I've tried this https://source.developers.google.com/p/[project-name]/r/[repo-name/ but then it complains about credentials. If I use the 'git#source.developers.google.com/.....' format I get an option to load an ssh key to authenticate and that passes verification but it doesn't correctly register/see the repo at the endpoint so something is off.
Anyone ever done this before. I've seen something about signed urls with google cloud and thought maybe I could use the https: format both make a signed url though everything i've seen with signed urls has to do with cloud storage and not cloud source.
I was able to add Google Cloud Source Repo to Codemagic using next link
ssh://mikhail#example.com#source.developers.google.com:2022/p/woven-voyage-xxxxx/r/test
You need also register your SSH key https://source.cloud.google.com/user/ssh_keys?register=true
In addition to #Mikhil Tokarev's answer,
You need to add a webhook manually after adding the Google source repository.
Please see my answer detailed instruction in this thread https://stackoverflow.com/a/63362923/11082769
TFS server version: 2017
Compatible API version <= 3.0
The Rest API endpoint to fetch the information for tfs-git repositories is mentioned here:
[https://learn.microsoft.com/en-us/rest/api/azure/devops/git/repositories/list?view=azure-devops-rest-4.1]
This returns the HTTP clone links for the repositories but not the ssh URL. Also, the documentation does not mention any API option to get the same.
Is there for API not including the ssh URLs?
Again, this isn't visual studio but TFS server.
Are sure this is the case, as if I call.
https://dev.azure.com/PeterLai0838/_apis/git/repositories?api-version=5.1
i get
"remoteUrl":"https://PeterLai0838#dev.azure.com/PeterLai0838/roboops/_git/roboops",
"sshUrl":"git#ssh.dev.azure.com:v3/PeterLai0838/roboops/roboops",
"webUrl":"https://dev.azure.com/PeterLai0838/roboops/_git/roboops"}]
Ah wait, i notice your using the 4.1 api, maybe use the 5.1?
sshURL is supported in TFS 2018 and later. You may submit a feature request at website below:
https://developercommunity.visualstudio.com/content/idea/post.html?space=22
I thought I'd read that there was an entire web services API for automating the latest Bluemix DevOps tooling? I don't see anything obvious in the documentation
https://console.ng.bluemix.net/docs/services/ContinuousDelivery/index.html#cd_getting_started
You're right. You can choose to create a toolchain or start from a toolchain template.
You may find this microservices devops toolchain template tutorial helpful.
https://www.ibm.com/devops/method/tutorials/tutorial_toolchain_microservices_cd?task=1
By default, the toolchain comes with these tool integrations:
IBM-hosted Git Repos and Issue Tracking repositories (repos)
Delivery pipelines
IBM Cloud DevOps Insights
The Eclipse Orion Web IDE
Sauce Labs
pagerDuty
Slack
See https://github.com/open-toolchain/sdk/wiki
This is where we are defining the API. Since SO won't let us have a conversation about what you're actual requirements are, feel free to create an issue on the repo to capture them.
No luck over at the Atlassian Q/A board.
I'm trying to access bamboo project build version info via the REST API with the endpoint format:
http://bambooprod01.mysite.com:8085/rest/api/latest/plan/PROD-myproject?expand=variableContext
which returns an outdated version. When I view the information on bamboo I see the correct version of the build under the meta data tab, and above the info fields it states
"The following parameters have been manually overridden."
QUESTION: Is there a way to access the overridden variable info via a REST endpoint and if so what would the path be?
Got a response via Atlassian.
Atlassian Post
Unfortunately, this response has not being implemented and there is an
improvement request filed for that BAM-13511 - Expose the build
variables via the REST API OPEN.
I'm trying to get the post-commit hooks for github enterprise to talk to our internal jenkins server. Been trying for the last several hours and haven't been able to get it working.
What I was able to do is get the github enterprise webhook with url:
http://192.168.10.123:8080/job/Github%20Build%20Test/build
working to kick off a build.
I'm not able to authenticate with github enterprise using either the basic authentication or oauth2 authentication tokens.
Also with manual setup it doesn't seem to work either. Any ideas / help?
I think you may need to wait for v1.41 of the Jenkins GitHub API plugin
See this pull request