Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Release 3.8] Remove Spack InSpec Controls while Spack is disabled #2532

Merged
merged 1 commit into from
Nov 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -92,18 +92,18 @@ suites:
- /tag:install_system_authentication/
attributes:
resource: system_authentication:setup
- name: spack
run_list:
- recipe[aws-parallelcluster-tests::setup]
- recipe[aws-parallelcluster-tests::test_resource]
verifier:
controls:
- /tag:install_spack/
attributes:
resource: spack
dependencies:
- recipe:aws-parallelcluster-platform::directories
- resource:efa
# - name: spack
# run_list:
# - recipe[aws-parallelcluster-tests::setup]
# - recipe[aws-parallelcluster-tests::test_resource]
# verifier:
# controls:
# - /tag:install_spack/
# attributes:
# resource: spack
# dependencies:
# - recipe:aws-parallelcluster-platform::directories
# - resource:efa

# Recipes
- name: cfn_bootstrap
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions and
# limitations under the License.

control 'tag:install_spack_correctly_installed' do
control 'install_spack_correctly_installed' do
only_if { !os_properties.on_docker? }

describe directory(node['cluster']['spack']['root']) do
Expand Down Expand Up @@ -50,7 +50,7 @@
end
end

control 'tag:install_spack_can_install_packages' do
control 'install_spack_can_install_packages' do
only_if { !os_properties.on_docker? }
spack = "#{node['cluster']['spack']['root']}/bin/spack"

Expand Down
Loading