-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from appsembler/jazzar/vanilla-setup
Vanilla Setup
- Loading branch information
Showing
12 changed files
with
428 additions
and
287 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# A key that has access to your edx-platform Github repos and to the GCP project you want to deploy the devstack in. | ||
# (PLEASE CHANGE) A key that has access to your edx-platform Github repos and to the GCP project you want to deploy the devstack in. | ||
SSH_KEY="$(HOME)/.ssh/id_rsa" | ||
|
||
# DON'T CHANGE: This is the project where the your instance will be created. | ||
# (PLEASE CHANGE) This is the project where the your instance will be created. | ||
PROJECT_ID="your-gcp-project-id" | ||
|
||
# This will be used while SSHing into your remote machine. Usually matches the one in the SSH Key. | ||
|
@@ -16,13 +16,13 @@ INSTANCE_NAME=$(USER)-at-$(subst .,-,$(HOST_NAME)) | |
# The name of the image on GCP if you are going to create one. | ||
IMAGE_NAME=devstack-$(INSTANCE_NAME) | ||
|
||
# DON'T CHANGE: A unique tag for your GCP instance. | ||
# (DON'T CHANGE) A unique tag for your GCP instance. | ||
INSTANCE_TAG=devstack-$(INSTANCE_NAME) | ||
|
||
# DON'T CHANGE: The name of the deny rule on GCP firewall. | ||
# (DON'T CHANGE) The name of the deny rule on GCP firewall. | ||
DENY_FIREWALL=deny-$(INSTANCE_NAME)-webserver-access | ||
|
||
# DON'T CHANGE: The name of the allow rule on GCP firewall. | ||
# (DON'T CHANGE) The name of the allow rule on GCP firewall. | ||
ALLOW_FIREWALL=allow-$(INSTANCE_NAME)-webserver-access | ||
|
||
# The size of the disk your instance is going to use in GB. We don't recommend it to be less than 50. | ||
|
@@ -43,26 +43,40 @@ TMP_DIR=~/.devstack | |
# The mount location. | ||
MOUNT_DIR=$(TMP_DIR)/mnt/ | ||
|
||
# DON'T CHANGE: The hosts file location. You can change it for test purposes. | ||
# (DON'T CHANGE) The hosts file location. You can change it for test purposes. | ||
HOSTS_FILE=/etc/hosts | ||
|
||
# The host name you are going to use to access Tahoe (i.e. http://$(TAHOE_HOST_NAME):19000). | ||
TAHOE_HOST_NAME=tahoe | ||
# A comma-separated list of hostnames you'd like to use. | ||
EDX_HOST_NAMES=edx.devstack.lms | ||
|
||
# Verbosity of GCloud commands we are running. Options [debug, info, warning, error, critical, none] | ||
VERBOSITY=critical | ||
|
||
# The location the toolkit is directing Ansible output to. To unhide it use `/dev/tty` instead. | ||
ANSIBLE_OUTPUT=/dev/null | ||
SHELL_OUTPUT=/dev/null | ||
|
||
HOME_DIR=/home/$(USER_NAME) | ||
|
||
# The location of devstack on the remote machine | ||
DEVSTACK_WORK_DIR=~/workspace | ||
DEVSTACK_WORK_DIR=$(HOME_DIR)/workspace | ||
|
||
# Devstack image family | ||
IMAGE_FAMILY=devstack | ||
|
||
# This is the service account's email address that is provisioned during creation or granted to you by an admin. | ||
# (PLEASE CHANGE) This is the service account's email address that is provisioned during creation or granted to you by an admin. | ||
SERVICE_ACCOUNT_EMAIL=[email protected] | ||
|
||
# The downloaded JSON file key of your GCP project. | ||
# (PLEASE CHANGE) The downloaded JSON file key of your GCP project. | ||
SERVICE_KEY_PATH=/path/to/service/account.json | ||
|
||
# The devstack repository URL. Change this if you want to use another clone. | ||
DEVSTACK_REPO_URL=https://github.com/edx/devstack.git | ||
|
||
# The devstack branch you want to deploy. | ||
DEVSTACK_REPO_BRANCH=master | ||
|
||
# The command that runs all of your devstack services (LMS, Studio, ...) Change it if you have a custom one. | ||
DEVSTACK_RUN_COMMAND=dev.up | ||
|
||
# Whether to deny all IPs (except yours) from accessing your instance or not. | ||
RESTRICT_INSTANCE=true |
Oops, something went wrong.