Questions tagged [continuous-integration]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
791 views

Cloud Build: How to restrict when to build depending if a directory got modified?

I have a Cloud Build in GCP that pulls from github and builds images when a PR merges to master. However I would like to restrict builds to occur only when a particular folder gets modified. There is ...
0
votes
0answers
30 views

Automated tagging in Bitbucket Pipelines

Question. Is there any clean, well automated solution for releasing tags in Bitbucket Pipelines? History. We have been using GitHub Actions before. We loved it, but for various reasons, we had to ...
1
vote
0answers
88 views

Setup 2FA/MFA on Jenkins

I'm trying to find how to setup 2FA/MFA on users who login to Jenkins, with Google Authenticator. Everything I'm finding is about logins to servers/git/etc, but not for the actual USERS in Jenkins. ...
1
vote
0answers
15 views

Managing and installing packages for applications in a Windows Environment

I have been tasked with the mission to setup development pipelines in a predominant Windows environment, using mainly Devops Server 2019. I personally come from a strong Linux background, and been ...
0
votes
0answers
25 views

SAP and Azure Integration

Can anyone help me with some documentation of connection between SAP ERP and Azure. I found there are some articles on connecting to SAP HANA from Azure data factory, but the documentation is not very ...
1
vote
1answer
19 views

OS limits ignored by bamboo

Our developers wants bamboo because of integrations to other Atlassian software and we have regularly problems with this buildserver. Often the buildjobs fail with OutOfMemory exceptions like this: ...
1
vote
0answers
104 views

Gitlab CI/CD with conditional scripts

Here is what I wish to do in GitLab CI/CD: Whenever something is pushed into a specific branch I wish to have multiple scrips and CI/CD should decide which script should be run based on the pushed ...
0
votes
0answers
34 views

Do Azure App Service webhooks support the Event Grid ES validation process?

We reached the ACR webhook limit (100) and need a new mechanic for triggering container image pulls. Seems like Event Grid is the way to go as it has support for ACR but when we create the Event Grid ...
0
votes
1answer
714 views

Configure gitlab-ci.yml to run pytest in docker container on Gitlab CI

I have a Cookiecutter django project which uses Docker. I write my tests using pytest and I run my tests using docker-compose -f local.yml run django pytest. My local.yml file is in my root dir (where ...
2
votes
0answers
77 views

CircleCI cannot specify region to deploy to in GKE

I have been tying to update a deployment in a GKE cluster using CircleCI. I was able to make container build and upload to GCR work just fine. But I could not find a way to specify the GCP region ...
0
votes
0answers
2k views

Could not resolve hostname nodename nor servname provided, or not known only with rsync

I work with sensitive data, so my host requires that I use a bastion to access the server. I can connect to the server without any problem in SSH using the following command: ssh userremotemachine@...
0
votes
0answers
142 views

GoCD agent won´t start on CENTOS 7

Right now I'm working on automatization and integration, in my work place we use GoCd for integration, I got an agent version 19.6.0-9515 on a CENTOS 7 server, It was working great until today for ...
0
votes
0answers
47 views

Docker compose deployment downtime vs capistrano?

I know that it is rolling updates in swarm mode for zero downtime deployment. But for simple projects,I wonder if using docker-compose in production and using deployment from docs: $ docker-compose ...
0
votes
1answer
111 views

Cannot connect GitLab to GKE Cluster

I am trying to create a CI Pipeline for my GitLab project to deploy my microservices automatically on a Google Kubernetes Engine cluster. Sadly I am unable to use the build-In native Google Cloud ...
0
votes
0answers
35 views

How to configure, manage and automatically update application built on GCP on a network of 50 odd Ubuntu machines?

I want to manage a network of Ubuntu machines from GCP. These physical devices are at a different location. I will develop and build software using CI/CD with bitbucket, Jenkins, Maven, and Docker on ...
0
votes
0answers
117 views

Jenkins failing to load in linux Centos

Configured Jenkins, tried to change the port to: 5555 as 8080 is used by tomcat apache. Edited: vim /etc/sysconfig/jenkins and updated JENKINS_LISTEN_ADDRESS="0.0.0.0" AND JENKINS_ARGS="0.0.0.0" ...
0
votes
1answer
106 views

Deploy containerize project using Jenkins and Ansible

I have project running using several docker containers. Now I want to automate deployment using Jenkins (push triggers). I have three scenarios but I like none of them. here are these three different ...
0
votes
2answers
533 views

Jenkins behind corporate proxy

I have configured proxy settings for installing plugins in Jenkins. Please find the below image. But when i try to install plugins getting proxy error. Installing Plugins/Upgrades Preparation ...
1
vote
1answer
516 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
407 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 ...
4
votes
2answers
725 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
1k 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 ...
5
votes
3answers
2k 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 ...
5
votes
1answer
715 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 ...
1
vote
2answers
4k 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
494 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
264 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
278 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
98 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
846 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 ...
3
votes
4answers
5k 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 ...
1
vote
1answer
2k 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
34 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
167 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 ...
1
vote
1answer
3k 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
76 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
990 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
43 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
198 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
37 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
881 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 ...
8
votes
1answer
5k 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
599 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
798 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
62 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
78 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
105 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
49 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
870 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
148 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: ...