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.

1
vote
1answer
22 views

CI platforms versus simple git hooks

Newbie to devops here and apologies this is probably a stupid question, but, what is the point of CI platforms? It seems to me that just by using git hooks I can automatically run all my unit tests ...
0
votes
2answers
18 views

Unable to parse YAML: mapping values are not allowed here

Good morning. I'm migrating from Gitlab to CircleCI and try to map out a simple pipeline ("workflow") that basically should look like this: [build] -> [tests] -> [release*] * only on tags I ...
0
votes
0answers
17 views

Deploy desktop application in Azure DevOps

I'm using Azure DevOps and I need a way to release an internal desktop application. Right now I have a pipeline ready and generating artifacts, but I don't see anywhere in the documentation how can I ...
3
votes
1answer
32 views

Building a CI/CD pipeline on GCP

I have a containerized web application on GitHub and I would like to build a CI/CD pipeline on GCP consisting of a trigger stage, a build stage and a deployment stage and be able to do continuous ...
0
votes
0answers
11 views

How to send Rocket.Chat notifications when Concourse jobs fail

I have found the below tutorial for sending Slack notifications when Concourse jobs fail: https://concoursetutorial.com/miscellaneous/slack-notifications/ Does anyone have any experience using ...
0
votes
0answers
4 views

How to remove the --config ***** option on Jenkins with mercurial plugin?

I am trying to pull a mercurial repo with Jenkins and using the mercurial plugin. I know I can access the mercurial server normally, and found that the issue is the --config ***** in the command. I ...
0
votes
0answers
12 views

GitHub and Travis integration broke down for a branch

I have a branch on Github connected to a pull request. The branch can merge to master only when the tests pass on a Travis build. Today, the connection between Travis and Github broke down for the ...
0
votes
3answers
37 views

How to deploy Node app via Jenkins to Ubuntu(18.04)?

I'm a very beginner in Jenkins and afraid that I ask you something not clear with a weird question. I'd like to deploy my simple node app server to Ubuntu via Jenkins. I tried to write a command in ...
0
votes
0answers
25 views

In Azure Devops, is it possible to pass an argument that is variable on the source environment?

I am trying to create a Task Group that can be used interchangeably between Build and Release pipelines. However, I am having an issue passing one of the arguments to my Powershell Task Group. The ...
0
votes
0answers
14 views

TeamCity HTTP Request in the context of Kotlin DSL

Is it possible to do an http get request inside the settings.kts file used to implement your TeamCity configuration with Kotlin ? If it is possible, how is it achievable ? If it is not, what are ...
0
votes
1answer
25 views

Is there a [ci skip] option in GitLab CI?

I'm debugging the use of a report creator. I forgot a line and would like to edit the code without triggering the build pipeline. I know that it's possible to write [ci skip] in the commit pipeline ...
1
vote
2answers
165 views

Jenkins Shared lib not working properly

Recently I tried to add Shared Libraries to my Jenkins instance to make it easier to maintain all code that runs in each project. I have a repo myorg/jenkins Inside of it I have Jenkinsfile and ...
0
votes
4answers
74 views

How is Continuous Integration different from using git to integrate external code?

I have a conceptual doubt about CI using Jenkins. I know Jenkins can help me to integrate all code built by developers. So the question is: How is this not already resolved with Github (or any other ...
0
votes
3answers
54 views

How to avoid build scripts duplication

Let's say you've got several code repositories on GitHub. You want to build, test and deploy them. You picked a continuous integration service (e.g. Travis CI, AppVeyor or something else) and wrote ...
1
vote
0answers
50 views

How to use shared runner (dind) for build stage and runner with shell executor on my server for deploy stage?

I want to do the build of my image on a shared runner and build it on gitlab registry. then I want to pull that image, on my server using the runner on my server using shell executor. but I face a ...
2
votes
3answers
88 views

What are the best practices of merging dev to master?

We have 2 branches (master/dev) + some feature branches and 2 environments (production/dev). Our team is a very small people. What are the best practices of merging dev to master? Every morning? ...
6
votes
2answers
81 views

How should CI/CD deploy to production environment - copy artifacts or git pull from the server?

We have an internal CI/CD server running private GitLab. It has the source code of our NodeJS project. We would like to run CI/CD and have it deploys to our on-premises production server. (Let's ...
1
vote
0answers
10 views

How can I test native macOS UI software in a container before deployment?

As part of the CI setup, I'd like to run (automated) tests on native macOS GUI software in a 'safe environment' (i.e. without messing with the host software installation too much). Virtual machines (...
0
votes
2answers
61 views

What is the cheapest way to get CI for a Qt project?

To build up my portfolio I'm writing an application to showcase all the best practices I'm aware of, including unit tests and continuous integration. The project was originally started in C++, and I ...
0
votes
0answers
7 views

Build an iPhone app created with React Native

Is a Mac mandatory to build an iPhone app written in React Native? If no, what are alternative ways? (like a container?!) If yes, is there a backward compatibility matrix how old can a Mac be to ...
0
votes
1answer
37 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
56 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
36 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
24 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
81 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
76 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
73 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
2answers
45 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?
7
votes
3answers
77 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
74 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
15 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
15 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
28 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
791 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
231 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
49 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
42 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
32 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
28 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
26 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
36 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
24 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 ...
1
vote
1answer
23 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
43 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
120 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
236 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
94 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
524 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 ...