Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1047604
deploy.xml
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Jun 30, 4:24 AM
Size
1 KB
Mime Type
application/xml
Expires
Wed, Jul 2, 4:24 AM (10 h, 55 m)
Engine
blob
Format
Raw Data
Handle
677407
Attached To
rINP In-Portal
deploy.xml
View Options
<?xml version="1.0" encoding="UTF-8"?>
<project
name=
"inc_deploy"
default=
"build"
>
<target
name=
"deploy-ci"
description=
"Deployment tasks, that are required after SVN checkout"
depends=
"lint,create-aliases"
>
<property
name=
"tools.dir"
value=
"
${
base
.
dir
}
/tools"
/>
<echo
msg=
"Fixing shell scripts permissions under '/tools' folder"
/>
<chmod
mode=
"0755"
verbose=
"true"
failonerror=
"true"
>
<fileset
dir=
"
${
tools
.
dir
}
"
>
<include
name=
"*.sh"
/>
</fileset>
</chmod>
<echo
msg=
"Fixing '/system' folder permissions"
/>
<exec
dir=
"
${
tools
.
dir
}
"
command=
"./fix_perms.sh"
logoutput=
"true"
/>
<echo
msg=
"Removing compiled templates under '/system/cache' folder"
/>
<exec
dir=
"
${
tools
.
dir
}
"
command=
"./clear_cache.sh"
logoutput=
"true"
/>
<composer
command=
"install"
composer=
"/usr/local/bin/composer"
>
<arg
value=
"--working-dir"
/>
<arg
path=
"
${
base
.
dir
}
"
/>
<arg
value=
"--ansi"
/>
</composer>
<if>
<available
file=
"
${
base
.
dir
}
/system/build-schema.sql"
type=
"file"
/>
<then>
<phingcall
target=
"db-fill-ci"
/>
<phingcall
target=
"inportal-deploy"
/>
</then>
</if>
</target>
<target
name=
"inportal-deploy"
description=
"Runs In-Portal deployment script"
>
<echo
msg=
"Running In-Portal Deployment Script (part of 'do_update') ..."
/>
<exec
executable=
"
${
php
.
binary
}
"
logoutput=
"true"
checkreturn=
"true"
>
<arg
path=
"
${
base
.
dir
}
/tools/run_event.php"
/>
<arg
value=
"adm:OnDeploy"
/>
<arg
value=
"
${
cli
.
key
}
"
/>
<arg
value=
"
${
client
.
ip
.
address
}
"
/>
</exec>
</target>
</project>
Event Timeline
Log In to Comment