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 (CD) is a continuous automation process where deployment of software to production systems is fully automated. This ensures that fixes and new features can be brought to production quickly.

This usually includes having a good set of automated tests to automatically verify the fitness of the software for production use.

See the article Continuous Delivery on Wikipedia for more information.

2667 questions
405
votes
15 answers

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 with a shared mainline several times a…
266
votes
11 answers

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 there a way to stop the app on Heroku rather than…
yuri
  • 2,851
  • 3
  • 18
  • 8
188
votes
5 answers

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 - name: test packages run: | …
97
votes
10 answers

How to trigger Jenkins builds remotely and to pass parameters

I am invoking a Jenkins job remotely using: wget http://:8080/job/Test-Jenkins/build?token=DOIT Here Test-Jenkins job is invoked and DOIT is the security token that I have used. Now I need to pass some parameters to the build.xml file of…
80
votes
2 answers

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", "Statement": [ { "Sid": "AccessToGetBucketLocation", …
78
votes
15 answers

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 / SCP? And how do I get the path of the artifact? I…
user1338413
  • 2,471
  • 8
  • 29
  • 36
61
votes
3 answers

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 available for all repositories in the organization. But it…
57
votes
5 answers

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 ball. What is the best way to do this?
Jordan Dea-Mattson
  • 5,791
  • 5
  • 38
  • 53
56
votes
2 answers

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 VSTS. I used the 'Configure Continuous Delivery'…
44
votes
5 answers

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 deployment of these service to Google Cloud Functions,…
43
votes
2 answers

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/Working+with+Feature+Branches". I'm trying this document…
Ömer Faruk Aplak
  • 889
  • 2
  • 9
  • 21
40
votes
7 answers

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 ultimately go on to produce the artifacts. My…
39
votes
4 answers

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
  • 659
  • 1
  • 7
  • 15
37
votes
5 answers

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 binaries don't we and I've found no way to upload…
Almund
  • 5,695
  • 3
  • 31
  • 35
36
votes
5 answers

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 repositories in "Repository" drop-down in create…
1
2 3
99 100