Use for questions related to practices of CICD (Continuous Integration and Continuous Delivery or Continuous Deployment) and its related tools.
Questions tagged [cicd]
2046 questions
6
votes
2 answers
How can I prompt TeamCity configuration parameter for meta-runner?
I want to create meta-runner that will ask user to check checkbox ('prompt' configuration parameter) to confirm deployment to production.
It contains PowerShell script that validate if checkbox is checked. Here is code of meta-runner:

leavelllusion
- 329
- 5
- 11
5
votes
3 answers
Detected dubious ownership in repository GITLAB CI/CD
I am facing this issue during try to deploy script with gitlab ci/cd:
Initialized empty Git repository in C:/builds/Tri.BuiV/test-gitlab-cicd/.git/
fatal: detected dubious ownership in repository at…

Bùi Văn Trí
- 55
- 1
- 4
5
votes
0 answers
How to install docker on GitHub Actions
What is the official / recommended way to install Docker on GitHub Actions?
In particular I need to run a custom script on GitHub Actions that, among other tasks, calls docker build and docker push.
I don't want pre-made actions that build/push, I…

collimarco
- 34,231
- 36
- 108
- 142
5
votes
0 answers
Browser is crashing in CI after updating chrome to 100. I see error ERR_INSUFFICIENT_RESOURCES in the browser log. We are using webdriverIO v6
Browser is crashing while running tests in CI after updating chrome to 100. I see error ERR_INSUFFICIENT_RESOURCES in the browser wdio log. We are using webdriverIO v6 and docker. Selenoid to run tests inside docker container. Tests run fine if run…

Nemo
- 51
- 2
5
votes
2 answers
Getting `Argument list too long` in GitHub Actions
I am following HashiCorp's learning guide on how to set up GitHub Actions and terraform. All is running great besides the step to update the PR with the Terraform Plan.
I am hitting the following error:
An error occurred trying to start process…

Zambozo
- 456
- 4
- 12
5
votes
2 answers
how can a user run a protected manual job?
there are several jobs in the protected branch. the last job is manual, but regular users cannot run it. how can an ordinary user run a manual job in a protected branch?
in the picture, an ordinary user does not have a play button

Zempik
- 87
- 1
- 9
5
votes
1 answer
Gitlab Kubernetes Agent -> auto deployment
I am trying to understand the Gitlab K8s agent. But it looks like it requires the developer to commit changes to a manifest file before it can deploy them to K8s. This is a challenge when trying to do auto deploys using Gitlab pipelines because…

crossvalidator
- 437
- 6
- 12
5
votes
0 answers
How to save build logs from Bitbucket Pipelines
Currently, the way I have my pipelines setup is having each step run on 'self.hosted' runners. I do it this way so I don't have to spend Bitbucket build minutes. Every time the pipeline runs, I can see the containers being created and terminated on…

Ethan Chen
- 63
- 6
5
votes
1 answer
GitFlow: How to maintain previous releases?
I am currently working on a workflow for my team.
A suggestion we received was to use the GitFlow scheme. This scheme can be put on a chart as follow:
However, I have one question about how to manage a specific case.
Because of our activities, we…

Milan
- 1,547
- 1
- 24
- 47
5
votes
1 answer
"Only" or "rules" keywords weirdly remove jobs from the CI pipeline
I am trying to use "rules" and "only" keywords to define my pipeline behaviors between merge requests, pushes into dev branch and pushes into master branch.
I noticed several weird behaviors in the Gitlab CI, let's see in my merge_requests…

Bibimrlt
- 158
- 1
- 2
- 10
5
votes
1 answer
systemd vs gitlab cicd
this may be a crazy question -
I want to host an algo-trading system which will trigger morning 9.00 AM and runs till 3.00 PM. I'm considering hosting either as a service using systemd or using gitlab cicd to trigger this. (i can watch activity here…

keerthan kumar
- 332
- 7
- 25
5
votes
3 answers
Port forwarding in CICD (Github Actions)
I want to run db migrations in Github Actions. The DB is behind a bastion.
My solution was to forward Postgres port 5432 to the db host through the bastion.
I tried below script but does not seem to work.
mkdir ~/.ssh
ssh-keyscan -H >>…

Asur
- 1,949
- 4
- 23
- 41
5
votes
1 answer
How to add secrets to application.properties file before build step
I'm using GitHub Actions CI/CD workflow to automate the build, test, deploy steps. In order to successfully build the project I need to include a secret variable (defined in the settings) to be written to application.properties file. However, at the…

TheLoneWolf91193
- 415
- 7
- 19
4
votes
1 answer
drone cli can not execute
I can't use the drone cli, it just told me:
Stage '' not found in build file : resource not found
What the problem is?
And it also told me:
proto: duplicate proto type registered: PluginSpec
proto: duplicate proto type registered:…

GoldenMagicDoge
- 91
- 2
4
votes
1 answer
How to always disable/skip a job in Github actions? (Not step/action)
I have the following workflow:
name: CICD
# ...
jobs:
CI:
uses: ...
CD:
needs: [CI]
uses: ...
I have encountered an issue that needs me to temporally disable the CD job that uses other workflows (not just a single step or…

u-ways
- 6,136
- 5
- 31
- 47