Skip to content
This repository was archived by the owner on Aug 1, 2024. It is now read-only.

Commit b4b5f29

Browse files
authored
dev.clone should use ssh by default (#550)
dev.clone should use ssh by default
1 parent 83729e6 commit b4b5f29

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ before_install:
3535
- docker version
3636
- docker-compose --version
3737
- make requirements
38-
- make dev.clone
38+
- make dev.clone.https
3939
- make dev.pull."$SERVICES"
4040

4141
script:

Makefile

+4-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
.PHONY: analytics-pipeline-devstack-test analytics-pipeline-shell \
1010
analyticspipeline-shell backup build-courses check-memory \
1111
create-test-course credentials-shell destroy dev.cache-programs \
12-
dev.check dev.checkout dev.clone dev.clone.ssh dev.down dev.kill \
12+
dev.check dev.checkout dev.clone dev.clone.ssh dev.clone.https dev.down dev.kill \
1313
dev.nfs.setup devpi-password dev.provision \
1414
dev.provision.analytics_pipeline dev.provision.services \
1515
dev.provision.xqueue dev.ps dev.pull dev.repo.reset dev.reset \
@@ -122,12 +122,14 @@ dev.ps: ## View list of created services and their statuses.
122122
dev.checkout: ## Check out "openedx-release/$OPENEDX_RELEASE" in each repo if set, "master" otherwise
123123
./repo.sh checkout
124124

125-
dev.clone: ## Clone service repos using HTTPS method to the parent directory
125+
dev.clone.https: ## Clone service repos using HTTPS method to the parent directory
126126
./repo.sh clone
127127

128128
dev.clone.ssh: ## Clone service repos using SSH method to the parent directory
129129
./repo.sh clone_ssh
130130

131+
dev.clone: dev.clone.ssh ## Clone service repos to the parent directory
132+
131133
dev.provision.services: ## Provision default services with local mounted directories
132134
# We provision all default services as well as 'e2e' (end-to-end tests).
133135
# e2e is not part of `DEFAULT_SERVICES` because it isn't a service;

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ All of the services can be run by following the steps below. For analyticstack,
110110

111111
.. code:: sh
112112
113-
make dev.clone # or, `make dev.clone.ssh` if you have SSH keys set up.
113+
make dev.clone # or, `make dev.clone.https` if you don't have SSH keys set up.
114114
115115
You may customize where the local repositories are found by setting the
116116
DEVSTACK\_WORKSPACE environment variable.

appveyor.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ build_script:
2424
# https://openedx.atlassian.net/browse/TE-2761
2525
#- docker-switch-linux
2626
- md X:\devstack
27-
- "\"%ProgramFiles%/Git/bin/bash.exe\" -c \"make dev.clone\""
27+
- "\"%ProgramFiles%/Git/bin/bash.exe\" -c \"make dev.clone.https\""
2828
# Stop here until we get provisioning to finish reliably
2929
#- "\"%ProgramFiles%/Git/bin/bash.exe\" -c \"make dev.pull\""
3030

scripts/Jenkinsfiles/snapshot

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ pipeline {
1515
withPythonEnv('System-CPython-2.7') {
1616
dir('devstack') {
1717
sh 'make requirements'
18-
sh 'make dev.clone'
18+
sh 'make dev.clone.https'
1919
sh 'make dev.pull'
2020
sh 'make dev.provision'
2121
sh 'python scripts/snapshot.py ../devstack_snapshot'

0 commit comments

Comments
 (0)