Add Vagrant support to submit_build.py

This commit is contained in:
Matt Prahl
2016-12-12 16:49:23 -05:00
parent e0240edee6
commit 41187110b5
2 changed files with 2 additions and 1 deletions

1
Vagrantfile vendored
View File

@@ -42,6 +42,7 @@ Vagrant.configure("2") do |config|
config.vm.synced_folder "./", "/tmp/module_build_service"
config.vm.provision "file", source: "/var/tmp/krbcc", destination: "/var/tmp/krbcc", run: "always"
config.vm.network "forwarded_port", guest: 5000, host: 5000
config.vm.network "forwarded_port", guest: 13747, host: 13747
config.vm.provision "shell", inline: $script
config.vm.provision :shell, inline: "mbs-frontend &", run: "always"
config.vm.provision :shell, inline: "mbs-daemon &", run: "always"

View File

@@ -8,7 +8,7 @@ def listen_for_token():
Listens on port 13747 on localhost for a redirect request by OIDC
server, parses the response and returns the "access_token" value.
"""
TCP_IP = '127.0.0.1'
TCP_IP = '0.0.0.0'
TCP_PORT = 13747
BUFFER_SIZE = 1024