Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
provision
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
provision
Commits
c0c49d23
Commit
c0c49d23
authored
Feb 16, 2015
by
Herman van Rink
Browse files
Options
Downloads
Patches
Plain Diff
hostmaster-resume was renamed to hosting-resume
parent
196f3e8b
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
migrate.hostmaster.inc
+3
-8
3 additions, 8 deletions
migrate.hostmaster.inc
with
3 additions
and
8 deletions
migrate.hostmaster.inc
+
3
−
8
View file @
c0c49d23
...
...
@@ -140,15 +140,10 @@ We are making the following assumptions:
/**
* Prepare the hostmaster site for migration
*
* @deprecated most of the stuff here needs to be removed in favor of
* hosting-pause, but since that exists only starting with rc3, we
* need to copy the content of it here. once 1.0 is released, we can
* remove that code and just keep hosting-pause.
*/
function
drush_provision_pre_hostmaster_migrate
(
$site
,
$platform
)
{
// w
ipe out cron entry
exec
(
'crontab -r'
);
// w
e ignore errors here through integrate = FALSE
provision_backend_invoke
(
drush_get_option
(
'site_name'
),
'hosting-pause'
,
array
(),
array
(
'#integrate'
=>
FALSE
)
);
}
function
drush_provision_hostmaster_migrate
(
$site
,
$platform
)
{
...
...
@@ -159,7 +154,7 @@ function drush_provision_post_hostmaster_migrate($site, $platform) {
provision_backend_invoke
(
drush_get_option
(
'site_name'
),
'cache-clear'
,
array
(
'drush'
));
// we pass the context names we generated to the task so we can enforce that the names
// stay the same.
provision_backend_invoke
(
drush_get_option
(
'site_name'
),
'host
master
-resume'
,
array
(),
array
(
provision_backend_invoke
(
drush_get_option
(
'site_name'
),
'host
ing
-resume'
,
array
(),
array
(
'old_platform_name'
=>
drush_get_option
(
'old_platform'
),
'new_platform_name'
=>
drush_get_option
(
'new_platform'
),
));
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment