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

Install Minitar Version to 0.12 with Berkshelf version to 8.0.9 #6391

Closed
wants to merge 1 commit into from
Closed
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
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.12
/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
Loading