mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-17 20:38:06 +00:00
Deploy update (#2650)
* Remove Python App Function Deployment Code and Code. * Updating yml and zip names. * Fixing ci.yml. * Typo. * Format * Trying to remove python service. * Updating directories. * Removing flag. * Format. * Fixng api-service-net ref. * Re-add requirement. * Fixing refs in bicep. * Specifying version. * Removing dotnet refs in integration tests. * Updating role assignment naming convention. * Adding ignore. * Update src/deny.toml Co-authored-by: George Pollard <porges@porg.es> * Update version. * Removing onefuzztypes dependency. * Switch app service plan to windows. * Update test version. * Changing version. * Returning version. * Trying to add onefuzz types back. * Force pipenv version. * Fix. * Syntax. * Renaming. * Trying different version. * Removing build step. * Fixing bicep parameter. * Retrying run with older version. * Trying pipenv with another version. * Forcing pipenv version in tox. * Adding pipenv fix and updating version. Co-authored-by: George Pollard <porges@porg.es>
This commit is contained in:
committed by
GitHub
parent
6c981f613d
commit
e0634a3365
@ -1790,8 +1790,6 @@ class Onefuzz:
|
||||
client_secret: Optional[str] = None,
|
||||
authority: Optional[str] = None,
|
||||
tenant_domain: Optional[str] = None,
|
||||
_dotnet_endpoint: Optional[str] = None,
|
||||
_dotnet_functions: Optional[List[str]] = None,
|
||||
) -> None:
|
||||
|
||||
if endpoint:
|
||||
@ -1804,10 +1802,6 @@ class Onefuzz:
|
||||
self._backend.client_secret = client_secret
|
||||
if tenant_domain is not None:
|
||||
self._backend.config.tenant_domain = tenant_domain
|
||||
if _dotnet_endpoint is not None:
|
||||
self._backend.config.dotnet_endpoint = _dotnet_endpoint
|
||||
if _dotnet_functions is not None:
|
||||
self._backend.config.dotnet_functions = _dotnet_functions
|
||||
|
||||
if self._backend.is_feature_enabled(PreviewFeature.job_templates.name):
|
||||
self.job_templates._load_cache()
|
||||
@ -1851,8 +1845,6 @@ class Onefuzz:
|
||||
client_id: Optional[str] = None,
|
||||
enable_feature: Optional[PreviewFeature] = None,
|
||||
tenant_domain: Optional[str] = None,
|
||||
_dotnet_endpoint: Optional[str] = None,
|
||||
_dotnet_functions: Optional[List[str]] = None,
|
||||
reset: Optional[bool] = None,
|
||||
) -> BackendConfig:
|
||||
"""Configure onefuzz CLI"""
|
||||
@ -1883,10 +1875,6 @@ class Onefuzz:
|
||||
self._backend.enable_feature(enable_feature.name)
|
||||
if tenant_domain is not None:
|
||||
self._backend.config.tenant_domain = tenant_domain
|
||||
if _dotnet_endpoint is not None:
|
||||
self._backend.config.dotnet_endpoint = _dotnet_endpoint
|
||||
if _dotnet_functions is not None:
|
||||
self._backend.config.dotnet_functions = _dotnet_functions
|
||||
self._backend.app = None
|
||||
self._backend.save_config()
|
||||
|
||||
|
Reference in New Issue
Block a user