Skip to main content

Questions tagged [continuous-deployment]

A software engineering approach in which teams keep producing software in short cycles and ensure that the software can be released to production at any time.

continuous-deployment
Filter by
Sorted by
Tagged with
411 votes
12 answers
159k views

Continuous Integration vs. Continuous Delivery vs. Continuous Deployment

What is the difference between these three terms? My university provides the following definitions: Continuous Integration basically just means that the developer's working copies are synchronized ...
lkbaerenfaenger's user avatar
268 votes
11 answers
184k views

How to shutdown an app deployed on Heroku?

I have an app on Heroku which is being used by few users. However, I notice there are some data issues which I'd like to fix and stop the app in the mean time so users don't enter anything new. Is ...
yuri's user avatar
  • 2,871
223 votes
5 answers
107k views

Dependencies Between Workflows on Github Actions

I have a monorepo with two workflows: .github/workflows/test.yml name: test on: [push, pull_request] jobs: test-packages: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 ...
Guillaume Vincent's user avatar
102 votes
10 answers
221k views

How to trigger Jenkins builds remotely and to pass parameters

I am invoking a Jenkins job remotely using: wget http://<ServerIP>:8080/job/Test-Jenkins/build?token=DOIT Here Test-Jenkins job is invoked and DOIT is the security token that I have used. ...
Exploring's user avatar
  • 3,031
100 votes
3 answers
30k views

Difference between Github's "Environment" and "Repository" secrets?

In the GitHub documentation it states that the precedence of secrets is from lowest to highest (Environment > Repository > Organization), it also states that the Organization secrets are ...
Adam's user avatar
  • 1,345
90 votes
4 answers
105k views

For an Amazon S3 bucket deployment from GitHub how do I fix the error AccessControlListNotSupported: The bucket does not allow ACLs?

I have the following access policy set on an IAM user in my AWS account. The policy references the bucket name which is "xo-staging". { "Version": "2012-10-17", &...
Æthelstan's user avatar
82 votes
16 answers
235k views

How to download the latest artifact from Artifactory repository?

I need the latest artifact (for example, a snapshot) from a repository in Artifactory. This artifact needs to be copied to a server (Linux) via a script. What are my options? Something like Wget / ...
user1338413's user avatar
  • 2,521
58 votes
5 answers
41k views

How do you abort/end a Chef run?

Under certain conditions, I need to abort/end a Chef run with a non-zero status code, that will then propagate back through our deployment chain and eventually to Jenkins resulting in a big, fat red ...
Jordan Dea-Mattson's user avatar
57 votes
2 answers
10k views

CI/CD of a ASP.NET Core Web API using VSTS

I have created an ASP.NET Core Web API app using Visual Studio 2017 (Community Edition). I could successfully publish to an Azure App Service using Visual Studio. I now want to set up CI/CD using ...
alwayslearning's user avatar
53 votes
5 answers
39k views

Deploy individual services from a monorepo using github actions

I have around 10 individual micro-services which are mostly cloud functions for various data processing jobs, which all live in a single github repository. The goal is to trigger the selective ...
dendog's user avatar
  • 3,258
47 votes
2 answers
47k views

Running a GitHub Actions step only if previous step has run

I've set up a workflow in GitHub actions to run my tests and create an artifact of the test coverage. The stripped down version of my YAML file looks like this: name: Build on: [pull_request] jobs: ...
Duncan Lukkenaer's user avatar
44 votes
7 answers
33k views

CodeBuild execution continues after build fails instead of stopping

I'm building a CI/CD pipeline using git, codebuild and elastic beanstalk. During codebuild execution when build fails due to syntax error of a test case, I see codebuild progress to next stage and ...
pkpk's user avatar
  • 712
43 votes
2 answers
28k views

Git short branch name in teamcity

I'm using teamcity 8.x.x version.I configured my Teamcity for continuous deployment. I'm need a feature branching deployment. I see this document "http://confluence.jetbrains.com/display/TCD8/...
Ömer Faruk Aplak's user avatar
40 votes
5 answers
19k views

How to manage signing keystore in Gitlab CI for android

Dear stackoverflow community, once more I turn to you :) I've recently come across the wonder of Gitlab and their very nice bundled CI/CD solution. It works gallantly however, we all need to sign our ...
Almund's user avatar
  • 5,996
39 votes
4 answers
55k views

How to deploy to Heroku directly from my Gitlab repository

In my team, we use Gitlab as a remote repository, so we are looking for a solution to auto deploy our apps to Heroku. We found Codeship for auto deploying apps to Heroku from Github. Any tips? Tricks?...
Toanalien's user avatar
  • 669
38 votes
5 answers
23k views

AWS CodePipeline not able to access Organization's repositories

I am trying to setup Continuous deployments pipelines in AWS Codepipeline. While creating a pipeline I provide "Source provider" as GitHub and then connect to GitHub. I am able to see my public ...
anshul410's user avatar
  • 874
37 votes
5 answers
48k views

Gitlab CI/CD: New runner has not been connected yet

I am very new to Gitlab CI/CD and I have read its documentation very carefully about creating a new CI/CD process using .gitlab-ci.yml file. As I have found out in order to have Continuous Deployment (...
Mostafa Ghadimi's user avatar
37 votes
1 answer
18k views

How to version products inside monorepo?

I have been educating myself about monorepos as I believe it is a great solution for my team and the current state of our projects. We have multiple web products (Client portal, Internal Portal, API, ...
justinledouxweb's user avatar
36 votes
3 answers
35k views

continuous deployment with jenkins

I want to deploy with jenkins to the test environment and to the production environment. To do so I need to connect to the server of the wanted environment, something like ssh/scp. I would like to ...
user1338413's user avatar
  • 2,521
36 votes
2 answers
11k views

How is deployment to Production done from local VirtualBox / Vagrant development environment?

Recently I started to read about building development environments with virtualization software (I am a beginner) and it seems that 'infrastructure as a code' is a really powerful concept. I really ...
skanatek's user avatar
  • 5,173
34 votes
3 answers
49k views

GitLab CI Start job manually (deployment)

Is it possible to mark gitlab ci jobs to start manually? I need it for deploying application but I want to decide if it's going to be deployed
Pekarcik Patrick's user avatar
31 votes
2 answers
15k views

jenkins fails on building a downstream job

I'm trying to trigger a downstream job from my current job like so pipeline { stages { stage('foo') { steps{ build job: 'my-job', propagate: true, wait: true } } } } ...
omu_negru's user avatar
  • 4,750
28 votes
4 answers
8k views

android environment using docker and bitbucket pipelines

I am very new to Bitbucket pipelines (Beta) and docker.No previous experience on CI integration I followed this question , But no clear description for beginners I am trying to set up Continuous ...
Java_begins's user avatar
  • 1,713
26 votes
3 answers
35k views

Azure Pipelines using YAML for multiple environments (stages) with different variable values but no YAML duplication

Let's suppose I have 3 environments on Azure: Dev, Test and Prod. I have the same pipeline for building and deploying the resources and the code for each one of the environments except for two ...
Mariusz Ignatowicz's user avatar
26 votes
1 answer
6k views

Best-practice for continuous integration and deployment

Continuous integration concept has just been integrated in my team. Assume we have an integration branch named Dev. From it derived 3 branches, one for each specific current project : Project A ...
Mik378's user avatar
  • 22.1k
24 votes
3 answers
7k views

Saving cache on job failure in GitHub Actions

I am using the GitHub cache action, but I noticed that the no cache will be created if the job fails. From the docs: If the job completes successfully, the action creates a new cache with the ...
Duncan Lukkenaer's user avatar
24 votes
5 answers
30k views

Exception Message: There is no working folder mapping for

I am trying to test automated builds in tfs/vs.net 2012. I have set the workpaths in the source control explorer but now I am getting an error: Exception Message: There is no working folder mapping ...
user603007's user avatar
  • 11.7k
24 votes
3 answers
11k views

How to run aws configure in a travis deploy script?

I am trying to get travis-ci to run a custom deploy script that uses awscli to push a deployment up to my staging server. In my .travis.yml file I have this: before_deploy: - 'curl "https://s3....
Dave Sag's user avatar
  • 13.4k
23 votes
8 answers
26k views

I'm trying to integrate Bitbucket into AWS Code Pipeline? What is the best approach?

I want to integrate my code from Bitbucket into AWS Code Pipeline. I unable to find proper examples on the same. My source code is in .Net. Can someone please guide me. Thanks.
Nigel Fds's user avatar
  • 813
22 votes
2 answers
16k views

Revert commit on remote branch without force pushing

How can I revert some remote repository to an old commit without force pushing and losing history? I know I could do git reset --hard <commit-hash> git push -f origin master but I don't have ...
bpoiss's user avatar
  • 14k
21 votes
2 answers
39k views

MSI vs nuget packages: which are is better for continuous delivery?

Let's discuss following topic. There is application which currently is being deployed with good to know xcopy method.This approach makes difficult to manage dependencies, file updates etc. There is ...
Vadym Fedorov's user avatar
20 votes
2 answers
16k views

Amazon Web Service CodeDeploy appspec.yml problems

I have a Node.js application which is being automatically deployed to Amazon Web Service through Codeship using the CodeDeploy AWS deployment system. During the deployment process I've set in my ...
Peter Bridger's user avatar
20 votes
6 answers
12k views

How to upload an APK from Jenkins/Hudson to Play Store?

I implemented a continuous integration pipeline using Jenkins, but as final step I want Jenkins to deploy/upload the signed APK file to Google Play Store and AndroidPit. I looked for Jenkins/Hudson ...
mdt's user avatar
  • 235
19 votes
4 answers
17k views

Azure multistage pipelines: conditionally skip one stage but not the next

I have an Azure multi-stage CI/CD pipeline. It has stages for Test and UAT deployment. I want the UAT release to run if Test succeeds or is skipped, but not if it fails. I can't. Whatever I try, if ...
EdH's user avatar
  • 541
19 votes
1 answer
3k views

Not able to see Add->Existing Project as Azure Web Job Option when I right click on Web project in Solution Explorer of Visual Studio 2017

When I right click on the Web Project in the Solution Explorer of Visual Studio 2017, I don't see an option 'Add Existing Project as Azure Web Job'. I did install Nuget-packages such as Microsoft.Web....
SDE's user avatar
  • 203
19 votes
3 answers
5k views

Is there a way to test AppSync code locally and/or in CI/CD?

I am looking to dive into a project using AppSync. So far I have been able to find plenty of articles and such online giving all the steps as to what buttons to click in order to get a sample project ...
CodeChimp's user avatar
  • 8,074
18 votes
3 answers
1k views

How Docker and Ansible fit together to implement Continuous Delivery/Continuous Deployment

I'm new to the configuration management and deployment tools. I have to implement a Continuous Delivery/Continuous Deployment tool for one of the most interesting projects I've ever put my hands on. ...
another geek's user avatar
18 votes
3 answers
6k views

Continuous deployment & AWS autoscaling using Ansible (+Docker ?)

My organization's website is a Django app running on front end webservers + a few background processing servers in AWS. We're currently using Ansible for both : system configuration (from a bare OS ...
renaudg's user avatar
  • 682
17 votes
6 answers
27k views

How to deploy a create-react-app to a web host (ex. Siteground)?

I'm building a react project using create-react-app and am trying to figure out how to deploy my code to my hosting server on Siteground. Does anyone know the best way to do this? Do I import my ...
Dane W. Iliff's user avatar
17 votes
1 answer
11k views

Docker Swarm deploy - wait for service/container to be present

I have a working swarm setup and rolling-updates deployment. As i have to execute some tasks after deployment (like database migrations) i added a "manager" service to the stack. this ...
Rufinus's user avatar
  • 30.3k
17 votes
2 answers
13k views

When should we use a parameter when to use variable in ARM templates

I am confused about where to use a variable and where to use a parameter in ARM templates. How do we make this call ? The referenced script uses both. I am more curious of the justification of using ...
Rıfat Erdem Sahin's user avatar
17 votes
3 answers
8k views

How to programmatically invalidate Bitbucket Pipeline's cache?

I have a node_modules cache in my Bibucket Pipeline and I added new module (eg yarn add react-modal) - how to make Bitbucket pipelines detect new yarn.lock and invalidate its cache?
Marecky's user avatar
  • 2,046
17 votes
2 answers
2k views

Why would azure be restarting website when i do a deployment slot swap?

I've a .net 4.5 website running on Azure Websites. I've a staging deployment set up. I warm up both sites and then i run the swap process (both from azure portal and from Azure powershell). No matter ...
richardwhatever's user avatar
16 votes
6 answers
12k views

Continuous Deployment with TeamCity

I recently set up a CI server in TeamCity and now want to take it to the next step, continuous deployment. Basically, we host a suite of restful services and about 3 web applications for each one of ...
dalcantara's user avatar
  • 1,621
16 votes
1 answer
6k views

How to disable displaying "New version of Jenkins (2.62) is available for download (changelog)"?

seems jenkins is getting updated very frequently. I dont want to see those message where jenkins is popping with red button saying "New version of Jenkins (2.62) is available for download (changelog)"....
Milind Dhoke's user avatar
16 votes
1 answer
15k views

What are the pros and cons of using AWS Code Deploy Vs Jenkins? [closed]

We are using a bunch of EC2 instances which might scale in the future (around 100 instances), now we are looking towards auto deployments using either Jenkins or AWS Code deploy. I found that we can ...
user2379271's user avatar
16 votes
3 answers
15k views

Continuous Deployment of a NodeJS using GitLab

I have an API developed in NodeJS and have successfully set up continuous integration via a .gitlab-ci.yml file. The next stage is to set up continuous deployment to Heroku if all tests pass on the ...
Mark Tyers's user avatar
  • 3,123
16 votes
1 answer
3k views

How to get runtime access to version number of a running Clojure application?

I have a web service written in Clojure which is continuously delivered. To allow our automated deployment tools to know which version of the codebase has been deployed, the web service should provide ...
Grundlefleck's user avatar
16 votes
6 answers
15k views

How to start container with kubectl and get exit code back? without kubectl exec

My CI tool uses lifecycles so if Dev deployments works, it goes to QA. I have an end to end test container that i want to run in kubernetes, but how do i get the exit code from the container? Can i ...
tekno45's user avatar
  • 398
15 votes
3 answers
8k views

How to extend timeout for tests in circleci?

Im running some tests in circleci and some of the tests are taking longer then 10 min cause its ui tests that run on a headless browser that Im installing in my circle.yml How can I extend the time ...
JohnBigs's user avatar
  • 2,771

1
2 3 4 5
54