Release-Management | Provides a suite of scripts | Continuous Deployment library
kandi X-RAY | Release-Management Summary
kandi X-RAY | Release-Management Summary
Provides a suite of scripts for automating the building, deployment, managing and testing of IPOP
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- The main function .
Release-Management Key Features
Release-Management Examples and Code Snippets
Community Discussions
Trending Discussions on Release-Management
QUESTION
I can only even find a couple places in the docs that suggests this is possible, but it clearly is possible.
Moving a snap between channels helps to manage a user’s expectations in any trade-off between stability in the stable channel, and cutting edge features in the edge channel (as an arbitrary example). But its also a useful technique for beta testing, or for when a snap needs to revert to a previous revision. -- https://snapcraft.io/docs/release-management
Take for example kubectl
(see below) which has a channel for each old minor version, in addition to the default latest
channel.
We're about to release a new version which will not be compatible with Ubuntu 16.04 and below, and we'd like to make the old version available to those users. How can we achieve that?
...ANSWER
Answered 2021-May-20 at 13:55These are known as "Tracks". Each one has their own edge, beta, candidate, and stable channels.
There is a process that requires you to request new tracks via the forum.snapcraft.io discourse. See https://snapcraft.io/docs/process-for-aliases-auto-connections-and-tracks for more details on the procedure.
QUESTION
I have a playbook with some roles/tasks to be executed on the remote host. There is a scenario where I want some tasks to execute locally like downloading artifacts from svn/nexus to local server.
Here is my main playbook where I am passing the target_env from the command line and dynamically loading the variables using group_vars directory
...ANSWER
Answered 2020-May-13 at 13:18Given the scenario, you can do it multiple ways. One could be adding another play for repodownload
role to your main playbook that runs only on localhost. Then remove delegate_to: localhost
from the role tasks and move the variables accordingly.
QUESTION
I've done Build for my code in TFS 2015. Now i'm configuring CD, my tasks would be
- Take Backup of existing release code
- Deploy build artifact to my server
- Rollback task if deployment fails
I'm struck with Task 1 : Take backup of exiting release code.
I would prefer using PowerShell task as suggested over here, as my my release server path differs with different an ID {mulitple paths with multiple Id's]
...ANSWER
Answered 2019-Jul-15 at 09:17How to take code backup in TFS 2015 during Release Management/Pipeline
Indeed, Backing up existing release code on the server is really a tricky issue, if your release server path differs with different an ID. It seems we have to create several task to back up release code from different release server path or we have to write the scripts(PS, Batch) to back up those release code.
To resolve this question, I would like provide a workaround, you can check if it works for you. The tasks would be:
- Deploy build artifact to the server.
- Use Copy task to back up the build artifact to the local folder of the TFS server machine with condition Only when all previous tasks have succeeded.
- Deploy backup artifact to the server with condition Only when all previous tasks failed (Also check the option
Clear Target Folder
under the Advanced tab).
Some explanations for tasks 2 and task 3:
Task2: This steps is use to back up the release code of the last successful deployment, and save it to the local folder on the server.
Task3: This steps is used to deploy the back up the release code to overwrite the release code that failed to deploy before, if the previous deployment task failed.
Hope this helps.
QUESTION
I have a release management release pipeline which is setup like this:
...ANSWER
Answered 2018-May-28 at 08:13To merge development branch into master branch in a VSTS release environment, you can achieve it by adding a PowerShell task. Details as below:
Add a PowerShell task with the script:
QUESTION
According to the Microsoft documentation we should be able to enable Artifact Filters for Release Environments with onsite TFS 2017 update 3, but this feature seems to be missing from our onsite server.
Do we need to upgrade to TFS 2018 to have this feature?
The following question discusses the usage of this feature, but not its availability: VSTS Release Management: filter by branch on artifact source
...ANSWER
Answered 2018-Jan-08 at 09:29The documentation isn't clear on this point, and the developercommunity post is incorrect: https://developercommunity.visualstudio.com/content/problem/175267/release-environment-artifact-triggers-not-availabl.html
The comment below from @MarinaLiu-MSF confirms Environment Artifact Filters feature are not available for onsite TFS 2017 nor for the first release of onsite TFS 2018. To date, this functionality is only currently available in the online VSTS.
I found a post on the VisualStudio User Voice site that mentions it being available in the next major on-prem version: https://visualstudio.uservoice.com/forums/330519-visual-studio-team-services/suggestions/13413054-trigger-release-definition-only-for-specific-branc
ADMIN VSTS Team (Product group, Microsoft Visual Studio) responded · July 11, 2017 We are happy to let you know that your suggestion is now available on Team Services. It will become available to the on-prem version in the next major version of TFS. You can read more about it at https://www.visualstudio.com/en-us/docs/build/concepts/definitions/release/triggers#release-triggers
QUESTION
Related to TFS 2017 release management artifact files from version control
I'm asking a new question because I believe I have an edge case the answers don't directly address and I don't want to derail that OP. Specifically, how do I allow an independent, offsite team building required supporting scripts in a separate TFS Team Project supply their scripts as an artifact in the Release definition of a separate TFS Team Project? The separate team projects are built by independent customers and we are not allowed to append content to their source control. Further, updates to the scripts must automatically spread to all Release definitions using them on the TFS.
We have about 40 team projects in TFS all running on different schedules. A separate operations team handles all build and release management tasks in TFS.
Because of the constant bouncing between team projects and because ops also wanted to use the version control and work item tracking features in TFS, we created a separate team project for them to store scripts, installers, and license files. These are referenced in other projects' RM tasks for automatic installation/execution. There is also a separate version control folder tree for tracking project specific scripts - like this:
- Common
- Applications
- App1
- App2 ...
- App43
This makes it significantly easier for them to manage their scripts and associate them with work items themselves without having to shuffle across all the other team projects. The dev teams do not have access to the ops project.
However, when linking a version control artifact in RM from their project, it will only bind to the root and appears to copy the entirety of the version control structure to the agent, even though most of this content is not relevant to the app being deployed.
Is there a way to add specific, not all, folders from their project in version control as artifacts to a release definition in a separate project? We have our QA release start the process to production and it pulls in the artifacts from the ops project and the project being released. All subsequent releases reuse the artifacts that succeeded in the QA build instead of going back to the server for new versions of the artifacts.
Build definitions don't let us pick workspace paths outside of the team project so I don't see a way to pull in their scripts in a build step, either.
Is there a way to do this? How are other organizations handling this issue?
...ANSWER
Answered 2017-Oct-18 at 03:02No.
The same answer I provided in the other answer applies here: Don't. Publish them as NuGet packages or as separate build artifacts; a release definition can have multiple artifacts linked to it.
QUESTION
I need to build multiple configurations, e.g. Debug, Release, in VisualStudioOnline.
Found some guides doing this online (e.g. here, and here) but they all end up with "Under the Options tab, enable Multi-configuration".
Problem is I have no such entry in the options tab.
Is it a licensing thing? Do I need to enable it somewhere else? Has this functionality been removed or replaced with something else?
...ANSWER
Answered 2017-Sep-26 at 07:25QUESTION
I am very new to Azure, Kubernetes, even Docker itself, and playing with the system to learn and evaluate for a possible deployment later. I have so far dockerized my services and successfully deployed them and made the web frontend publicly visible using a service with type: LoadBalancer.
Now I would like to add TLS termination and have learned that for that I am supposed to configure an ingress controller with the most commonly mentioned one being nginx-ingress-controller.
Strictly monkeying examples and then afterwards trying to read up on the docs I have arrived at a setup that looks interesting but does not work. Maybe some kind soul can point out my mistakes and/or give me pointers on how to debug this and where to read more about it.
I have kubectl apply'd the following file:
...ANSWER
Answered 2017-Sep-17 at 06:33Kind of a trivial thing, but it'll save you some $$$: the default-http-backend
is not designed to be outside facing, and thus should not have type: LoadBalancer
-- it is merely designed to 404 so the Ingress controller can universally /dev/null
traffic for Pod-less Services.
Moving slightly up the triviality ladder, and for extreme clarity: I do not think what you have is wrong but I did want to offer you something to decide if you want to change. Typically the contract for a Pod's container is to give an ideally natural-language name to the port ("http", "https", "prometheus", whatever) that maps into the port of underlying image. And then, set targetPort:
in the Service to that name and not the number which offers the container the ability to move the port number without breaking the Service-to-Pod contract. The nginx-ingress Deployment's container:ports: agrees with me on this one.
Now, let's get into the parts that may be contributing to your system not behaving as you wish.
I can't prove it right now, but the presence of containers:hostPort: is suspicious without hostNetwork: true. I'm genuinely surprised kubectl
didn't whine, because those config combinations are a little weird.
I guess the troubleshooting step would be to get on the Node
(that is, something within the cluster which is not a Pod -- you could do it with a separate VM within the same subnet as your Node
, too, if you wish) and then curl to port 31452 of the Node
upon which the nginx-ingress-controller
Pod is running.
kubectl get nodes
will list all available Node
s, and
kubectl get -o json pod nginx-ingress-controller-deployment-4106313651-v7p03 | jq -r '.items[0].status.hostIP'
should produce the specific VM's IP address, if you don't already know it. Err, I just realized from your prompt you likely don't have jq
-- but I don't know PowerShell well enough to know its JSON-querying syntax.
Then, from any Node
: curl -v http://${that_host_IP_value}:31452
and see what materializes. It may be something, or it may be the same "wha?!" that the LoadBalancer is giving you.
As for the Ingress resource specifically, again default-http-backend is not supposed to have an Ingress resource -- I don't know if it hurts anything because I've never tried it, but I'd also bet $1 it is not helping your situation, either.
Since you already have a known working Service
with default:webcms
, I would recommend creating an Ingress resource in the default
namespace with pretty much exactly what your current Ingress resource is, but pointed at webcms
instead of default-http-backend
. That way your Ingress controller will actually have something to target which isn't the default backend.
If you haven't already seen it, adding --v=2 will cause the Pod to emit the actual diff of its nginx config change, which can be unbelievably helpful in tracking down config misunderstandings
I'm so sorry that you're having to do battle with Azure, Ingress controllers, and rough-around-the-edges documentation for your first contact with Kubernetes. It really is amazing when you get all the things set up correctly, but it is a pretty complex piece of machinery, for sure.
QUESTION
I am trying to create a release without mapping a existing build in TFS/VSTS and get data display in release summary once it is completed. in plain text steps are following
- Release -> Empty Release Definition -> Add build task - > Create Release -> Deploy -> View Data in Summary Section
Summary data are view-able as expected without any issues with following two scenarios
- Build - > Create build definition -> Add task - > Save and Queue build – Build Success - > View Summary Data
- Release -> Empty Release Definition -> Link pre-defined Build definition -> Create Release -> provide successfully ran build version -> View Summary data.
As As per our understanding the issue occurs when we retrieving artifacts of the given release. We can retrieve results for builds but fail to do the same for releases. Below is the sample code we use to read release data. It will be much helpful if you can provide us guidance on retrieving artifacts details for given release. Right now we use following code in the client side for retrieving release artifacts but it complains release.artifacts is undefined. We have verified that the attachment file is saved to the given file location.
...ANSWER
Answered 2017-Jun-30 at 06:30I was able to figure out an answer for this issue. I am herewith sharing same for others reference.
If we don’t link an artifact(build definition), then the artifacts for the release/release definition will not be filled with the data, so we won’t be able to refer to the attachment that got uploaded as part of the build.
Hence as per current API implementation, Below are the steps to follow to achieve this requirenment.
- Writing data in to log while extension run as build task
- Read above data once build completes (in client side)
- Display retrieved (processed if required) data in release tab.
I found below code which explains retrieving data from log (reference : https://github.com/Dynatrace/Dynatrace-AppMon-TFS-Integration-Plugin/blob/master/src/enhancer/dynatrace-testautomation.ts)
QUESTION
I have a build that creates .zip package and projectName.SetParameters.xml i want to overide the parameters in The projectName.SetParameters.xml file with my script
I have a powershell script with Mandotary parameters, I want the user to input their username and password before they can deploy to IIS in TFS i was following this guide link UPDATE: The REalese build works but it doesn't ask the user to input the username and password, Do i have to set them manually inside the argument box on the Powershell step?
In my TFS I Have a powershell step i added the argument -paramsFilePath C:/somepath/.../.../projectName.SetParameters.xml
...ANSWER
Answered 2017-May-26 at 18:01The PowerShell execution in TFS Build and Release is only in non-interactive mode possible. The build and release process will only streams the execution result to the build console.
You have to create a variable with the username. For the password you should use hidden variable:
Yes you have to place the arguments inside the argument box of the PowerShell step
Note: The password field seems secure and not readable but it is not really hard to read the content of a hidden variable.
Create the variables and set the values. After that you can use this command line parameter in the PowerShell step argument box.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Release-Management
You can use Release-Management like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
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