Stack Exchange Network

Stack Exchange network consists of 175 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]

The tag has no usage guidance.

0
votes
0answers
24 views

How to make custom docker image for Gitlab CI

I have CI on Gitlab for creating of my android application. This is example of my .gitlab-ci.yml: image: openjdk:8-jdk variables: ANDROID_COMPILE_SDK: "28" ANDROID_BUILD_TOOLS: "28.0.2" ...
1
vote
1answer
65 views

Jenkins Pipeline: Using Env Var in another Env Var declaration

I would like to make my long "ssh" command reusable as a simple variable throughout my pipeline. To do this, it would be nice to declare my hostname in a var, then use that var in another var ...
0
votes
0answers
29 views

Integrating ClearPass with Juniper Networks SRX

I am trying to get data through ClearPass to SRX, the SRX refuse any data that contains special character like for example {@}. It gives an error in the managert.txt {EntityRef: expecting ';'} Any ...
2
votes
2answers
177 views

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

How to use “sudo” for installing an app on gitlab.com for CI?

I have a project at gitlab. I'm setting up Continious Integration for it. I need to install sphinx search engine and it requires sudo. - http://sphinxsearch.com/files/sphinx-3.0.3-facc3fb-linux-amd64....
0
votes
0answers
190 views

CircleCI deploy to AWS EC2

I have/want a workflow like so: Push branch to Bitbucket Pull request branch into Master in Bitbucket This triggers CircleCI to do a build CircleCI deploys the successful build to AWS EC2 instance I ...
0
votes
0answers
729 views

Gitlab Runner installation Docker in Docker

Alright, so I am trying to install, register and successfully use a Gitlab Runner as a container in docker with the executor docker, basically docker in docker. I had some problems with it but was ...
2
votes
1answer
220 views

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 ...
4
votes
1answer
163 views

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

Set up database for integration testing with Jenkins in Docker

Background: I was following Downloading and running Jenkins in Docker to setup Jenkins Server. Used following parameter to run Docker. docker run \ -u root \ --rm \ -d \ -p 8080:8080 \ -...
0
votes
1answer
122 views

dockerized jenkins failed building dockerfile work dir issue

I have a jenkins container and a pipeline which consist of building docker images. I have mounted the necessary mounts (/var/run/docker.sock, /var/run) for jenkins to use docker commands. I also bind ...
1
vote
1answer
105 views

Docker Stack Deploy Does Not Work

i am trying to deploy a stack to my docker swarm but it does not work. i call the command sudo docker stack deploy -c docker-compose.yml server-test but it gives me the error unsupported Compose ...
0
votes
1answer
66 views

How to set a dynamic path for output artifact from aws_codebuild_project in Terraform?

I am trying to set up an AWS CodeBuild project in Terraform: resource "aws_codebuild_project" "example" { name = "test-project" description = "test_codebuild_project" build_timeout = ...
2
votes
1answer
54 views

How to do continuous delivery with Kubernetes?

I am trying to run Kubernetes namespace setup and application deployment as part of a pipeline. Normally "apply" commands work with idempotency. Now, if I change a ConfigMap, the pods need to be ...
0
votes
1answer
516 views

Docker login from GitLab CI without possibility to access Docker registry password from .gitlab-ci.yaml?

I'm trying to set up a CI environment to build and push a Docker image for a project. The Docker registry I'm trying to push to is a private registry that requires me to log in. I can log in to the ...
2
votes
1answer
935 views

How to reset Jenkins to its factory settings?

I have installed Jenkins on my Red Hat server following this tutorial. But by mistake I skipped the default plugins part. I tried deleting /var/lib/jenkins/config.xml but this file getting created ...
0
votes
0answers
15 views

Continuous Delivery - Visual Studio Team Services - Security

I have a VPS as my web server running Windows 2012 r2. I am trying to set up Continuous Delivery for my apps using the Visual Studio Team Services hosted solution. One of the requirements for ...
0
votes
0answers
13 views

Is it a better practice to use 'docker build' or 'docker run' to generate artifacts in CI

Im currently doing some cleanup and refactoring of an open source project’s ci system (this one). Our setup is likely quite a common one; we have Dockerfiles which create an image that contains our ...
1
vote
1answer
1k views

how to set the image volume in gitlab-runner with docker executor

Okay, so I've researched all over for this and can't seem to find a definitive answer. I want to know how gitlab-runner docker executor sets the volumes for the image. I see from the second URL I ...
0
votes
2answers
33 views

Linux host configuration for continuous deployment?

We are in the process of setting up a host for continuous deployment. Each application runs under its own user account. Currently the approach we are looking at is simply allowing the continuous ...
1
vote
0answers
152 views

How to auto deploy to Flynn using Travis CI?

I tried to do as the instructions here: https://blog.evantahler.com/deploying-to-flynn-from-travis-ci-d28f73e3ac99 but it does not seem to work. I get this error: server certificate verification ...
0
votes
1answer
2k views

Output is truncated in Jenkins job when launching PowerShell script remotely using psexec

I've created a job in Jenkins to launch a small powershell script on a remote machine using psexec. In my build step, I'm using the powershell plugin and launching the below command: & "$env:...
0
votes
1answer
62 views

Jenkins job get exclusivity on an agent (Slave)?

Currently I use the EC2 plugin with Jenkins, so when it needs more agents (slaves) it starts them up (or kills them when not needed). Up till now the agents have been configured with 2 job slots which ...
0
votes
1answer
637 views

Restart tomcat using gitlab-runner

I have .gitlab-ci.yml configuration with: deploy-integration: stage: deploy script: - cp target/example.war /var/webapps - service tomcat7 restart But execution wasn't successful because ...
0
votes
0answers
33 views

How to manage publishing maven settings.xml with artifact repository, mirror and proxy details to CI servers?

Is there an automated process I can rely on, as an organisation's artifact repository / proxy manager, to publish configuration updates to dependent continous integration servers and developers? For ...
2
votes
0answers
143 views

How to continous build versioned Docker images

I have a PHP project on GitHub for which I would like to build versioned Docker images. Kinda like CoreOS Container Linux does with their alpha, beta and stable release channels. For development I ...
0
votes
1answer
36 views

Github CI/CD/Branching to external server?

We have a repo in a strict development environment and private webserver residing in /var/www/dev/repo. We want any branches that are created to automatically be created and added to /var/www/branches/...
1
vote
2answers
456 views

Gitlab runner in docker with docker executor

I want to run Gitlab CI Runner in a docker container while also using the docker executor to run my builds in their own docker containers, all of that on top of CoreOS. Is this even possible? Every ...
6
votes
1answer
3k views

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 ...
-3
votes
2answers
378 views

Azure: How to reach my Ubuntu server in the Browser?

I have created an Ubuntu server on Azure and installed GoCD, a continuous delivery software, on it via PuTTY. Usually, when GoCD is installed locally, it can be reached via http://localhost:8153/go (...
2
votes
1answer
600 views

How to launch multiple AWS EC2 machines on Jenkins?

I am using the EC2 plugin in Jenkins (https://wiki.jenkins-ci.org/display/JENKINS/Amazon+EC2+Plugin) for using AWS services. As of now, a job which uses this cloud label spins up a single EC2 ...
1
vote
1answer
60 views

Can the Docker FROM version include variables?

I suspect the answer to this question is no as the FROM command comes first in the file (before any ENV statements), but can you parameterize the version of the base image that a docker container is ...
0
votes
1answer
71 views

Multi-stage CI monitoring or how can I split the deployment steps into controllable chunks

First of all, I am not looking for a product recommendation (well, I am, but it's more like me looking for a solution to a problem and not trying to pick something from an existing list) The ...
0
votes
1answer
75 views

How to configure jenkins on ec2 to run whenever there's a new build in my project repository

I wanna set a jenkins CI for the first time in a linux EC2 (I'm working from windows). My jobs are in maven. The thing is: how do I set jenkins to detect whenever there's a new build in my remote ec2 ...
1
vote
0answers
47 views

Remodelling old backend architecture to use Docker and CI

I'm currently running a backend in production and want to change our current setup to use Docker for deployment and a CI tool for testing. Right now I have a BitBucket repository with the two main ...
1
vote
2answers
643 views

GitLab runner runs first two commands and says “build succeeded”

I'm using GitLab's "CI Multi-Runner", which I have installed on Windows 2012 R2 instance. Builds start correctly and begin to run, but the build is marked as complete before it even runs my entire ...
1
vote
2answers
109 views

TravisCI not uploading files created with grunt

Below is my .travis.yml, I'm using grunt to compile my sass, and minimize js and images which seem to work fine, however none of those files get deployed to Elastic Beanstalk. I added skip_cleanup: ...
2
votes
2answers
411 views

Is there an equivalent for docker testing something like tox for Python?

tox allows you to test your code against different versions of Python. Is there something out there similar to tox that allows me to test my deployment code against different version of a distribution ...
12
votes
2answers
17k views

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 ...
3
votes
2answers
1k views

Jenkins build watch for new branches and build named branch

I'd like to configure a single Jenkins build ("job") which will both: watch for new branches and build them when they appear build a named branch or commit on request I can achieve (1) by setting "...
2
votes
1answer
1k views

How can I get Azure to use an SSH key when doing a node.js deploy via git?

I'm deploying a node.js app to Azure Web Services using git from my local machine via: git push azure master One of our npm packages is a private repo hosted on BitBucket. Without Azure having an SSH ...
1
vote
0answers
2k views

Cannot connect with slave from Jenkins master. Connection broken

I have setup one Jenkins Master (CentOS 7), and one node on which my project is running (dev environment, Windows 7). My project requirement is Java 1.6. On my Windows 7 and Java 1.7 machine, I can ...
1
vote
1answer
54 views

Is it possible to set up environment variables to be imported into every docker container

In a CI environment, I want to pass credentials for reaching authenticating to our internal Gems server into docker containers being started within CI jobs. I would like to be able to configure the ...
9
votes
1answer
3k views

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 ....
3
votes
1answer
1k views

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 ...
1
vote
2answers
889 views

Attempting to restart tomcat 8 with gitlab-runner, pid file created, log empty, server not started

I am trying to restart my tomcat 8 server after deployment. Setup: gitlab-runner runs with its own user (called gitlab-runner) tomcat uses its own user called tomcat sudoers has an entry so that ...
2
votes
1answer
88 views

Setting temporary check_interval on Nagios service check

Does anyone know if Nagios has an option to set a temporary check_interval setting on a service check and have it revert back after a X minutes? My service check definition looks like this: define ...
1
vote
0answers
367 views

Continuous Integration runner has access to production server

I am working on setting up CI for a product. I am using an in-house Gitlab server with Gitlab CI managing the tests and deployment of the project. Deploying the project is not as simple as syncing ...
2
votes
1answer
2k views

How to transparently cache git clone?

I would like to offer a continuous integration service (I'm planning to use hudson, but the solution should work for others as well) with a web interface where a user will define a SCM URL (e.g. a git ...
0
votes
2answers
261 views

binding issues with multiple web services

We are running a continuous integration server with the following software: Windows Server 2012 (AWS EC2 Instance) TeamCity 9.0.3 Youtrack 6.0 Collabnet Subversion Edge 4.0.14-4110.144 Octopus Deploy ...