Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Urvil Shah
/
MobEasyEditor
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Registry
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
f62a70a3
authored
Mar 27, 2018
by
Urvil Shah
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Change gitlab deployment script.
parent
be51c69e
Pipeline
#7168
passed with stages
in 24 minutes 7 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
21 deletions
.gitlab-ci.yml
deploy.yml
.gitlab-ci.yml
View file @
f62a70a3
stages
:
-
build
-
deploy
deploy_website
:
build_website
:
stage
:
build
script
:
-
nuget restore .\Mobile.Search.sln
-
msbuild /p:Configuration=Release /p:OutDir=build\web .\Mobile.Search.Web\Mobile.Search.Web.csproj
artifacts
:
expire_in
:
6 weeks
paths
:
-
.\Mobile.Search.Web\build\web\_PublishedWebsites\Mobile.Search.Web
when
:
always
deploy_web
:
stage
:
deploy
script
:
-
"
&
'C:
\\
Python27
\\
Scripts
\\
pip.exe'
uninstall
pythondeploy
-y"
-
"
&
'C:
\\
Python27
\\
Scripts
\\
pip.exe'
install
git+http://git.adk-mobile.com/Public/PythonDeploy.git@refactor"
-
"
&
'C:
\\
Python27
\\
python.exe'
-c
'from
pythondeploy.deploy
import
run_deployment;
run_deployment()'"
-
Import-Module PSRemoteDeploy
-
$servers = $env:DEPLOY_SERVERS -split ';'
-
Copy-FilesToServers -Servers $servers -UserName $env:DEPLOY_USERNAME -Password $env:DEPLOY_PASSWORD -LocalPath ".\Mobile.Search.Web\build\web\_PublishedWebsites\Mobile.Search.Web\*" -RemotePath "C:\adk-mobile\$env:CI_PROJECT_NAME\Mobile.Search.Web\$env:CI_BUILD_ID"
-
Set-IISPhysicalPaths -Servers $servers -UserName $env:DEPLOY_USERNAME -Password $env:DEPLOY_PASSWORD -IISSite "Mobile.Search.Web" -Path "c:\adk-mobile\$env:CI_PROJECT_NAME\Mobile.Search.Web\$env:CI_BUILD_ID"
when
:
manual
\ No newline at end of file
deploy.yml
deleted
100644 → 0
View file @
be51c69e
deployments
:
-
provider
:
msdeploy_website
server
:
mobsearch.dartmob.net
username
:
Administrator
password
:
7=7)g??4ykx
iis_site_name
:
Mobile.Search.Web
branch
:
master
-
provider
:
aws_rolling_deployment
load_balancers
:
-
name
:
elb-MobSearch
region
:
us-west-2
username
:
Administrator
password
:
7=7)g??4ykx
iis_site_name
:
Mobile.Search.Web
branch
:
production
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment