Merged PR 208: #2025: added GATE installation as part of pipeline
## Summary Installing GATE before running the primaite setup command so that the pipeline passes ## Test process *How have you tested this (if applicable)?* ## Checklist - [X] PR is linked to a **work item** - [X] **acceptance criteria** of linked ticket are met - [X] performed **self-review** of the code - [ ] written **tests** for any new functionality added with this PR - [ ] updated the **documentation** if this PR changes or adds functionality - [ ] written/updated **design docs** if this PR implements new functionality - [ ] updated the **change log** - [X] ran **pre-commit** checks for code style - [X] attended to any **TO-DOs** left in the code #2025: added GATE installation as part of pipeline Related work items: #2025
This commit is contained in:
@@ -81,6 +81,17 @@ stages:
|
|||||||
displayName: 'Install PrimAITE'
|
displayName: 'Install PrimAITE'
|
||||||
condition: eq( variables['Agent.OS'], 'Windows_NT' )
|
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: |
|
- script: |
|
||||||
primaite setup
|
primaite setup
|
||||||
displayName: 'Perform PrimAITE Setup'
|
displayName: 'Perform PrimAITE Setup'
|
||||||
|
|||||||
@@ -585,7 +585,7 @@ class AclObservation(AbstractObservation):
|
|||||||
self,
|
self,
|
||||||
node_ip_to_id: Dict[str, int],
|
node_ip_to_id: Dict[str, int],
|
||||||
ports: List[int],
|
ports: List[int],
|
||||||
protocols: list[str],
|
protocols: List[str],
|
||||||
where: Optional[Tuple[str]] = None,
|
where: Optional[Tuple[str]] = None,
|
||||||
num_rules: int = 10,
|
num_rules: int = 10,
|
||||||
) -> None:
|
) -> None:
|
||||||
|
|||||||
Reference in New Issue
Block a user