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
7
votes
0 answers
When am I try to reuse PNPM store, I getting 'cross-device link not permitted' in Docker build on GitLab CI
I'm trying to reuse pnpm store with docker buildkit inline cache. It is working fine, when I'm doing local build but on gitlab ci it throw cross-device link not permitted error.
Error
...
#12 2.257 WARN EXDEV: cross-device link not permitted, link…

xeon
- 71
- 3
7
votes
0 answers
AWS CodeCommit does support Git LFS?
I have existing project repo in gitlab. Since the gitlab is running in the server, we have the lfs objects in certain directory. My Doubt is AWS Codecommit does not have seperate server to store any lfs configurations as gitlab or bitbucket. I've to…

Manoj
- 83
- 5
7
votes
1 answer
Error xcodebuild NSFileHandle couldn't write. Exception: *** -[_NSStdIOFileHandle writeData:]: Broken pipe while generate Apollo GraphQL API
Helpppp ! I just want to get my pipeline run successfully T.T Anyone can help me here~
Situation: I am integrating Apollo client in my iOS project and following the instruction provided by official Apollo -…

janice chau
- 475
- 1
- 3
- 13
7
votes
1 answer
What's the difference between buildspec, appspec, and rolling my own AMI?
I'm fairly confused about how the buildspec.yml and the appspec.yml files differ from one another, aside from structure. It doesn't seem like the phase commands from my buildspec have much effect on the deployment environment, and there is similar…

d8aninja
- 3,233
- 4
- 36
- 60
7
votes
0 answers
how to access environment variables from self hosted runner in github action
I am running EC2 as self hosted runner. I have exported AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY to the EC2, and I can see that they are set with printenv command.
Reason for doing this is that I dont want to save AWS_ACCESS_KEY_ID and…

shashank patel
- 137
- 2
- 6
7
votes
2 answers
Why does Azure Pipelines say "The environment does not exist or has not been authorized for use"?
In Azure Pipelines YAML, you can specify an environment for a job to run in.
jobs:
- deployment: Deploy
displayName: Deploy
environment: $(environment)
Passing a new value to the pipeline should automatically create the…

Rachel
- 686
- 1
- 6
- 18
7
votes
2 answers
Gitlab CI/CD fails while "Cleaning up project directory and file based variables" with "ERROR: Job failed: exit code 1"
My gitlab pipeline which has been running for nearly six months is now failing unexpectedly.
Every line prior runs successfully and then this happens:
Setting up curl (7.52.1-5+deb9u16) ...
$ curl -s https://deb.nodesource.com/setup_12.x |…

SlugQ
- 71
- 1
- 1
- 3
6
votes
0 answers
Deploying Prisma to database unaccessible by Github Actions
I have a NodeJS backend which relies on Prisma models, which I want to deploy to my production database. My CI/CD pipeline looks as follows: Github Actions builds the code using webpack, uploads the bundles to S3, and invokes AWS CodeDeploy.
AWS…

user274595
- 418
- 1
- 5
- 15
6
votes
2 answers
Jenkins not deploying the latest github commit code
I'm trying to get Jenkins to deploy the latest code from github branch to my app server. When I push to my release branch, however, the latest commit code doesn't get deployed. Jenkins seems to deploy some older commit of mine. When I print the…

eia92
- 81
- 2
- 12
6
votes
2 answers
Azure Devops pipelines to trigger ONLY on Merge
I'm looking on a way to trigger a Azure pipeline ONLY on successful (or attempted) pull request merge.
Now I have :
trigger:
branches:
include:
- DEV
steps:
- script: FOO
But this runs EVERY time there is a change on the DEV branch and I…

David Muñoz Tord
- 156
- 1
- 14
6
votes
2 answers
How can i get the date of a commit in github actions workflow
I would like to know if there is any way to get the date of a commit through an environment variable or something to be able to use it within github actions.

Fran Cirone
- 61
- 3
6
votes
2 answers
Android, Azure Devops geting error while run pipeline ##[error]Error: The process '/Users/runner/work/1/s/gradlew' failed with exit code 1
Android, Azure Devops geting error while run pipeline ##[error]Error: The process '/Users/runner/work/1/s/gradlew' failed with exit code 1
At locale system everything working apk generated but when run pipeline at azure devops it showing the…

Rahul Mishra
- 1,122
- 1
- 10
- 25
6
votes
2 answers
Faraday::Connection without adapter has been made. CICD on Gitlab
everything was going well, before this morning, I'm totally new to cicd and things like that so I write this to deploy my app to heroku
`'API deploy':
stage: deploy back
image: ruby:latest
script:
- apt-get update -qy
- apt-get install…

Beatles BOB
- 333
- 1
- 13
6
votes
3 answers
gitlab job failed - image pull failed
I am trying to do docker scan by using Trivy and integrating it in GitLab the pipeline is passed.
However the job is failed, not sure why the job is failed.
the docker image is valid.
updated new error after enabled shared…

user2201789
- 1,083
- 2
- 20
- 45
6
votes
2 answers
How to pass a Github Secret as Environment Variable to Docker?
I'm getting started with CI/CD and Docker and i wanted to pass a connection string to docker in my workflow file.
deploy:
runs-on: ubuntu-latest
needs: publish
steps:
- name: deploy to server
uses: appleboy/ssh-action@master
…

Jasper123pyah
- 101
- 1
- 6