#2025: added GATE installation as part of pipeline

This commit is contained in:
Czar.Echavez
2023-11-07 14:00:08 +00:00
parent 0ea282166d
commit e0d694a736
2 changed files with 12 additions and 1 deletions

View File

@@ -81,6 +81,17 @@ stages:
displayName: 'Install PrimAITE'
condition: eq( variables['Agent.OS'], 'Windows_NT' )
- script: |
GATE_WHEEL=$(ls ./GATE/arcd_gate*.whl)
python -m pip install GATE_WHEEL[dev]
displayName: 'Install GATE'
condition: or(eq( variables['Agent.OS'], 'Linux' ), eq( variables['Agent.OS'], 'Darwin' ))
- script: |
forfiles /p GATE\ /m *.whl /c "cmd /c python -m pip install @file[dev]"
displayName: 'Install GATE'
condition: eq( variables['Agent.OS'], 'Windows_NT' )
- script: |
primaite setup
displayName: 'Perform PrimAITE Setup'

View File

@@ -585,7 +585,7 @@ class AclObservation(AbstractObservation):
self,
node_ip_to_id: Dict[str, int],
ports: List[int],
protocols: list[str],
protocols: List[str],
where: Optional[Tuple[str]] = None,
num_rules: int = 10,
) -> None: