Questions tagged [continuous-delivery]

Continuously building, testing and deploying (to non-production environments) applications to prove which instances are fit to be deployed to production.

Continuous delivery is the process of automating as much of the build pipeline as possible to produce deployable applications as quickly as is reasonable. It is the last step before continuous deployment, which also puts the deployable application into production automatically.

This tag is suitable for questions about

  • creating and managing the pipeline used to coordinate the build, test and deploy process
  • environment configuration management
  • wiring build tools to assist with the automated configuration of deployments
  • configuration of continuous integration tools such as Jenkins, Thoughtworks' Go and Atlassian's Bamboo
  • the configuration and deployment of temporary virtual machines and environments specifically for the testing of deployment processes
  • configuration of tools for managing those temporary environments, such as Vagrant
584 questions
5
votes
2 answers

How to replace json file in release in VSTS CD?

While deploying a build to multiple environments like UAT, Production. I want to replace one file config.uat.json or config.prod.json with config.json. Is there any option available? just like we have XML Transformation. I am aware of Json Variable…
5
votes
1 answer

How to execute Travis CI 'before_deploy' step only once for multi-deploy configuration?

In my project I has configured Travis CI build process which releases new versions of artifact to Github releases. My .travis.yml file: language: java jdk: oraclejdk8 branches: only: - master before_install: mvn package before_deploy: -…
5
votes
2 answers

Nativescript continuous delivery

I've just started learning and using nativescript; everything seems alright and I'm making progress, but I haven't been able to find a solution for continuous delivery. (on push on master branch in bitbucket, I want to automatically make the build…
Marius B.
  • 478
  • 6
  • 18
5
votes
1 answer

In microservices, does it make sense to have separate code repositories for database migration scripts and API code?

In accordance with bounded context, we have identified two microservices implementations, lets call them Service A and Service B respectively. Each of these microservices have different repositories (due to the benefits of Single Responsibility and…
5
votes
1 answer

MSBUILD publish ERROR_USER_UNAUTHORIZED

Summary I'm using a 9.2.0 Gitlab's CI multirunner on a Windows Server 2016. On a step where I publish ASP.NET project through MSBUILD I've got an authentication error ERROR_USER_UNAUTHORIZED from IIS. But when I use a CMD window on a build machine…
Mark Twain
  • 826
  • 14
  • 26
5
votes
1 answer

continuous integration with in house libraries

We have a project, say coresystem which uses a number of in house dependent libraries, all at different versions. The build configuration for coresystem is setup to reference libraries with specific version numbers for example coresytem 2.3.4 uses…
5
votes
1 answer

How can continuous integration and manual testing work together?

I am implementing continuous integration (Jenkins) and deployment in my project. We are doing manual testing. My requirements are as below. The files will be moved to the QA server after development. After the testing the files will be moved to UAT…
5
votes
2 answers

How to implement the "One Binary" principle with Docker

The One Binary principle explained here: http://programmer.97things.oreilly.com/wiki/index.php/One_Binary states that one should... "Build a single binary that you can identify and promote through all the stages in the release pipeline. Hold…
5
votes
2 answers

Jenkins Build Pipeline with incremental Gradle builds

Take this basic build pipeline (with gradle tasks): Compile/Run Unit tests (gradle clean build) Integration tests (gradle integrationTest) Acceptance tests (gradle acceptanceTest) Deploy (gradle myCustomDeployTask) According to Jez Humble's…
smgeorge99
  • 51
  • 1
  • 2
4
votes
0 answers

Rails: Deploy multiple databases to github actions

Since multiple databases is still a relatively fresh topic on Rails I wasn't able to find good resources on how to integrate them with my github actions. As long as I had single database in my app those configs we correct: name: CI on: push: …
4
votes
0 answers

Gitlab+Jenkins through webhook it shows this error, how can I solve this?

Hook executed successfully but returned HTTP 403: Error 403 No valid crumb was included in the request

HTTP ERROR 403…

4
votes
2 answers

Run (Docker) Test Container in gitlab with Maven

I am working in a gitlab ci/cd pipeline. This pipeline executes all of its commands (excluding the deployments) with maven and docker. In this case, I am trying to run integration tests (that are kicked off by maven), which use a test container…
4
votes
1 answer

How to update files between 2 container with shared volume

Situation Let's say, we have two containers, A and B. A and B have shared name volume as: shared-volume. A container have shared-volume mount to /root/shareA. B container have shared-volume mount to /root/shareB. This mean, when we go to B…
4
votes
1 answer

Where is the Jenkins working directory located?

Situation: I installed Jenkins on my vserver and setup a "freestyle pipeline". I connected it via webhook push to my github which works (when I push to the repository, a new build job is started in jenkins). Problem: I can't seem to find the…
4
votes
1 answer

Alternative to sonar.analysis.mode parameter

I'm using Sonarqube 7.9 and Gitlab with a maven docker image that calls my Sonarqube using mvn --batch-mode verify sonar:sonar -DskipTests=true -Drevision=$REVISION_UNSTABLE $SONAR_OPTS -Dsonar.analysis.mode=issues. The thing is that the parameter…