Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [continuous-integration]

Continuous-Integration (CI) is the process of merging developer's working code copies to a shared codebase frequently to prevent or minimize integration problems. For questions about a specific CI system like [Jenkins] or [Travis-CI] use those tags instead.

0
votes
0answers
4 views

Maintaining Jenkins configuration with docker

I'm trying to configure CI with Jenkins for my private project. Problem: whenever I start building a pipeline project, it gives me ,,Docker is not found'' error whenever I try to work around this by ...
0
votes
0answers
4 views

Azure Pipelines with Bitbucket “unresolved user”

I'm using Azure Pipelines to build a Node.JS project hosted in Bitbucket. I've enabled continuous integration and everything works fine, except for the fact that Azure doesn't recognise the Bitbucket ...
1
vote
2answers
25 views

How to deploy a ZIP or WAR equivalent (built locally via npm)?

I use NPM to build my web project, and it does so nicely to a little ZIP file. Keeps everything nice and light, and I can easily keep bloat down. My current process is to use an FTP client (Win SCP), ...
0
votes
0answers
7 views

Exclude sub .vcxproj from .sln when using Azure pipelines CI tool

Following is my azure-pipelines.yml. It's a generic one for Visual Studio (Windows) project that triggers on master and trying to build the main .sln file. The problem is that I have three sub ....
0
votes
1answer
12 views

Deploy to GKE from CI server outside of cluster

I'm setting up our CI (Jenkins pipeline) to deploy apps to a GKE cluster. Our Jenkins sever is running external to GKE or any Google Cloud infrastructure. I'm thinking of using a docker image with ...
1
vote
0answers
29 views

Read webhook payload in Gitlab CI

I have a project (PROJECT_A) that is triggered through a webhook, and expects the variable $PRODUCT to be set. Its value is used to trigger a certain path in the build. The job in the .gitlab-ci.yml ...
2
votes
1answer
34 views

How to deal with untested features in the develop branch before deployment?

Our current software deployment lifecycle looks like this (using git-flow); We test locally or on a development environment. We submit a pull-request to merge the feature into the develop branch Our ...
0
votes
1answer
16 views

In Azure Devops and TFS, is it possible to create a build artifact and release definition in a different collection than the original code repository?

I have code repo held in Collection 1 and, using this code repo, I am trying to create a Build artifact and Release definition in a different Collection 2. Is this even possible?
8
votes
3answers
67 views

Should developer wait for CI pipeline to complete or start next task after pushing

My company is integrating CI/CD, so far we have implemented CI from what I understand. Currently when a developer pushes code to our git repo, the CI pipeline runs. Currently our CI pipeline include ...
0
votes
2answers
50 views

Automate creation of branch + pull-request

I have a repository (call it repo-X) of shell.nix files that define development environments for a number of separate projects (call them project-A, project-B). When one of the projects releases a ...
0
votes
0answers
11 views

Splunk indexing

How is Splunk able to create unique indexes for every data even though there can be many indexers in the scenario. I suppose that Splunk use that indexes after for faster search time so those indexes ...
0
votes
1answer
14 views

One time database update process as part of applying a patch

I have a PostgreSQL database that requires a server side script to be executed (client prefers php) to: Perform some intelligent data modifications to records that will be identified only during the ...
0
votes
1answer
24 views

GitHub merge access

I am trying to create a GitHub workflow (not GitHub flow), where specific people will have merge only access to a branch in repo. I tried a few things, and I found that I can restrict users to read ...
0
votes
1answer
61 views

Is it possible to have multiple gitlab-ci files in a single repo?

I have a single repo handling integration tests for 4 different software projects. As those projects share common resources, I'd like to create a generic file in which all those common features are ...
0
votes
0answers
32 views

Jenkins | How to trim (or preferably customise) the console output content that is sent as email content post execution of a build?

I have configured email notification on my jenkins build which triggers email post every build to recipients with the console output content as the email content. Currently it looks something like ...
1
vote
2answers
40 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
0answers
28 views

How to integrate CI with federated AWS IAM roles?

Imagine a multi tenant environment using a CI (e.g. GitLab but can be any other) and AWS as a backend for test infrastructure. With fixed users, it is easy: save credentials as secrets. But what if ...
0
votes
0answers
22 views

azure blob storage host spa/ code change without downtime

I would like to setup my CI/CD workflow to deploy to azure storage. I can do this easily: az storage blob upload-batch --source out/build --destination $container_name --account-key $...
1
vote
2answers
26 views

Can a 5 US $ VPSE support VAD stack with 2 relatively-small CMSs?

I'm new to DevOps and quite troubled financially but I desire to put websites that I now host on a shared server environment (CetnOS 12.x.x) on some cloud like DigitalOcean or Lindoe (but without ...
0
votes
0answers
17 views

Retaining temporary job side containers with GitLab runner

If you run a specific GitLab runner (i.e. a CI build agent) as a Docker container, it would spawn temporary side containers and remove them after job exits. Is there a way to tell the runner to ...
-1
votes
1answer
26 views

VAD (Vagrant-Ansible-Docker) stack for Ubuntu and Apache

I'm having trouble establishing a Ubuntu-LAMP environment with continuous integration - I feel lost from the different solutions out there and time and again I fear that my vanilla-Bash Ubuntu-LAMP ...
0
votes
1answer
42 views

Push specific changes (defect fix) and not feature changes

I am new to DevOps. I am using Jenkins and GitHub for salesforce deployment. Setup We have a develop branch. Feature branches are created out of it. When merged to develop, the deployment to the ...
1
vote
0answers
22 views

How to manage Pull request or branch environment databases?

As an organisation we are (finally) moving to a good CI/CD setup. We use Github for development and now have a nice CI setup where we auto deploy specific tags to different environments. Now I want ...
2
votes
1answer
17 views

Dynamically change config files in c# Application based on environments(dev,QA,Prod) through Bamboo

I have a windows service written in .net c#. We have three different environments say dev, test and prod. I also have 3 different config files for 3 environments say devAppConfig , TestAppConfig and ...
0
votes
2answers
36 views

Change variable inside of project. Jenkins, docker, kubernetes

Because I am new in the DevOps, I don't know where I need to apply the changes to correctly run the project. The structure: Git → Jenkins → Docker build -> Kubernetes (deploy) Is it better to make ...
0
votes
0answers
10 views

Mocking CloudStack API

Is it anyhow possible to have a mock interface for the Apache Cloud Stack API? For example, in this bug report for Python Cloud Stack client I test an SSH key upload to CloudStack; a mock could help ...
0
votes
2answers
103 views

Fully enabled End to End CI/CD Solution

I've been working in the field of DevOps for some time now and have learned about some tools like Jenkins, Docker, Kubernetes, Puppet, Artifactory, etc.. Although I know where each of these tools ...
0
votes
0answers
148 views

Angular Environments and Build Once - Deploy Anywhere

What is your approach to building and deploying Angular applications? If you would to follow the Angular guidelines you will need to define multiple environment.{Env_Name}.ts files which will be ...
0
votes
0answers
53 views

Universal CICD Pipeline?

I have multiple Node.js projects in Gitlab. They all use the same exact CI/CD pipeline. Therefore, I have X number of the same exact .gitlab-ci files. That being said, is there a way to get rid of ...
-1
votes
1answer
207 views

Jenkins executes Selenium test in headless mode while use `Jenkins as Service`

I have recently installed the Jenkins on Windows 10 Machine (Jenkins as Service) and configured one Maven Project (Selenium project which open chrome browser and executes some testcase). If i build ...
0
votes
0answers
18 views

How to FTP Directly from 3rdPartyHostingServer to ClountStack like GitLab, GitHub, AWS,etc?

I am working on a Web App. I am facing an issue with DevOps environment and looking for a solution for the same. My local machine is Win10 machine. I have my code on a 3rdParty Hosting Server(e.g ...
3
votes
1answer
54 views

When to get rid of '-SNAPSHOT'

I'm working on a Git workflow (not git-flow) for a Java project that uses Maven and Artifactory for artifact storage. On develop and feature/* branches the version number contains '-SNAPSHOT'. It is ...
1
vote
1answer
70 views

Jenkins slave not able to find dotnet

When I check for dotnet version it is throwing an error D:\jenkins\workspace\csharp-windows-test>dotnet --version 17:58:06 System.ArgumentNullException: Value cannot be null. 17:58:06 Parameter ...
-1
votes
1answer
77 views

CD (Continuous Deployment) best practices for managing configuration [duplicate]

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 ...
0
votes
0answers
19 views

Jenkins Custom Configxml

I'm building a custom Jenkins docker images , so I need some custom configuration at config.xml of Jenkins master . For example ; <docker-registry-url> <url>https://registry....
2
votes
1answer
263 views

obtaining token to register a gitlab runner

I have a gitlab repository. I want to add a runner to it. I was able to install it,with the instruction here without docker (step 3). Now I have to register it according to the instructions here. In ...
3
votes
1answer
595 views

Jenkins Job vs Jenkins Pipeline

BACKGROUND : We have one Selenium automation project which is shared in BitBucket repository. Project is maven project. we have 10 testng.xml files for all modules OVERVIEW: Now we want to trigger ...
1
vote
1answer
87 views

Jenkins Node Image at Kubernetes Plugin

I'm working on huge pipeline with different development environment (python, node, java). For manage this CI pipeline our teams using Jenkins at Kubernetes environment. I want to give PipeLine node ...
0
votes
1answer
38 views

Advice needed - automate everything or only new/current projects

I watched Klaus Ita Keynote on FreeCodeCamp YouTube channel about devops and got inspired. In previous job we had very good deployment system. We begun with Jenkins and pulling source from SVN, and ...
2
votes
2answers
241 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
0answers
84 views

Should CDN upload be part of my Docker build?

I've set up a Docker container that builds and executes a web application. That container gets built on a CI as a service, then pushed to a private Docker registry to be run from my servers. I want ...
2
votes
1answer
303 views

Should I run CI on merge state or HEAD of branch in a PR?

I'm using Jenkins Pipeline with Github for our CI purposes and I'm trying to think what the strategy should be for what is checked out to run. Jenkins provides three options when discovering pull ...
-2
votes
1answer
79 views

CI environment being annoyed by DNS system

Our continuous integration environment is suffering from an entry in one of the DNS servers. So now and then ci-system.example.com resolves to a certain static IP. Normally an artifact is downloaded ...
7
votes
3answers
156 views

What's a good devops approach for a single developer writing python web applications?

I'm guessing this question will seem incredibly trivial for some readers, but as someone who is a developer but with little experience of deploying apps in anything other than a manual, hit and hope ...
2
votes
0answers
104 views

Halt execution of Bamboo build or deploy, without throwing an exception

This seems so trivial, I am almost shy to ask... Depending on certain conditions, which I am able to check by looking at Bamboo variables, I sometimes want to just stop the execution of a build and/or ...
0
votes
1answer
58 views

How do I achieve Continuous Integration and Continuous Delivery (Ci-Cd) via JMeter?

I have prepared the JMeter test script for my project and it tests (both functionally and performance wise) various Rest Apis. I have even coupled it with Jenkins on my local machine and also ...
1
vote
0answers
102 views

Continuous integration azure slow or fails

Two weeks ago the deployment time for my Azure Bots started to be totally atypical Before it was running between 2-4 minutes max. but since then it takes more than 30mins or most of the times ...
0
votes
0answers
77 views

A way to convert between bamboo and jenkins pipeline codes

Is there any format, and/or converter to move pipelines between these two CI systems?
1
vote
1answer
138 views

CI/CD free for hobby side projects. Jenkins on Heroku as alternative, with ephemeral dyno

I have four side projects which are my hobby (NOT A JOB! NOT A WORK!). I work on that at night, when I have time and when I want to. All projects are javascript backend and frontend. Just ...
2
votes
1answer
110 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 ...