devops | Collection of my devops assets across packer | DevOps library
kandi X-RAY | devops Summary
kandi X-RAY | devops Summary
Collection of my devops assets across packer, ansible, docker.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of devops
devops Key Features
devops Examples and Code Snippets
Community Discussions
Trending Discussions on devops
QUESTION
There are multiple development teams in an area of the organization that work closely together. Each has its own Azure DevOps board under the same Azure DevOps project. All boards inherit from the same Azure DevOps process.
One team would like to add a field to a work item type, but only show that field on their board. The field would not appear on the same work item type on the other teams' boards.
Is this possible? Microsoft has good documentation for Azure DevOps but I can't find anything that speaks to this, and I can't accomplish it myself in the UI. Thank you for any insights.
...ANSWER
Answered 2021-Jun-15 at 20:13If you add a new field to a work item type of some team project, this field will be available for all project teams.
Each team can customize the card view on each board (backlog or sprint): Add fields to cards, Customize fields
Additionally, you can use process rules to hide fields (Hide or restrict modification of a field based on a user or group) as Matt mentioned. You can find each team as a group [Team Project]\Team Name
in the conditions section.
QUESTION
I am new to devops. I want to install jenkins. So out of all options available to install jenkins provided in official documentation which one should I use. I am zeroed on docker or kubernetes. So parameters I am looking for decision are below.
- portability - can be installed on any major os or cloud provider.
- minimal changes to move to production.
ANSWER
Answered 2021-Jun-15 at 09:14Kubernetes is a container orchestrator that may use Docker as its container runtime. So, they are quite different things—essentially, different levels of abstraction.
You could theoretically run an application at both of these abstraction levels. Here's a comparison:
Docker
You can run an application as a Docker container on any machine that has Docker installed (i.e. any OS or cloud provider instance that supports Docker). However, you would need to implement any operations-related features that are relevant for production, such as health checks, replication, load balancing, etc. yourself.
Kubernetes
Running an application on Kubernetes requires a Kubernetes cluster. You can run a Kubernetes cluster either on-premises, in the cloud, or use a managed Kubernetes service (such as Amazon EKS, Google GKE, or Azure AKS). The big advantage of Kubernetes is that it provides all the production-relevant features mentioned above (health checks, replication, load balancing, etc.) as part of the platform. So, you don't need to implement them yourself but just use the primitives that Kubernetes provides to you.
Regarding your two requirements, Kubernetes provides both of them, while using Docker alone does not provide easy production-readiness (requirement 2). So, if you're opting for production stability, setting up a Kubernetes cluster is certainly worth the effort.
QUESTION
Our structure for a release in azure devops is to
deploy our app to our DEV environment. Kick off my Selenium (Visual Studio) tests against that environment. If passes, moves to our TEST environment. If fails/hard stop. We want to add new piece/functionality, starts same as above, Except instead of hard stop. 5) if default step fails, continue to next step. 6) New detail testing starts (turns on screen recorder)
The new detailed step has 'Agent Job' settings/parameters, I have the section "Run this job", set to "Only when previous job has failed".
My results have been, that if the previous/default/basic testing passed, the detailed step is skipped. As expected.
But if the previous step fails....the following new detailed step does not kick off.
Is it possible because the step is set up that if it fails hard stop and does not even evaluate the next step?
Or is it because the previous step says 'partially succeeded'. is this basically seen not as a failure?
...ANSWER
Answered 2021-Jun-14 at 15:05Yes, this is correct. Because failed is equivalent of eq(variables['Agent.JobStatus'], 'Failed')
status. But partially succeeded is eq(variables['Agent.JobStatus'], 'SucceededWithIssues')
.
Please check here.
You may try custom conditions like :
QUESTION
I have been reading the Azure Devops docs and I am completely confused by them. All I want to is something very simple (simple with Github Actions in Github anyway) where
- A developer creates a PR.
- As the PR is created Azure runs all the associated Cypress tests
- If any fail then the notes at the top of the PR indicate this. For example just next to the bit where it says 'there are merge conflicts'
We had this working in Github, but I can't figure it out here.
Thanks
...ANSWER
Answered 2021-Feb-24 at 06:25There is no extension like "Cypress GitHub app" in azure devops, so it is impossible to achieve exactly the same function as in github pull request.
As a workaround , you can try to add status policy.
Using status alone, details from an external service can be provided to users within the PR experience. Sometimes, sharing information about a PR is all that is necessary, but in other cases PRs should be blocked from merging until requirements are met. Like the in-box policies, the Status policy provides a way for external services to block PR completion until requirements are met. If the policy is required, it must pass in order to complete the pull request. If the policy is optional, it is informational only, and a status of
succeeded
is not required in order to complete the pull request.
External services can use the PR Status API to post detailed status to your PRs. The branch policy for external services brings the ability for those 3rd party services to participate in the PR workflow and establish policy requirements. This article guides you through the process of configuring a branch policy for a service that is posting PR status.
In addition, here is a ticket about how to create required pull request status check, you can refer to it.
QUESTION
ANSWER
Answered 2021-Jun-14 at 13:00Sure, you can use the API "Test Point - Update" to update the outcome of test points.
For example, I have two test points (id are 22
and 23
) are 'Active
'.
I can use this API to update one to be 'Passed
' and another one to be 'Failed
'.
- Request URI:
QUESTION
I am attempting to create a CI pipeline for a WCF project. I got the CI to successfully run but cannot determine where to look for the artifact. My intent is to have the CI pipeline publish this artifact in Azure and then have the CD pipeline run transformations on config files. Ultimately, we want to take that output and store it in blob storage (that will probably be another post since the WCF site is for an API).
I also realize that I really do not want to zip the artifact since I will need to transform it anyway.
Here are my questions:
- Where is the container that the artifact 'drop' is published to?
- How would I publish the site to the container without making it a single file.
Thanks
...ANSWER
Answered 2021-Jun-14 at 04:32You will find your artifacts here:
You got single file because you have in VSBuild /p:PackageAsSingleFile=true
Also you may consider using a newer task Publish Pipeline Artifact
. If not please check DownloadBuildArtifacts
task here
QUESTION
I am trying to deploy an existing .Net Core application using Azure Devops by creating Build and release pipelines. The build pipeline worked fine, but I get the below error when running the release pipeline (under Deploy Azure App Service).
Error: No package found with specified pattern: D:\a\r1\a***.zip
Check if the package mentioned in the task is published as an artifact in the build or a previous stage and downloaded in the current job.
What should be done to fix this?
...ANSWER
Answered 2021-Jun-10 at 14:57This error is because the build task is not configured. You can try to put the below YAML code at the last to make it work.
QUESTION
I want to break down a large job, running on a Microsoft-hosted agent, into smaller jobs running sequentially, on the same agent. The large job is organized like this:
...ANSWER
Answered 2021-Jun-11 at 18:16You can't ever rely on the workspace being the same between jobs, period -- jobs may run on any one of the available agents, which are spread across multiple working folders and possibly even on different physical machines.
Have your jobs publish artifacts.
i.e.
QUESTION
I'm trying to run a curl command in azure devops bash script task, where I'm trying to upload a jar from artifact path.
I'm able to run it successfully while giving static file path in curl command, but how can we pass file path dynamically ?
...ANSWER
Answered 2021-Jun-11 at 13:39Try using the filename in variable as shown below. Notice the {} around variable. Ensure that your ls command returns only 1 file. For multiple files use multiple -F arguments.
Sample test data:
QUESTION
ANSWER
Answered 2021-Jun-11 at 13:26This is an feature in Project Settings. I checked the related REST API and Azure CLI for Team Projects, however I did not find any available interface can list the info about enabled / disabled services, also no available interface to enabled / disabled services.
So, I think your question is more like a feature request. I recommend that you can report the feature request to Developer Community.
[UPDATE]
I found below API from the Network logs of the web browser (press F12
). I have tested this API on my side, it should be the one you are looking for.
- Request URI:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install devops
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page