Questions tagged [deployment]
Use this tag for questions about deployment, which is about all the activities to make (part of) a system available for use in some target environment.
173
questions
1
vote
2
answers
86
views
Tools used in enterprise level to transfer build artifacts from CI server to live server
I recently learnt some basic devops and set my server on Digitalocean droplet with travis CI. As there is no travis deploy provider supports for Digitalocean, I have to write my own deploy script. ...
1
vote
1
answer
731
views
Tomcat deploy war with Ant - error writing to server
I am using Ant to deploy a war to a Tomcat server, but it gives me the following error:
BUILD FAILED
/home/deploy/Documents/Work/Deploy_Wars/xrepo/deployment/build.xml:37: The following error ...
1
vote
1
answer
17k
views
Parallel stages running on same agent in Jenkins declarative pipeline
I've been using a Jenkins pipeline with a parallel step for testing like this:
pipeline {
agent { label 'php' }
stages {
stage('build') {
steps {
...
...
2
votes
1
answer
188
views
Can the Angular CLI be used to build and deploy on a remote server via ssh?
I'd like to use the Angular CLI to build the app and deploy it on my remote server via SSH. Is this feature available?
4
votes
4
answers
261
views
DevOps tools and automation of manual processes
This is a general question, but couldn't find a better place to ask. I'm a new DevOps member in a company, and I've been ask to "update" our DevOps technologies.
Generally speaking, in what areas do ...
2
votes
2
answers
138
views
Kubernetes Deployments & Rollbacks
At the moment I'm performing Kubernetes deployments by applying deployment.yaml then updating the container/pod image versions with kubectl set-image as outlined in the docs. I'm doing this using ...
1
vote
1
answer
66
views
Does anyone have resources, tools, ideas, for automating database create, update, modify, delete
I've been tasked to find a way to automate promotion of database creation, changes and other modification related to application changes in a devops world.
My databases include MS SQL, Oracle, MySQL ...
4
votes
1
answer
303
views
What is a glob in salt-stack?
I was going through targeting minions in salt. There I came across a term called glob. Can someone explain with an example what is a glob in Salt-Stack?
3
votes
0
answers
101
views
After deployment, one Rancher load balanced RESTful app instance returns 404 while other returns results [closed]
I have setup a CI/CD pipeline which triggers builds, packages, and deploys tasks that execute on Gitlab online whenever a Spring boot RESTful service app is checked in. The three stages and tasks run ...
7
votes
3
answers
652
views
Continuous Deployment best practices for managing application configuration
My CD pipeline:
Get Docker image (created and pushed during CI stage).
Copy docker-compose .yml template to target server.
Run the app.
Let's go straight to the 3rd point. I can run the app using ...
2
votes
1
answer
136
views
How to update pods if version hasn't changed?
During development we are continually building a Docker image with the same version (say 0.0.1-development) as there is no need to bump for each minor change. We do eventually bump when additional ...
3
votes
1
answer
345
views
Where are dunder dictionaries stored in salt?
I am new to Salt-Stack wanted to know where are all the dunder dictionaries stored?
For example __salt__, __opts__, __grains__, __beacons__).
9
votes
3
answers
2k
views
How to deploy multiple dependent micro services
We want to deploy multiple microservices on AWS ECS.
The issue that we need to solve is how to deploy them in an atomic way:
Let says we have the front-end services which requires the user service ...
1
vote
2
answers
114
views
VSTS deployment variable
So I'm automating a process we currently have where we deploy a database and then have an exe that 'activates' the database. The default values are different for each product and is determined by a ...
2
votes
2
answers
854
views
What's the best complete DevOps setup?
I'm curious what everyone recommends.
Vagrant is for setting up test environments right?
Ansible/Chef etc. seem good for servers you own, but what about cloud?
Docker... great for standardizing app, ...
0
votes
1
answer
151
views
How to update frontend servers behind a load balancer
I have multiple frontend servers churning out the HTML pages , behind a load balancer.
Just wondering what is the best practice to update the frontend app while users are surfing the site.
The ...
1
vote
1
answer
272
views
Customizing deploy key and ssh wrapper path for git cloning through application_git cookbook
I am using Chef 12.0.3 for managing servers. Earlier I was using application cookbook for cloning repository. But now in higher version of application cookbook, this support is moved to new cookbook ...
1
vote
1
answer
41
views
Any tools available for rollout planning / checklist [closed]
I deploy applications on servers. While the process itself is automated but there are lot of manual steps involved surrounding the automation due to various reasons.
I manage the manual procedure in ...
2
votes
1
answer
393
views
Pros and cons of different deploy strategies
I am not sure about the best way to deploy my program.
Lets assume i have two relevant branches release(tested and ready to deploy code) and master.
I have two options
1.Merge the release to master ...
3
votes
3
answers
120
views
What is the term for a deployment designed to make a future cutover seamless?
I'm currently working on a new major version (v2) of an application meant to replace the current production version (v1). This redesign carries with it changes to the front-end, public API layer, ...
3
votes
2
answers
5k
views
Git Workflow with User Acceptance and Staging Environments
I'm trying to streamline/standardize a git workflow in my workplace. The current delopment process is as follows:
Pull 'development' branch
Write code and commit and push to 'development' branch
...
4
votes
1
answer
155
views
Limits of, or preconditions for of Blue-Green deployment?
I find a lot information about the blue green deployment pattern but maybe miss a point. Please help me to understand.
Could it be scenarios where you can't successfully duplicate the information ...
3
votes
2
answers
443
views
Automating creation of new VM and pushing code to server
Automating creating of new VM and pushing code to server
Hi all,
I am writing a integration test for a client-server application. To simulate
the production server setup, and to update the code, I ...
6
votes
2
answers
76
views
Handle OS and Software maintenance/updates on Hardware distributed to Customers
In the last weeks I have tried to find a solution to the following scenario assuming that someone else had similar requirements and documented his solution but all my searches were unsuccessful.
So ...
2
votes
1
answer
3k
views
Powershell script in jenkins is hanging
I'm building a process to automate deploys using Jenkins and I have an issue getting the code on the server
I have a powershell script on the deploy server that all it does is do an hg update command....
4
votes
2
answers
12k
views
How to start a VPN connection using Jenkins?
I'm on a Windows Server and I want to have a pipeline project on Jenkins that basically does this:
SVN update
Build
Deploy
As the deploy target machine is on a different network, I want to know how ...
8
votes
1
answer
142
views
Strategy for deploying/hosting javascript-based static websites in containers
This comes up from time to time in several of our dev teams, without us having figured out the "right" way:
We use a lot of react-based webapplications that "compile" into static websites that are ...
1
vote
1
answer
160
views
How can integration tests for micro services be written?
Writing unit and integration tests for individual micro services is part of standard development processes. However, how can these services be tested with one another? And then integrated into a CI ...
5
votes
1
answer
4k
views
What is difference between release and deployment?
What is the basic difference between software release and deploy? What is the relation between software release management and continuous deployment?
5
votes
1
answer
158
views
Deployment custom App in Microsoft Teams
I am developing a chatbot Azure service, which I want to integrate within Microsoft Teams.
So far everything is working but the "re-install" of the package in the Microsoft Teams.
I created ...
4
votes
1
answer
92
views
Passing in a file with configuration
One of the steps in our deployment process requires a configuration file that we don't want to commit to the repository and rather have it passed in by the Bamboo itself. Is there some sort of task/...
1
vote
1
answer
45
views
Best practices on how to erase everything in destination deployment folder and restart the app after deployment using Appveyor
So far I have managed to get a simple deployment procedure running via SFTP. I really need to make two more steps:
Erase everything inside the folder that I am deploying to before I deploy a fresh ...
14
votes
2
answers
775
views
How do I automate deployments with Kubernetes?
Assuming I have Kubernetes deployed via Rancher and Jenkins is building new images and pushing them to DockerHub upon check-in of new code to GitHub, how do I automate getting new images deployed?
...
2
votes
2
answers
12k
views
How to hot deploy to Tomcat with Ansible
Currently I build my app with maven and use the tomcat manager to hot deploy the war file (both on windows servers).
Now I want to use ansible to move away from the manual process.
Would it make ...
11
votes
4
answers
922
views
Infrastructure as code and TDD
Infrastructure as code tells us to use tools that automate your builds. Great. Tools like ansible, chef, puppet, salt stack and others push us towards writing how infrastructure looks like, while ...
2
votes
1
answer
84
views
Build / Deployment process for .Net/Mulesoft/Oracle stack
I have the following challenge to streamline and setup a development process.
The program runs simultaneously, and each one has its own timeline for release, as follows:
Program 1
Program 2
Program ...
2
votes
1
answer
519
views
How to serve RESTful APIs?
Background:
I am developing a Web application for Employee Management. I use Laravel for building a RESTful API, and (maybe) ReactJS for the frontend.
My problem:
I am confused on how to deploy ...
4
votes
1
answer
55
views
I need a good tool for running a series of Spring Boot based tools on Docker, where each needs a web page and a database connection
These are pretty much just tools our support and ops departments need to solve small tasks which crop up as a routine sideeffect of our main business operation. They might need to find all instances ...
2
votes
1
answer
1k
views
Using Anaconda instead of pip+virtualenv
We are currently using pip+virtualenv and install all our Python dependencies during the application build step on the CI. This requires compiling some of the packages, which contain C modules, which ...
13
votes
2
answers
3k
views
how to automatically create a subdomain for every pull request
Background
I got a team of untechnical QA's who have to do testing on iOS/android apps for every Pull Request (PR) that gets created by my backend team.
Question
This is what I want to do: ...
4
votes
1
answer
4k
views
What's the term for moving/promoting code between deployment environments
I'm looking for a term that unambiguously describes the process of promoting a "deployment bundle" (for lack of a more accurate/technical term) from one deployment environment to another, from ...
2
votes
1
answer
487
views
Deploying to VSphere with Packer and/or Terraform?
Scenario:
Creating multiple VMs and deploying them to VSphere. Current development uses Packer and Ansible to provision a Fusion VM, with the aim of using Terraform to deploy to VSphere.
Issue:
I'...
6
votes
3
answers
2k
views
How to do blue-green deployment with PL/SQL code?
Is it possible to do blue-green deployment when your software is mostly a set of PL/SQL packages?
I don't really want to duplicate the database, the financial risks in case of any desyncs are too big....
6
votes
1
answer
1k
views
Re-using Python virtual environment vs Re-building it
Currently, we build our application on a build server where we create a virtual environment using virtualenv command, install all the Python dependencies into it, then "patch" it using the following ...
8
votes
2
answers
2k
views
Encrypting docker images (end to end); transporting over offline channels
We are developing and building docker images in our intranet, and need to deploy them to several hosts belonging to us (developers, internal testing, external testing and so on). Some of these are in ...
0
votes
1
answer
475
views
Is Gradle used to automate deployment of EAR and WAR files to application servers?
I'm getting a bit deeper into Gradle and want to further automate the process. Generally speaking what are the approaches towards interacting with application servers?
I'd want to automate deploying ...
2
votes
5
answers
914
views
Same Docker image, multiple configurations
I got an application server image built with Docker. However, this image contains an OpenVPN client which needs a different certificate for each client, among other minimal configuration files.
I ...
13
votes
1
answer
2k
views
How to support releasing new versions of the code, running in parallel with the last stable release?
I have one service in production (on AWS), which follows the immutable server pattern. Its deployment looks like this:
Create a new AMI with Packer.
Create a new CloudFormation stack, starting with ...
1
vote
1
answer
2k
views
Is there a standard way to check if a web API is alive?
As a developer, I have been involved in producing a number of assorted web-APIs, both for internal and public use.
Is there a standard (or de facto) way of checking if a web API is up and running?
(...
3
votes
1
answer
1k
views
Setting up Jenkins and git-server on same server
I want to setup a Jenkins and git on the same server.
What I am trying to do:
I want Jenkins to be able deploy a folder to another server which runs IIS server (which is running .net).
I don't have ...