Skip to content

Commit

Permalink
Install Minitar Version to 0.8 with Berkshelf version to 8.0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Himani Deshpande committed Aug 13, 2024
1 parent 9882f24 commit 63e66e3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cli/src/pcluster/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
"parallelcluster": "3.11.0",
"cookbook": "aws-parallelcluster-cookbook-3.11.0",
"chef": "18.4.12",
"berkshelf": "8.0.7",
"berkshelf": "8.0.9",
"ami": "dev",
}

Expand Down
10 changes: 5 additions & 5 deletions cli/src/pcluster/resources/imagebuilder/parallelcluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ constants:
value: 18.4.12
- BerkshelfVersion:
type: string
value: 8.0.7
value: 8.0.9
- FailExitCode:
type: string
value: 1
Expand Down Expand Up @@ -220,12 +220,12 @@ phases:
mkdir -p /opt/cinc/embedded/ssl/certs
ln -sf ${!CA_CERTS_FILE} /opt/cinc/embedded/ssl/certs/cacert.pem
fi
curl --retry 3 -L -o gems.tgz https://${AWS::Region}-aws-parallelcluster.s3.${AWS::Region}.${AWS::URLSuffix}/archives/dependencies/ruby/gems.tgz
tar -xf gems.tgz
cd vendor/cache
cd vendor/cache
/opt/cinc/embedded/bin/gem install --no-document minitar:0.8
/opt/cinc/embedded/bin/gem install --local --no-document berkshelf:{{ BerkshelfVersion }}
# Download and vendor Cookbook
Expand All @@ -236,7 +236,7 @@ phases:
- |
set -v
mkdir -p /etc/chef && sudo chown -R root:root /etc/chef
curl --retry 3 -L -o /etc/chef/aws-parallelcluster-cookbook.tgz "{{ build.CookbookUrl.outputs.stdout }}"
mkdir -p /tmp/cookbooks
Expand Down

0 comments on commit 63e66e3

Please sign in to comment.