Questions tagged [continuous-deployment]
A software engineering approach in which teams keep producing software in short cycles and ensure that the software can be released to production at any time.
2,611
questions
0
votes
0
answers
17
views
Git Actions successful deployment does not update the revision of an Azure Container App
I have a simple Node.js app that I intend to deploy via Github Actions continuous deployment to an Azure Container App. The image is placed in an Azure Container Registry and is tagged as "latest&...
0
votes
1
answer
12
views
How do you specify which project to build from a multi-project solution in a github yml file?
I recently connected my GitHub solution to my Azure AppService and it automatically created a yml build and deploy file which is great, thanks Microsoft. The issue is I have 4 projects in my solution ...
0
votes
2
answers
31
views
Github workflows action continuous deployment not working
I want to setup continuous deployment pipeline between Github and AWS Lambda. For this, I've added main.yml file @ myrepo/.github/workflows/main.yml
This is my main.yml file
name: deploy to lambda
on:
...
0
votes
1
answer
57
views
how to specify default cloud run revision url in the cloud build yaml file
I have a GCP project where I continuously deploy changes (PRs) made to a GitHub repository to a cloud-run service using cloud build triggers
the way i set it up at first is that i use GCP GUI
this ...
0
votes
0
answers
47
views
Deploy artifacts from github actions to azure windows VM?
I have build my project with GitHub actions pipeline running on windows agent. The artifacts are generated and stored in the repo. The next task of mine is to send it to the azure windows VM. I really ...
-1
votes
1
answer
21
views
How to enable Continuous Deployment to an internal server from BitBucket
I need some guidance and advice please on if / how I can implement a CI / CD pipeline for a corporate PHP Laravel application that is hosted on an internal server with limited access and no public IP. ...
0
votes
1
answer
19
views
Restriction user access on a particular branch in GitHub Respository
I have a private repository where there are multiple branches and we are using continuous deployment on a specific master branch. I have couple of resources who works on this repository and have been ...
1
vote
0
answers
55
views
How to send artifacts from github actions to azure windows VM
I have build my project with GitHub actions pipeline running on windows agent. The artifacts are generated and stored in the repo. The next task of mine is to send it to the azure windows VM. I really ...
0
votes
0
answers
36
views
What are the problems with using "composer install" in production? [closed]
I understand that using composer update in production is not advisable because it has indeterminate results; a package could have been updated since you last tested on dev/staging.
But is composer ...
0
votes
0
answers
58
views
+50
How do I send a task log within a release from an azure devops deployment pipeline to a Microsoft teams channel?
A MS teams channel has been configured to notify us after the last stage (prod deployment) in an azure devops pipeline has completed. However, there is a need to include SQL execution statistics like ...
0
votes
2
answers
56
views
CICD pipeline for Bigquery Schema/ ddl deployment
I am looking for CI/CD solution for the Google Bigquery script.
The requirement is that I have a list of files with DDL script, design the CI/CD solution which should maintain the version, and deploy ...
1
vote
2
answers
51
views
kubectl - running rollout restart only when configmap changes
I have a devops pipeline divided in three steps:
kubectl apply -f configmap.yml
kubectl apply -f deployment.yml
kubectl rollout restart deployment/test-service
I think that when the configmap.yml ...
2
votes
1
answer
36
views
Deploy Dockerized NodeJS application with the respective .env files
I am working on a NodeJS application which is a containerized application. I use Jenkins to build and deploy it. I have an environment .env file and along with this, also have .env files based on ...
0
votes
0
answers
13
views
CI/CD - Building the project in Pipeline or Release stage
I am getting started with CI/CD and experimenting with Azure Pipelines and my NodeJS project.
I have 3 environments Dev, UAT and PROD.
As I understand it in Azure you have Pipelines for the CI and ...
0
votes
1
answer
27
views
What does the below aks deployment means?
Could someone explain what do the "requests" and "limits" sections below stand for? (found from https://learn.microsoft.com/en-us/training/modules/aks-application-autoscaling-...
2
votes
1
answer
27
views
DevOps Release pipeline is creating a release after a PR build
There's a Build Validation step for a PR, so a build is created each time a PR is created.
I only want a release to be created once a PR has been approved and completed not when a PR has been created.
...
-1
votes
0
answers
28
views
Improving build time for our create-react-app which is getting big
We are working on an application that uses create-react-app as its initial boilerplate. As the project is getting larger in size, the deployment is getting longer. For now, we are using gitlab runners ...
0
votes
1
answer
11
views
Refactor circleci config.yml file for ReactJs
I am new to CI/CD. I have created a basic react application using create-react-app. I have added the below configuration for circleci. It is working fine in circleci without issues. But there are lot ...
3
votes
0
answers
54
views
How to automate image tag on ECR using gitlab CI?
I have an ECR repo.
I'm using a gitlab CI to push and pull an image from that repo. Everytime my CI runs I'm using the same image tag (is fixed in my CI code) like ECR_IMAGE: app:1.1.8
My doubt is: Is ...
0
votes
0
answers
63
views
Under a Continuous Deployment process to publish a Maven package of a Clojure project, should the script execute "lein install" or "lein uberjar"?
I built a Continuous Deployment workflow via GitHub Actions for this Clojure project. It is a fork from a public repository.
The goal was to publish a Maven package on the GitHub Registry every time ...
0
votes
0
answers
22
views
How can I check if the folder exists on a virtual machine when using jenkins pipeline?
I have a python file which will run on a virtual machine inside a jenkins pipeline during the CI operation.
In this file I have written a line
os.path.exists("C:\\")
Now, this works fine on ...
0
votes
1
answer
35
views
Using Jira as Board and Azure Devops as CI/CD
Have you ever tried to use Jira as development board and Azure DevOps as repository + CI/CD Pipelines?
I was wondering if it is possible to link to Jira tasks the results of Azure pipelines ...
0
votes
0
answers
16
views
Python egg file build and deploy
I have a project with tests in it. I am able to create the egg file using the below command in pycharm terminal.
python setup.py bdist_egg
I am able to run the tests and generate report from pycharm ...
0
votes
2
answers
63
views
How to deploy on online and offline targets with Azure DevOps?
I have an Azure DevOps Continuous Deployment definition with 2 stages and multiple targets. The 2 stages are "staging" and "production". I have 4 targets, 4 agents (same agent) ...
-1
votes
0
answers
18
views
Running a pipeline on Gitlab gives no space left on device
I'm getting a "no space left on device error" when running some operation inside the pipeline. How do I resolve this?
I tried looking up solutions. One solution said to use docker prune. ...
0
votes
1
answer
54
views
Kubernetes rolling update image and its database
I'm trying to create my own deployment on a Kubernetes cluster based on a CMS (Prestashop). And I imagine that I will have to update the image regularly.
The CMS comes with 2 ways of update :
via ...
0
votes
0
answers
10
views
Continuous delivery and continuous integration pipeline debugging
I had created pipeline and I have a json file as test results under dat folder. I can access that file in dev environment but in hat environment i cannot see that file in the repository. Where did I ...
2
votes
1
answer
99
views
How to versioning releases in Github Actions
Is there a way to publish releases on GitHub using Actions with custom version numbers? Currently, I'm using github.run_number provided by GitHub Context and as mentioned in the docs:
github....
0
votes
1
answer
45
views
Continuous Integration with AWS CDK, ECS, and Prisma
I'm working with CDK and working to set up CI/CD. My stack looks like so:
L2: AppStack: 2 ECS Services
L1: StorageStack: RDS Database
L0: SharedInfrastructure: Networks
How to set up CI is not exactly ...
0
votes
1
answer
23
views
What network protocol would a typical CI/CD pipeline use?
As the title says, I am curious to know if the protocol being used would typically be FTP or if HTTP is sufficent. What protocol would you use, if you were to build your own pipeline, to transfer the ...
0
votes
0
answers
22
views
CI/CD pipleline to not allow push of staging URL
So I have a staging URL in my React app to test out the staging features of our website, whenever I am working on a feature we test the feature on the staging URL and then later while pushing to ...
0
votes
1
answer
57
views
Call external Rest api when a file is added or updated to a Github repository
So, I have a Github repository where some files will be added or updated manually or through a merge from feature branch to main branch.
I want to know how can I call another external microservice ...
0
votes
1
answer
73
views
Error in Continous Deployment of docker container from Azure Container registry to Azure Function
currently I have a problem with the CD of a docker container to the azure function. The workflow is basically like this:
a change is uploaded to azure devops.
CI pipeline runs to push image to the ...
0
votes
0
answers
26
views
Define variables globally with if statements in Gitlab CI CD
I want to set my variable $ENVIRONMENT to "int" if the $CI_COMMIT_BRANCH ist equal to "development". If the commit branch is equal to "main" I want to set the variable to ...
0
votes
1
answer
42
views
Restarting an updated powershell script
I'm making a makeshift CI/CD system for my app, the app stops itself when notified of a push to a Github repo and the script automatically runs git pull to bring in changes and some more commands ...
0
votes
0
answers
13
views
Git show incorrect file name on CI/CD pipeline [duplicate]
When i'm pushing new branch to repository i got error that my file didn't exist. It's happens because filename have Cyrillic symbols and git show his like datacenters/\320\246\320\236\320\224\321\213.
...
0
votes
0
answers
107
views
Can I deploy an event trigger to Function App via Bicep?
I aim to create such a bicep file that would deploy a function app with an event trigger in it, however, I'm not sure if it's possible. I've tried googling but Function App deployment via bicep ...
1
vote
1
answer
74
views
pre commit hooks in python specific CI CD pipeline
We have lot of python code residing in local git repository. Having installed gitlab locally, need to implement CI/CD pipeline. Need is to ensure, that all code is sanitized before being pushed to ...
0
votes
0
answers
14
views
Does Heroku preboot halts the rollout if the newly created dynos fail to serve successful requests?
From Heroku preboot docs:
When you make releases with preboot, Heroku switches the routing from the old dyno to the new dyno at one point. It is possible to have a very short time overlap where the ...
0
votes
0
answers
29
views
Getting Error while running Plesk additional deployment actions
Trying to run node app after automatic deployment
I've using Plesk server and Bitbucket for my application. And successfully deployed and built. However, when it come across npm run start:prod, it ...
1
vote
5
answers
180
views
How to organize deployment process of a product from devs to testers?
We're a small team of 4 developers and 2 testers and I'm a team lead of the team. Developers do their tasks each in separate branch. Our stack is ASP.NET MVC, ASP.NET Core, Entity Framework 6, MSSQL, ...
0
votes
0
answers
31
views
Use "Environment" for deployment with GitHub Actions
I want to deploy my app by using secrets in a "Production" environment.
I create a GitHub Action workflow for deployment. The workflow is triggered by push, and pull_request events on main ...
-1
votes
1
answer
117
views
Can Cloud Run automatically use latest digest?
I have a continuous deployment pipeline setup with Github via Cloud Build Triggers. Each time a push is made to the main branch, the cloudbuild.yaml does its thing and produces a digest with a tag of ...
0
votes
1
answer
657
views
Failure when settings continuous deployment of webapps on Azure
When I try to set up continuous deployment through GitHub Actions on an App Service (either a Asp.NET app or a Node app), I get a Failed to set up deployment: Cannot find SourceControlToken with name ...
0
votes
0
answers
120
views
Zero downtime deployments (blue/green) on Traefik, how?
On a single Traefik instance, is it possible to do service deployments without a service becoming unreachable during the process?
It does not seem like there is any write-api that can dynamically ...
1
vote
0
answers
68
views
How to make a drone pipeline to be run when another ignored pipeline got in failure
I have a pipeline in my .drone.yml file which its failures will be ignored in this way:
.drone.yml
- name: 'My ignored pipeline'
failure: ignore
Now I need another pipeline to be run when the 1st ...
0
votes
0
answers
35
views
How to authorize the Heroku deploy build access to a private package (Azure Artifacts)
I want to deploy a ASP.net solution on Heroku but it can't access a private package I have.
I'm using automatic deployment so that when I push changes on github in my production branch Heroku ...
0
votes
0
answers
29
views
Continuous deployment of django react project
I have a react app with django backend. Every time when I need to deploy the app I have to follow following steps -
Git pull new django code
Copy react build from local to aws
Collect static files ...
0
votes
1
answer
94
views
Deployment issue using GCP
since the beginning of the last week we're experiencing an issue with deployment of our service on GCP:
ERROR: (gcloud.app.deploy) Error Response: [9] An internal error occurred while processing task
/...