Skip to main content

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.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
11 views

Inquiry about retrieving created and assigned tasks in Google Chat

I hope this message finds you well. I am reaching out to request information about the possibility of retrieving specific tasks in Google Chat. In particular, I am interested in knowing if it is ...
Jorge Rosas's user avatar
0 votes
0 answers
26 views

TeamCity agents on burst EC2 instances

I am playing with TeamCity and I have a cloud agent profile setup to use an AMI in my account from a previous project (basic Linux machine) TC can launch a new instance when a build is queued but I ...
Mr Pablo's user avatar
  • 101
-1 votes
2 answers
95 views

Is there a free rocky linux monitoring tool? [closed]

I am currently looking for a tool to monitor the performance of two Rocky Linux desktop computers. It should monitor aspects such as the CPU, RAM, disk, and network usage (similar to the Windows Task ...
floriandev's user avatar
0 votes
0 answers
67 views

Jenkins in Docker sharing docker.sock

In order to set up a Jenkins CI pipeline, I run Jenkins in a Docker container, configured to build with Docker Cloud Agents. So, I have one container that runs the Jenkins master, and n containers ...
FueledByPizza's user avatar
1 vote
2 answers
146 views

How should databases be configured for different environments to not lose data

How to configure databases for development, staging and production environments so that there will be no any data loss. Many Applications such as Wordpress, Django, etc... use some database to store ...
zakadmin's user avatar
0 votes
1 answer
190 views

Cannot execute nested command on remote host over ssh tunnel

Im running the following command in my GitLab CI job: ssh ${REMOTE_HOST} "docker restart $(docker ps --format '{{.Names}}' | grep '^backend')" The problem is that it returns me the ...
Milkncookiez's user avatar
0 votes
0 answers
214 views

Continous delivery using Gitlab, Foreman and Puppet

We are using different tools to orchestrate our environment. On one side, we have Puppet and Foreman to deploy our different server applications, on the other side, we are using Gitlab in order to ...
Alexis Dufrenoy's user avatar
1 vote
0 answers
1k views

Password auth works, but Public Key auth fails while connecting to OpenSSH server installed on Windows Server 2019

I'm trying to connect to a Windows Server 2019 via SSH for me to deploy my web app with GitLab CI/CD pipeline, so I installed OpenSSH server on it, and everything works fine if I logon using password ...
YuWea's user avatar
  • 111
0 votes
1 answer
79 views

Keep GitLab environment running in Docker container

I'm aiming to deploy an environment for testing. It's a PHP application, and I could simply serve the PHP files using the embedded server. My .gitlab-ci.yml is plain simple: docker_test: stage: ...
Eduar's user avatar
  • 101
0 votes
1 answer
272 views

Deploying monorepo without SSH

Full Disclosure: I'm a DevOps noob. I am running a MERN mono repo on an EC2 instance. Originally, I would always SSH into my machine, pull from the repository, and build again. But there are problems ...
Divyansh Goenka's user avatar
0 votes
0 answers
3k views

Mount volume to build image used by gitlab runner

I have custom image where I want to run some tests which require installed app which in turn need openGL context. I can run it in container composed this way and manually build project and run tests. ...
Max K's user avatar
  • 3
0 votes
0 answers
346 views

Build pipeline to upload .jar package to AWS Lambda

So far according to the documentation at https://docs.aws.amazon.com/lambda/latest/dg/java-package.html, the only way to upload .jar code to an AWS Lambda function would be to manually upload the file ...
Glorious Kale's user avatar
2 votes
2 answers
240 views

How to implement Continuous Integration with Puppet and multiple services

We're trying to implement a Continuous Integration pipeline in our environment. We have a lot of different services, each with its own Git repository. Deployment is done via Puppet, using an external ...
Shaul Behr's user avatar
4 votes
0 answers
350 views

Is there a way to configure Bitbucket to show compiler warnings in PRs?

A common problem we have at work is people committing code without having noticed that they're increasing the number of compiler warnings. The ultimate goal is to make warnings errors, but until the ...
Hakanai's user avatar
  • 141
3 votes
1 answer
2k views

Docker/Podman in Docker fails as a GitLab CI job

Context I am running my own GitLab instance with an extra server for CI. In case it matters my host for the gitlab runner has CentOS 8 and the gitlab runner is version 14.4.0 and the gitlab instance ...
Lucas's user avatar
  • 193
0 votes
1 answer
862 views

Jenkins Linux Master + Windows Build agent?

Will a Jenkins Linux master work with a Windows build agent? Does anyone know if this set up can be achieved and is supported? Just looking for a proof of concept and that this can work so I can ...
synth45's user avatar
  • 21
2 votes
1 answer
5k views

Jenkins: Difference between job and workspace/job?

In most recent version of Jenkins on centos 7.9, what is the difference between /var/lib/jenkins/jobs/ and /var/lib/jenkins/workspace/? They both look like they house the same thing (artifact of a ...
synth45's user avatar
  • 21
1 vote
2 answers
330 views

How does Google Cloud Platform handle database backups with --async flag?

I'm currently working on adding an extra step to our companies CI/CD pipeline so we make backups of the database before making a deployment that could potentially run migrations on our database. To ...
patrickdamery's user avatar
0 votes
0 answers
530 views

Azure: When Deploy FunctionApp to slot -> Error: Package deployment using ZIP Deploy failed. Refer logs for more details

I'm using Azure DevOps and their CI/CD pipelines. When I deploy my Windows FunctionApp to a slot I get this error: 2021-05-04T13:10:14.0501876Z ##[error]Failed to deploy web package to App Service. ...
MolteNolte's user avatar
2 votes
0 answers
511 views

System call failure when executing CI script in Docker

I'm currently setting up GitLab CI/CD. The Runner is installed on a Windows Server 2019 VM which has Docker Engine running. My gitlab-ci.yml looks something like this: variables: GIT_STRATEGY: clone ...
TigersEye120's user avatar
1 vote
1 answer
4k views

Kaniko (GitLab CI, K8s) can not push to Nexus Repository Manager: UNAUTHORIZED: access to the requested resource is not authorized

my GitLab CI job build a example container image with Kaniko with the GitLab runner on K8s. All services are in my LAN behind a static IP. The build process pulls an ArchLinux image from my first ...
Kokos Bot's user avatar
5 votes
0 answers
5k views

GitHub SSH action failing: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain

I have recently rented a VPS running CentOS 8. I want to make countinuous deployment from one of my repos, so that when I push to main the repo is updated. I followed this tutorial on a fresh CentOS ...
mianfg's user avatar
  • 51
0 votes
2 answers
127 views

Build Pipeline ARM Templates - TFS 2018

My client is using TFS 2018 as their CI/CD tool. I know you can use TFS to deploy ARM templates to Azure but I've never done it before. I usually just use the portal or powershell. I know I need to ...
jrd1989's user avatar
  • 688
2 votes
2 answers
5k views

port mapping didn't happen for a container deployed on AWS ECS(uses EC2)

Context: I am using Circle CI's aws-ecs/deploy-service-update orb to deploy my docker container by pulling the latest image in AWS ECR and deploy it in AWS ECS with AWS EC2 instance. This container is ...
Naveen Reddy Marthala's user avatar
3 votes
1 answer
3k 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 ...
drum's user avatar
  • 191
4 votes
0 answers
3k 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. ...
Nuno's user avatar
  • 643
2 votes
0 answers
30 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 ...
Thomas Andolf's user avatar
1 vote
1 answer
323 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: ...
Lion's user avatar
  • 528
1 vote
1 answer
413 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 ...
Bert's user avatar
  • 1,076
2 votes
1 answer
3k 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 ...
Micromegas's user avatar
3 votes
1 answer
492 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 ...
Lester's user avatar
  • 627
0 votes
0 answers
4k 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@...
Thomas Rollet's user avatar
0 votes
1 answer
327 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 ...
user avatar
0 votes
0 answers
489 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" ...
Hansiemithun's user avatar
0 votes
1 answer
187 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 ...
O. Shekriladze's user avatar
0 votes
2 answers
2k 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 ...
Arun's user avatar
  • 101
1 vote
1 answer
1k 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" ...
Piduna's user avatar
  • 571
1 vote
1 answer
2k 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 ...
emmdee's user avatar
  • 2,287
4 votes
2 answers
2k 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 ...
Evgeny's user avatar
  • 41
0 votes
0 answers
2k 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 ...
PhysiOS's user avatar
  • 442
5 votes
3 answers
4k 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 ...
CodeChimp's user avatar
  • 343
5 votes
1 answer
2k 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 ...
user8472's user avatar
  • 140
3 votes
2 answers
8k 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 \ -...
Shihe Zhang's user avatar
0 votes
1 answer
1k 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 ...
cyrilv's user avatar
  • 325
1 vote
1 answer
1k 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 ...
X0r0N's user avatar
  • 305
0 votes
1 answer
1k 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 = ...
edzillion's user avatar
  • 139
2 votes
1 answer
114 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 ...
user6317694's user avatar
0 votes
2 answers
2k 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 ...
Hendrik Wiese's user avatar
3 votes
5 answers
18k 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 ...
Raja Anbazhagan's user avatar
1 vote
1 answer
3k 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 ...
Caperneoignis's user avatar