mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-13 23:40:02 +08:00
Add Vagrant support to submit_build.py
This commit is contained in:
1
Vagrantfile
vendored
1
Vagrantfile
vendored
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user