Commit d07c93db authored by Craig Barrett's avatar Craig Barrett

Remove duplicate instructions from the runbook

parent 77b12178
......@@ -6,12 +6,4 @@ Customers and potential ones may want to import a large project into GitLab.com.
The script is https://gitlab.com/gitlab-com/runbooks/raw/master/scripts/project_import.rb
In order to run it we can follow the steps in the template: https://gitlab.com/gitlab-com/gl-infra/infrastructure/blob/master/.gitlab/issue_templates/import.md
1. Grab the Slack token from 1Password (search for `Import Slack token`)
1. Run as **root** on a **tmux** session (Adding slack token, and `-u -p -f` options):
```sh
cd /opt/gitlab/embedded/service/gitlab-rails && sudo -u git -H bash -c "EXECJS_RUNTIME=Disabled SLACK_TOKEN='changeme' RAILS_ENV=production /opt/gitlab/embedded/bin/ruby <(curl -s https://gitlab.com/gitlab-com/runbooks/raw/master/scripts/project_import.rb) -u gitlab_username -p namespace/project -f /path/to/export.tar.gz"
```
1. Wait for the script to send a message to #annoucements confirming it finished
1. Exit the tmux session and remove the export file
In order to run it we can follow the steps in the template: https://gitlab.com/gitlab-com/gl-infra/infrastructure/blob/master/.gitlab/issue_templates/import.md
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment