File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ main() {
107107 fi
108108 aws ${_profile} --region " ${_region} " s3 cp aws-parallelcluster-cookbook-${_version} -${GIT_REF} .tgz s3://${_bucket} /${_key_path} /aws-parallelcluster-cookbook-${_version} -${GIT_REF} .tgz || _error_exit ' Failed to push cookbook to S3'
109109 aws ${_profile} --region " ${_region} " s3 cp aws-parallelcluster-cookbook-${_version} -${GIT_REF} .md5 s3://${_bucket} /${_key_path} /aws-parallelcluster-cookbook-${_version} -${GIT_REF} .md5 || _error_exit ' Failed to push cookbook md5 to S3'
110- aws ${_profile} --region " ${_region} " s3api head-object --bucket ${_bucket} --key ${_key_path} /aws-parallelcluster-cookbook-${_version} .tgz --output text --query LastModified > aws-parallelcluster-cookbook-${_version} -${GIT_REF} .tgz.date || _error_exit ' Failed to fetch LastModified date'
110+ aws ${_profile} --region " ${_region} " s3api head-object --bucket ${_bucket} --key ${_key_path} /aws-parallelcluster-cookbook-${_version} - ${GIT_REF} .tgz --output text --query LastModified > aws-parallelcluster-cookbook-${_version} -${GIT_REF} .tgz.date || _error_exit ' Failed to fetch LastModified date'
111111 aws ${_profile} --region " ${_region} " s3 cp aws-parallelcluster-cookbook-${_version} -${GIT_REF} .tgz.date s3://${_bucket} /${_key_path} /aws-parallelcluster-cookbook-${_version} -${GIT_REF} .tgz.date || _error_exit ' Failed to push cookbook date'
112112
113113 _bucket_region=$( aws ${_profile} s3api get-bucket-location --bucket ${_bucket} --output text)
@@ -122,7 +122,7 @@ main() {
122122 echo " "
123123 echo " DevSettings:"
124124 echo " Cookbook:"
125- echo " ChefCookbook: s3://${_bucket} /${_key_path} /aws-parallelcluster-cookbook-${_version} .tgz"
125+ echo " ChefCookbook: s3://${_bucket} /${_key_path} /aws-parallelcluster-cookbook-${_version} - ${GIT_REF} .tgz"
126126}
127127
128128main " $@ "
You can’t perform that action at this time.
0 commit comments