Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
devstack
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
devstack
Commits
493fa342
Commit
493fa342
authored
Mar 27, 2017
by
Joel Barciauskas
Committed by
Clinton Blackburn
Mar 30, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create makefile command 'devstack.destroy' to clean images and volumes created
by devstack.provision
parent
e0c6154f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
0 deletions
+20
-0
Makefile
+3
-0
README.md
+6
-0
destroy.sh
+11
-0
No files found.
Makefile
View file @
493fa342
...
...
@@ -18,6 +18,9 @@ help: ## Display this help message
clone
:
##
Clone service repos
./clone.sh
devstack.destroy
:
##
Destroy all containers and volumes
./destroy.sh
# TODO Print out help for this target. Even better if we can iterate over the services in docker-compose.yml, and
# print the actual service names.
devstack.open.%
:
##
Open a shell into the specified service container
...
...
README.md
View file @
493fa342
...
...
@@ -68,6 +68,12 @@ Catalog/Course Discovery Service, you can run:
make devstack.open.discovery
```
To reset your environment and start provisioning from scratch, you can run:
```
sh
make devstack.destroy
```
### Docker Sync
Docker for Mac has known filesystem issues that significantly decrease
...
...
destroy.sh
0 → 100755
View file @
493fa342
set
-e
read
-p
"This will delete all data in your devstack. Would you like to proceed? [y/n] "
-r
if
[[
$REPLY
=
~ ^[Yy]
$
]]
then
echo
docker-compose down
docker volume rm devstack_mysql_data
docker volume rm devstack_mongo_data
docker volume rm devstack_elasticsearch_data
fi
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