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
6 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
1answer
13 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
53 views

Is ArchLinux + Ansible for an all-default LAMP generally stable?

I usually establish IaaS LAMP environments with non rolling-release Linux OSs such as Ubuntu/CentOS but I consider using rolling-release ones like ArchLinux instead. it might be more efficient to me (...
1
vote
0answers
24 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
12 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 $...
0
votes
1answer
14 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
12 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 ...
0
votes
1answer
21 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
33 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
21 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
14 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
27 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
96 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
58 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
31 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
121 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
14 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
52 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
44 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
45 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
16 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
78 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
203 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
62 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
36 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
210 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
63 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
178 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
74 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 ...
6
votes
3answers
147 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
66 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
47 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
90 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
58 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
115 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
99 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 ...
2
votes
2answers
531 views

Enabling Github webhooks for multibranch jobs?

I'm setting up a CI scheme for a few projects, on Jenkins, using the multibranch plugin. Everything is working pretty nicely, but the obsessive in me always wants a bit more. Current situation: The ...
1
vote
0answers
82 views

How Can I Easily View Build Artifacts From AWS CodePipeline / CodeBuild?

I'm creating a project with the nodejs + AWS Lambda + express template in AWS CodeStar, and I'm using CodePipeline and CodeBuild to build and deploy the project. It also runs tests, and it would be ...
3
votes
2answers
56 views

Deploy two independently hosted services in production at once without any downtime

I have two different services. Let's say Service A and Service B. Service B is dependent on Service A. Both code bases are hosted in separate repo in Bitbucket and code bases are maintained by ...
4
votes
2answers
62 views

How to avoid the flakyness that comes with “gpg --recv-key”?

If you want to verify a signature of a downloaded file with gpg, you first have to import the key. Unfortunately, this operation is extremely slow and flaky in practice. For example, here I tried it ...
2
votes
0answers
320 views

Configuration of AWS CodePipeline for Android CI/CD

I'm trying to set up a basic CI/CD pipeline for an Android project using AWS CodePipeline and I have 3 steps in the pipeline as follows: Source: Pull project from GitHub repo Build: Build the android ...
2
votes
0answers
44 views

What integration test framework has the best docker support?

We need integration testing framework - pass a url pass requests to that url and get responses and evaluate repsonses. Requirements: 1. We want a tool that can easily implement into a CICD pipeline ...
5
votes
3answers
2k views

How to tag source code using gitlabCI

We got gitlab new to our environment and trying to create some CI CD pipelines using gitlab CI. I have got some better progress with running some maven goals, creating pipelines and archiving ...
0
votes
2answers
919 views

How to use Jenkins Pipeline and choose triggers for email notifications?

Before Pipeline, I used Email-ext plugin to define triggers for sending emails (on first failure, and when back to success). But in the Pipeline version, I can't control the triggers, I can only "...
0
votes
0answers
80 views

CircleCI Workflow didn't show up when trigger's been defined

In the config.yml, I have one job "build" and one workflow "testprod", in which I'd like to run the job "build" every minute. That's what my config.yml looks like: version: 2 jobs: build: ... ...
0
votes
0answers
23 views

Strip pre-release text from nuget package

I have a CI environment for a DLL. On code check in, it automatically builds and publish's with a version such as 1.0.0-dev01. Once it is QA approved I don't want to rebuild this DLL with a new ...
2
votes
0answers
45 views

Secrets management [closed]

I got three questions about secrets management: 1)When your micro service in production needs a secret, where is the secret stored and retrieved from? 2)How do you change a secret that half of your ...
5
votes
1answer
122 views

Does Immutable Servers imply no source code updates on the servers?

So once an Immutable Server is in place, nothing should change at all. Or is it only configuration. Are source code updates acceptable on Immutable Servers?
1
vote
1answer
93 views

Automated patching of docker images

Docker and other container images have become important building blocks especially for software production pipelines. Unfortunately, several researchers (e.g. BanyanOps) have shown how vulnerable ...