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

Use custom_node_package and custom_awsbatchcli_package only when running system tests #2504

Merged
merged 1 commit into from
Oct 19, 2023

Conversation

enrico-usai
Copy link
Contributor

These packages are not required in CI/CD because only config recipes are executed there, then they are not required by local ec2 or docker tests, because locally we execute specific tests/controls that should have all the required parameters.

With this change we're also avoiding to install always version 3.4.1 of the node and use instead a package from develop.

Tests

  • Created new test for custom awsbatch cli package installation
  • Improved existing test for custom node package installation to check if the package is available on pypi

Executed:

  • bash kitchen.ec2.sh computefleet-install test custom-parallelcluster-node-rocky8
  • bash kitchen.ec2.sh awsbatch-install test custom-awsbatchcli-package-rocky8

@codecov
Copy link

codecov bot commented Oct 19, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (d80e164) 76.06% compared to head (f51e33e) 76.06%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2504   +/-   ##
========================================
  Coverage    76.06%   76.06%           
========================================
  Files           13       13           
  Lines         1876     1876           
========================================
  Hits          1427     1427           
  Misses         449      449           
Flag Coverage Δ
unittests 76.06% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

…ing system tests

These packages are not required in CI/CD because only config recipes are executed there,
then they are not required by local ec2 or docker tests, because locally we execute specific
tests/controls that should have all the required parameters.

With this change we're also avoiding to install always version 3.4.1 of the node
and use instead a package from develop.

### Tests

* Created new test for custom awsbatch cli package installation
* Improved existing test for custom node package installation to check if the package is available on pypi

Executed:
* `bash kitchen.ec2.sh computefleet-install test custom-parallelcluster-node-rocky8`
* `bash kitchen.ec2.sh awsbatch-install test custom-awsbatchcli-package-rocky8`

Signed-off-by: Enrico Usai <[email protected]>
@enrico-usai enrico-usai merged commit 635d556 into aws:develop Oct 19, 2023
28 checks passed
@enrico-usai enrico-usai deleted the wip/develop branch October 19, 2023 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants