Skip to content

Commit

Permalink
cicd for cloudlab and minor fix that triggers delete an immature + apply
Browse files Browse the repository at this point in the history
  • Loading branch information
abessiari committed Mar 15, 2024
1 parent 9807394 commit d5a04fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ubuntu_22_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ env:
SENSE_SECRET: ${{ secrets.SENSE_SECRET }}
SENSE_SLIVER_KEY: ${{ secrets.SENSE_SLIVER_KEY }}
RUN_FABRIC_AWS_SENSE: ${{ vars.RUN_FABRIC_AWS_SENSE }}
RUN_CLAB: ${{ vars.RUN_CLAB }}

jobs:
UbuntuTest:
Expand Down Expand Up @@ -104,7 +105,7 @@ jobs:
${{ github.workspace }}/cicd/run-fabfed.sh cicd/test_configs/fabric_native_aws $session $session-varfile.yml
- name: Test Cloudlab
if: ${{ env.RUN_FABRIC_AWS_SENSE == 'false' || env.RUN_FABRIC_AWS_SENSE == false }}
if: ${{ env.RUN_CLAB == 'false' }}
run: |
session=cicd-clab
echo "site: CLEM" > $session-varfile.yml
Expand Down
2 changes: 1 addition & 1 deletion fabfed/provider/cloudlab/cloudlab_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def do_add_resource(self, *, resource: dict):

for idx in range(0, node_count):
node_name = self.resource_name(resource, idx)
node = CloudlabNode(label=label, name=f'{node_name}-{idx}', provider=self, network=net)
node = CloudlabNode(label=label, name=f'{node_name}', provider=self, network=net)
self._nodes.append(node)
self.resource_listener.on_added(source=self, provider=self, resource=node)
return
Expand Down

0 comments on commit d5a04fb

Please sign in to comment.