continuous-deployment

SQL deployment automation

99封情书 提交于 2021-02-19 11:51:31
问题 I am trying to automate existing sql server database deployment automation using Jenkins. One of the ways to automate is to include the SQL scripts (stored procedures, views, table creation) in a SQL server Database project using Visual Studio. Use MSBuild to build the project and deploy dacpac using SQLPackage.exe. However, the existing database has reference to other databases inside Stored Procedures/Views so I have import other databases inside the SQL Server Database project.

Angular 2 continuous deployment with jenkins and seperate production server

只愿长相守 提交于 2021-02-18 19:36:59
问题 I would like to know what is best practice for running Angular 2 in production. I am asked to build a software factory (continuous integration, automated build, automated deployment). What confuses me is this: We don't use a development server. We're expected to deploy the application and its dependencies to a real production server. https://angular.io/docs/ts/latest/guide/webpack.html#!#production-configuration Why do I have to run the application on the same server? Currently I have set-up

Angular 2 continuous deployment with jenkins and seperate production server

走远了吗. 提交于 2021-02-18 19:35:36
问题 I would like to know what is best practice for running Angular 2 in production. I am asked to build a software factory (continuous integration, automated build, automated deployment). What confuses me is this: We don't use a development server. We're expected to deploy the application and its dependencies to a real production server. https://angular.io/docs/ts/latest/guide/webpack.html#!#production-configuration Why do I have to run the application on the same server? Currently I have set-up

Deploying Azure Webjobs from Jenkins pipeline

筅森魡賤 提交于 2021-02-11 17:00:04
问题 Please guide me to setup the procedure how to deploy the azure web jobs from Jenkins Pipeline. I have gone through the google of searching the documentation but couldn't able to make it. 回答1: After many tests I did it by adding the OutputPath parameter in the deploy script and deleting the folder before. The script looks like this: dir('Publish'){ deleteDir() } bat "\"${tool 'Your MS Build'}\" Path_To_Project.csproj /p:Configuration=Release /p:DeployOnBuild=true /p:AllowUntrustedCertificate

Deploying Azure Webjobs from Jenkins pipeline

房东的猫 提交于 2021-02-11 16:59:39
问题 Please guide me to setup the procedure how to deploy the azure web jobs from Jenkins Pipeline. I have gone through the google of searching the documentation but couldn't able to make it. 回答1: After many tests I did it by adding the OutputPath parameter in the deploy script and deleting the folder before. The script looks like this: dir('Publish'){ deleteDir() } bat "\"${tool 'Your MS Build'}\" Path_To_Project.csproj /p:Configuration=Release /p:DeployOnBuild=true /p:AllowUntrustedCertificate

Jenkins Persistent Editable Global Variable

末鹿安然 提交于 2021-02-10 14:31:47
问题 I'm looking for a plugin/approach that lets me set and read a persistent global variable for use between jobs. The scenario is that I have CI job that runs tests on various branches of the codebase and I want to associate a build number that corresponds to the last stable build of the release branch. i.e. Build No Branch Result GolbalSharedThingVal 5 release Success 1.5 6 dev Fail 1.5 7 dev Success 1.7 8 release Unstable 1.7 9 release Success 1.9 10 release Fail 1.9 Then in my deployment job

Jenkins Persistent Editable Global Variable

匆匆过客 提交于 2021-02-10 14:28:56
问题 I'm looking for a plugin/approach that lets me set and read a persistent global variable for use between jobs. The scenario is that I have CI job that runs tests on various branches of the codebase and I want to associate a build number that corresponds to the last stable build of the release branch. i.e. Build No Branch Result GolbalSharedThingVal 5 release Success 1.5 6 dev Fail 1.5 7 dev Success 1.7 8 release Unstable 1.7 9 release Success 1.9 10 release Fail 1.9 Then in my deployment job

GitHub Actions workflow error: Run Command Timeout! Even if the script did well

◇◆丶佛笑我妖孽 提交于 2021-02-09 01:44:16
问题 I want to deploy my Nuxt.js application on my remote server each time I commit into repository. Here is my deploy.yml: name: 'Deployment' on: push: branches: ['master'] jobs: deploy: name: Deploy runs-on: ubuntu-latest steps: - name: Connect to SSH uses: appleboy/ssh-action@master with: host: webhostgb.com username: root key: ${{ secrets.PRIVATE_KEY }} port: 22 script: | cd whgb-new git pull origin master npm run build fuser -kn tcp 3000 pm2 restart deploy.sh Basically deploy.sh runs npm

GitHub Actions workflow error: Run Command Timeout! Even if the script did well

梦想与她 提交于 2021-02-09 01:41:57
问题 I want to deploy my Nuxt.js application on my remote server each time I commit into repository. Here is my deploy.yml: name: 'Deployment' on: push: branches: ['master'] jobs: deploy: name: Deploy runs-on: ubuntu-latest steps: - name: Connect to SSH uses: appleboy/ssh-action@master with: host: webhostgb.com username: root key: ${{ secrets.PRIVATE_KEY }} port: 22 script: | cd whgb-new git pull origin master npm run build fuser -kn tcp 3000 pm2 restart deploy.sh Basically deploy.sh runs npm

IIS Staging and Production swap

落爺英雄遲暮 提交于 2021-02-08 21:01:10
问题 I'm researching a way to integrate a staging environment on our IIS Server, where it is possible to warm up the application before swapping it with the production environment. The only real solution I can find is: Swapping directory settings Which to me sounds like a slow process, because the IIS will have to compile and warmup the new dir after the swap. ( Am I assuming this correctly?) Have two sites, and swap the bindings, after staging has been warmed up. Having a load balancer, and