Questions tagged [continuous-integration]

Continuous integration (CI) is the software engineering practice of integrating code continuously and frequently rather than wait for changes to accumulate causing code conflicts to accumulate. Usually these changes are verified automatically using build and test processes.

135 questions
12
votes
2 answers

Gitlab CI - Deploy via SSH to remote server

I have a Gitlab environment using Gitlab CI, for a new project to testify about the compiled files and copy via rsync to a production server. The machine where the build of these resources is exec is an image of docker (node 6), but now I have to…
Rodrigo Moreno
  • 243
  • 1
  • 2
  • 11
12
votes
6 answers

What's the fastest filesystem for developer builds?

I'm putting together a Linux box that will act as a continuous integration build server; we'll mostly build Java stuff, but I think this question applies to any compiled language. What filesystem and configuration settings should I use? (For…
10
votes
1 answer

Tomcat Parallel Deployment, automatically undeploy old applications

I've been using Tomcat 8's Parallel Deployment as part of a zero-downtime continuous deployment setup for a while now. When the test gauntlet has been run, the CI server automatically renames the .war file to application##{version-number}.war and…
Martin Cron
  • 203
  • 2
  • 6
10
votes
3 answers

Triggering Jenkins build for merge request from GitLab web hook

I want Jenkins (1.561) to build merge (pull) requests submitted to GitLab (6.7.5), triggered by a merge request web hook. I have a parameterised build, and the Jenkins plugins "GitLab Merge Request Builder" (1.2.0) and "GitLab Hook" (1.0.0).…
Martin Lehmann
  • 201
  • 1
  • 2
  • 6
10
votes
4 answers

Effective way to ensure "clean slate system" for continuous integration service

We want to set up a continuous integration (CI) service for our project. That CI service should control all aspects of the project life, including deployment. That is, we want a CI agent at each iteration to take a clean system (specifically Ubuntu…
Alexander Gladysh
  • 2,343
  • 7
  • 30
  • 47
9
votes
1 answer

Gitlab-ci deployment without Docker for nodeJs applicaiton?

Is it possible to implement gitlab ci workflow without using any docker image? all the examples i see for gitlab runner are based on docker only. Even for production deployment. How can I implement gitlab-ci and deployment process on my existing…
gaurang171
  • 191
  • 1
  • 2
9
votes
1 answer

Unable to access Jenkins server

I'm trying to install Jenkins on my web server, which is an Ubuntu 13.10 server running on an Amazon EC2 instance. I've restarted Jenkins using sudo /etc/init.d/jenkins restart When I check my processes with ps aux | grep jenkins I can see…
Josef van Niekerk
  • 501
  • 4
  • 8
  • 15
7
votes
3 answers

Salt State Testing via Jenkins

All, We're trying to have automated tests in our Jenkins setup to run "smoke" and "lint" type of tests in our salt state files (.sls). All google-foo so far has yielded very little information. There is a way to test via test=True in the command…
7
votes
3 answers

executing RSYNC command in jenkins

I'm trying to deploy my code to a remote server. So far I've tried Publish over SSH Plugin: the problem is that I'm unable to keep file permissions Rsync command: this keeps the file permissions, but the problem is that I don't know how to set the…
JAT2007
  • 201
  • 1
  • 2
  • 8
5
votes
3 answers

Is it possible to populate an S3 bucket through a CloudFormation template?

I need to store some files for my CF template (GraphQL schema, Lambda source, etc) into an S3 bucket that will also (hopefully) be defined in the same template, as that seems to be the only way outside of dropping the contents directly into the…
5
votes
1 answer

Credentials management within CI/CD environment

Setup: I have an application that I currently deploy manually on a server. It requires several credentials (client secrets of external services, tokens, and AES keys and IVs etc.) that I currently have stored in a file encrypted with gpg. Whenever I…
user8472
  • 140
  • 1
  • 11
5
votes
1 answer

MSBuild failing on build looking for older version of Microsoft.Data.Tools.Schema.Sql

After installing and configuring a build server for 2012, I tried to do an azure continuous deployment. I have TFS2012 installed. A build controller and a single agent on the server. Connecting to cloud TFS2012. I also use Azure websites in this…
5
votes
2 answers

Optimal way to build and deploy a website as a .deb package

I've been battling with deploying (mainly PHP) websites as .deb files for some time and wonder if there's a better way than my rather convoluted method. My goal is continuous integration on my staging server and one-click deploys to the live server…
DanForys
  • 51
  • 1
  • 3
4
votes
2 answers

Deploying as service account (using `gcloud app deploy`) gives “API [appengine.googleapis.com] not enabled on project [%id%].”

I am struggling to make automated deployment using a service account work. First I created a new service account and now I am using a default %my-project-name%@appspot.gserviceaccount.com because presumably App Engine instances run under this…
4
votes
1 answer

How do I configure a WinRM jump host for use with Ansible?

How do I configure a jump host to access Windows servers that I have no direct access to? The Ansible documentation explains how to do this for Linux but doesn't mention how to achieve something similar when using WinRM against Windows servers.
Pedro
  • 607
  • 2
  • 9
  • 19
1
2 3
8 9