Skip to content

Conversation

@hgreebe
Copy link
Contributor

@hgreebe hgreebe commented Jul 24, 2024

Description of changes

  • Add support for build image in ADC
  • Patch AWS_CA_BUNDLE to make awscli work in ADC

Tests

  • Ran createami integration tests
  • Tested build-image command in ADC

Please review the guidelines for contributing and Pull Request Instructions.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@hgreebe hgreebe requested review from a team as code owners July 24, 2024 18:48
Comment on lines +27 to +31
if aws_region.start_with?("us-iso")
%w(libibverbs-utils librdmacm-utils)
else
%w(environment-modules libibverbs-utils librdmacm-utils)
end
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is environment-modules removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same reasoning as the other comment I left

Comment on lines +30 to +32
%w(dkms rpm-build make check check-devel)
else
%w(dkms rpm-build make check check-devel subunit subunit-devel)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why some is removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

those are not available in ADC regions, so they are downloaded in install_packages through the epel_deps.tar.gz artifiact.

@hgreebe hgreebe force-pushed the adc-release-3.10 branch 2 times, most recently from a0dfdd3 to 5b349be Compare July 25, 2024 12:21
@hgreebe hgreebe force-pushed the adc-release-3.10 branch from 5b349be to 05b9c18 Compare July 25, 2024 12:25
@hgreebe hgreebe merged commit 1759b77 into aws:release-3.10 Jul 25, 2024
hgreebe added a commit to hgreebe/aws-parallelcluster-cookbook that referenced this pull request Sep 5, 2024
* [ADC Build Image] Get build dependencies through awscli

* [ADC Build Image] Disable epel repo for alinux2

* [ADC Build Image] Install missing yum dependencies from s3

* [ADC Build Image] Get dependencies using https

* [ADC Build Image] Patch AWS_CA_BUNDLE

* [ADC Build Image] Include differing paths for iso regions

* [ADC Build Image] Update changelog

---------

Co-authored-by: Hanwen <68928867+hanwen-pcluste@users.noreply.github.com>
Signed-off-by: Helena Greebe <hgreebe@amazon.com>
hgreebe added a commit to hgreebe/aws-parallelcluster-cookbook that referenced this pull request Sep 5, 2024
* [ADC Build Image] Get build dependencies through awscli

* [ADC Build Image] Disable epel repo for alinux2

* [ADC Build Image] Install missing yum dependencies from s3

* [ADC Build Image] Get dependencies using https

* [ADC Build Image] Patch AWS_CA_BUNDLE

* [ADC Build Image] Include differing paths for iso regions

* [ADC Build Image] Update changelog

---------

Co-authored-by: Hanwen <68928867+hanwen-pcluste@users.noreply.github.com>
Signed-off-by: Helena Greebe <hgreebe@amazon.com>
hgreebe added a commit to hgreebe/aws-parallelcluster-cookbook that referenced this pull request Sep 5, 2024
* [ADC Build Image] Get build dependencies through awscli

* [ADC Build Image] Disable epel repo for alinux2

* [ADC Build Image] Install missing yum dependencies from s3

* [ADC Build Image] Get dependencies using https

* [ADC Build Image] Patch AWS_CA_BUNDLE

* [ADC Build Image] Include differing paths for iso regions

* [ADC Build Image] Update changelog

---------

Co-authored-by: Hanwen <68928867+hanwen-pcluste@users.noreply.github.com>
Signed-off-by: Helena Greebe <hgreebe@amazon.com>
hgreebe added a commit that referenced this pull request Sep 6, 2024
* [ADC Build Image] Get build dependencies through awscli

* [ADC Build Image] Disable epel repo for alinux2

* [ADC Build Image] Install missing yum dependencies from s3

* [ADC Build Image] Get dependencies using https

* [ADC Build Image] Patch AWS_CA_BUNDLE

* [ADC Build Image] Include differing paths for iso regions

* [ADC Build Image] Update changelog

---------

Signed-off-by: Helena Greebe <hgreebe@amazon.com>
Co-authored-by: Hanwen <68928867+hanwen-pcluste@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants