Skip to content

Commit

Permalink
Remove aws-parallelcluster-shared/test dependency from other cookbooks
Browse files Browse the repository at this point in the history
A Chef InSpec profile can bring in the controls and custom resources from another Chef InSpec profile.
This dependency is not required because we don't need to execute controls or custom resources from aws-parallelcluster-shared cookbook.

Removing this dependency we should solve the concurrency issue causing random failures with the error:
```
[2023-12-14T23:25:37.069Z] >>>>>>     Failed to complete #verify action: [No such file or directory @ rb_file_s_stat - /var/jenkins_home/jobs/kitchen_tests_3/workspace/pcluster_cookbook/cookbooks/aws-parallelcluster-shared/test/inspec.json] on slurm-config-compute-fleet-arm64-t4gxlarge-alinux2
```

### References
* https://docs.chef.io/inspec/profiles/depends/

Signed-off-by: Enrico Usai <[email protected]>
  • Loading branch information
enrico-usai committed Dec 15, 2023
1 parent 8d2bb6d commit 8cb0fdc
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 24 deletions.
4 changes: 0 additions & 4 deletions cookbooks/aws-parallelcluster-awsbatch/test/inspec.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
---
maintainer: 'Amazon Web Services'
license: 'Apache-2.0'

depends:
- name: shared
path: cookbooks/aws-parallelcluster-shared/test
4 changes: 0 additions & 4 deletions cookbooks/aws-parallelcluster-computefleet/test/inspec.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
---
maintainer: 'Amazon Web Services'
license: 'Apache-2.0'

depends:
- name: shared
path: cookbooks/aws-parallelcluster-shared/test
4 changes: 0 additions & 4 deletions cookbooks/aws-parallelcluster-entrypoints/test/inspec.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
---
maintainer: 'Amazon Web Services'
license: 'Apache-2.0'

depends:
- name: shared
path: cookbooks/aws-parallelcluster-shared/test
4 changes: 0 additions & 4 deletions cookbooks/aws-parallelcluster-environment/test/inspec.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
---
maintainer: 'Amazon Web Services'
license: 'Apache-2.0'

depends:
- name: shared
path: cookbooks/aws-parallelcluster-shared/test
4 changes: 0 additions & 4 deletions cookbooks/aws-parallelcluster-platform/test/inspec.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
---
maintainer: 'Amazon Web Services'
license: 'Apache-2.0'

depends:
- name: shared
path: cookbooks/aws-parallelcluster-shared/test
4 changes: 0 additions & 4 deletions cookbooks/aws-parallelcluster-slurm/test/inspec.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
---
maintainer: 'Amazon Web Services'
license: 'Apache-2.0'

depends:
- name: shared
path: cookbooks/aws-parallelcluster-shared/test

0 comments on commit 8cb0fdc

Please sign in to comment.