Skip to content

Commit

Permalink
Secure GCP servers for Scope: open port 80.
Browse files Browse the repository at this point in the history
Scope's test #300 talks to test VM via port 80.
  • Loading branch information
marccarre committed Mar 8, 2017
1 parent a22536a commit 9e32194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration/gce.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ function setup() {
names=($(vm_names))
gcloud compute instances create "${names[@]}" --image "$TEMPLATE_NAME" --zone "$ZONE" --tags "test$SUFFIX" --network=test
my_ip="$(curl -s http://ipinfo.io/ip)"
gcloud compute firewall-rules create "test-allow-docker$SUFFIX" --network=test --allow tcp:2375,tcp:12375,tcp:4040 --target-tags "test$SUFFIX" --source-ranges "$my_ip"
gcloud compute firewall-rules create "test-allow-docker$SUFFIX" --network=test --allow tcp:2375,tcp:12375,tcp:4040,tcp:80 --target-tags "test$SUFFIX" --source-ranges "$my_ip"

gcloud compute config-ssh --ssh-key-file "$SSH_KEY_FILE"
sed -i '/UserKnownHostsFile=\/dev\/null/d' ~/.ssh/config
Expand Down

0 comments on commit 9e32194

Please sign in to comment.