Questions tagged [deployment]

A series of activities that makes a program available for use (usually in test or production environments)

Deployment consists in a series of activities needed to get a program available for use outside a development environment (for example on web sites, PCs, smartphones and/or tablets).

At a high level, deployment activities need to:

  • compile the program in a suitable packaging format;
  • distribute the program to the final environment (e.g. via the Internet, an app store or CDs);
  • install dependencies (usually libraries, runtimes and application servers);
  • configure the target environment (e.g. where the database is or runtime parameters of the application server).

A deployment can be done in several ways according to the program type, for example:

  • to deploy a web application written in Java we can add JARs to web containers;
  • to deploy a desktop application on Windows we can create a setup program and burn it to CDs;
  • to deploy an application to a cloud environment (like Heroku or Windows Azure) we can use ad-hoc programs or widely known programs like git that trigger a series of operations on the server side;
  • to deploy an application to an app store we may need to send the application to the store owner for approval. If the application is approved then the store owner will publish the new version, making it available to the users;
  • a deployment may require to distribute specially configured virtual machines with the right version of software and dependencies.

There are many challenges in deployment revolving around two main themes:

  • to ensure that programs exhibit the same behavior in production as they do in testing and development. To achieve this, usually there are several test environments (beyond development) in which the software is deployed and tested thoroughly before being released in the production environment. is the strategy of deploying to a subset of users to detect production-only errors with minimal user impact.
  • to be able to rollback to a previous stable version in case the current version behaves erratically. The deployment environment may help by providing some facilities to retain previous versions and install them when needed. is a deployment strategy which enables fast, robust release and rollback.

Frequently Asked Questions

People often ask about these topics:

25961 questions
7
votes
1 answer

Maven 3 site descriptor issue : deploying artifact not working or site not building

I've migrated to maven 3.0.3 but I'm not able to build the maven site. In fact my project use an external parent pom that doesn't provide any site descriptor as artifact. 1- Is there a way to generate the maven site even if the parent doesn't…
jandry
  • 170
  • 2
  • 7
7
votes
3 answers

Launching a desktop application from a web site

Is it feasible to launch an application via a browser / URL? What are the options for doing this? I know the way to do it with IE and Windows (which usually doesn't work). Ideally, I would like this to be browser independent. Our application is…
jconlin
  • 3,806
  • 6
  • 31
  • 32
7
votes
3 answers

Vue 3 & Vite built application shows blank page

I have a problem trying to make a build of a new Vue3.js + Vite.js application. Once my application is finished i made the npm run build action in order to generate the final deployment files. Problem is that when I try to see the generated page, it…
Javi Martínez
  • 368
  • 1
  • 4
  • 16
7
votes
2 answers

Automating .Net deployment using Cruise Control .Net

I've currently got CC.Net setup for doing builds and it's awesome. But now I want to go all the way and use it for deployment as well. I was thinking about installing CC.Net on staging and after a build completes and it's autouploaded fire the…
Ryu
  • 8,641
  • 10
  • 65
  • 98
7
votes
2 answers

How can I resolve ReactMarkDown that uses "children" as a prop w/ Error Do not pass children as props

I have a Next.js app that I'm deploying to vercel and am using ReactMarkDown component to render some content from a Strapi backend. While this works locally, deployment fails with the following log: 49:54 Error: Do not pass children as props.…
darkecho2788
  • 85
  • 1
  • 7
7
votes
2 answers

Tornado code deployment

Is there a canonical code deployment strategy for tornado-based web application deployment. Our current configuration is 4 tornado processes running behind NginX? (Our specific use case is behind EC2.) We've currently got a solution that works well…
NafisJamal
  • 227
  • 3
  • 7
7
votes
8 answers

NextJs vercel deployment error "routes-manifest.json" couldn't be found

My nextjs app was working properly I added some files to update my code now it is not deploying my app on vercel. gives this error I tried googling the error but my case in unique. This is the git…
usman mughal
  • 189
  • 1
  • 3
  • 7
7
votes
2 answers

FATAL: Node Jenkins doesn't seem to be running on RedHat-like distro

I installed a new Jenkins node on ubuntu server following the documentation on jenkins.io On my first deploy the console shows me this error: Running as SYSTEM Building in workspace /var/lib/jenkins/workspace/SIAL/SIAL_SVC Checking OpenJDK…
martincito
  • 389
  • 4
  • 10
7
votes
5 answers

Github Build and Deploy Error: No uploaded artifact was found

I am trying to deploy a github.io blog but having an issue with build and deployment. I can build the files without any issue on local server, but when I try to publish it on github server by pushing it, it throws a build and deployment error…
user9532692
  • 584
  • 7
  • 28
7
votes
2 answers

Where do you put your app-config-files when deploying rails with capistrano and svn

I have two config-files /app/config/database.yml and /app/config/userconfig.yml i don't want to put the database credentials and userconfig in the svn-repository, so i have database.yml.dist and userconfig.yml.dist checked in. What is the best way…
Zoran Zaric
  • 1,211
  • 2
  • 11
  • 19
7
votes
1 answer

@parcel/core: No transformers found for .glb file

I'm getting this error when I deploy my parcel.js to Vercel: @parcel/core: No transformers found for static/actions.glb. Here's the full deployment logs from Vercel: Detected package.json Installing dependencies... Detected `package-lock.json`…
awawawaw
  • 175
  • 3
  • 11
7
votes
0 answers

Google Api Error: Invalid request - The caller does not have permission Fastlane React native

default_platform(:android) def getVersionCode thirtySeptemberTwentyTwenty = 1601480940 / 60 legacyVersionCode = 10902 versionCode = legacyVersionCode + (Time.now.to_i / 60) - thirtySeptemberTwentyTwenty if versionCode > 2100000000 …
7
votes
1 answer

Two Kubernetes Deployments with exactly the same pod labels

Let's say I have two deployments which are exactly the same apart from deployment name: apiVersion: apps/v1 kind: Deployment metadata: name: nginx-d spec: replicas: 3 selector: matchLabels: app: mynginx template: metadata: …
Maksim Sorokin
  • 2,334
  • 3
  • 34
  • 61
7
votes
1 answer

Could not detect language for functions at functions

After firebase deploy in flutter web I get this error: In this answer person recommends firebase init, but I already have Firebase in the app. Thanks for any ideas!
Roman Soviak
  • 791
  • 2
  • 9
  • 30
7
votes
1 answer

$CI_COMMIT_TAG in "if" statemets of regular job

I try to make a pretty basic GitLab CI job. I want: When I push to develop, gitlab builds docker image with tag "develop" When I push to main, gitlab checks that current commit has tag, and builds image with it or job is not triggered. Build and…
Archirk
  • 427
  • 7
  • 25
1 2 3
99
100