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.
Questions tagged [continuous-integration]
136 questions
1
vote
1 answer
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 file version: 2
but when i run docker-compose up, it…

X0r0N
- 245
- 1
- 3
- 7
1
vote
1 answer
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 posted you can put the directory on the host to be…

Caperneoignis
- 111
- 1
- 6
1
vote
0 answers
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 failed. CAfile: /etc/ssl/certs/ca-certificates.crt…

rablentain
- 111
- 3
1
vote
1 answer
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:SCRIPTROOT\test_psexec.ps1" -Username $env:USERNAME…

Jeff Coe
- 187
- 2
- 6
1
vote
2 answers
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 documentation I've found so far assumes that Gitlab…

selfawaresoup
- 121
- 5
1
vote
1 answer
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 created from?
e.g.
FROM…

natke
- 123
- 6
1
vote
0 answers
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 branches "develop" and "master", and two separate…

bladebytes
- 111
- 3
1
vote
2 answers
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 script.
.gitlab-ci.yml
build_web:
script:
- cd…

Josh M.
- 679
- 1
- 10
- 21
1
vote
2 answers
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: true which according to the docs should fix this…

Stefan
- 141
- 1
- 6
1
vote
0 answers
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 connect with manage jenkins -> mng node.
When I run…

user334998
- 11
- 1
- 2
1
vote
1 answer
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 docker daemon to always fetch the variable from the…

dustyburwell
- 121
- 1
- 3
1
vote
2 answers
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 gitlab-runner can run a script:
gitlab-runner…

wjentner
- 113
- 7
1
vote
0 answers
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 the files. It needs to be built, checked for…

Eldamir
- 179
- 1
- 10
1
vote
2 answers
Why would azure be restarting website when I do a deployment slot swap?
I've a .net 4.5 website running on Azure Websites. I've a staging deployment set up. I warm up both sites and then I run the swap process (both from azure portal and from Azure powershell). No matter what I try, the swapping process would restarts…

richardwhatever
- 111
- 4
1
vote
1 answer
Azure Use Auto-Deployment from Bitbucket and My Local Git Concurrently?
it is possible that an Azure website even after being configured to use Bitbucket for automated deployment, can still accept updated triggered manually if it previously had a git (SCM) repository exposed?
Am asking because of late, much as I hadn't…

JWL
- 185
- 1
- 2
- 8