Fix dockerfile being able to pass in params
Change config directory to local config_app one
This commit is contained in:
parent
acf242f241
commit
13293ecdea
14 changed files with 45 additions and 30 deletions
|
@ -1,6 +1,6 @@
|
|||
import time
|
||||
|
||||
from boot import setup_jwt_proxy
|
||||
# from boot import setup_jwt_proxy
|
||||
from util.secscan.api import SecurityScannerAPI
|
||||
from util.config.validators import BaseValidator, ConfigValidationException
|
||||
|
||||
|
@ -23,9 +23,9 @@ class SecurityScannerValidator(BaseValidator):
|
|||
|
||||
api = SecurityScannerAPI(config, None, server_hostname, client=client, skip_validation=True, uri_creator=uri_creator)
|
||||
|
||||
if not is_testing:
|
||||
# if not is_testing:
|
||||
# Generate a temporary Quay key to use for signing the outgoing requests.
|
||||
setup_jwt_proxy()
|
||||
# setup_jwt_proxy()
|
||||
|
||||
# We have to wait for JWT proxy to restart with the newly generated key.
|
||||
max_tries = 5
|
||||
|
|
Reference in a new issue