Skip to content

Commit

Permalink
Update node and the AMIs; unify some packer versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgodbolt committed Jun 30, 2024
1 parent 2473eef commit 5bfae1c
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .ozy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ apps:
terraform:
version: 1.5.6
packer:
version: 1.9.4
version: 1.10.2
type: zip
2 changes: 1 addition & 1 deletion packer/node.pkr.hcl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
packer {
required_version = "1.9.4"
required_version = "1.10.2"
required_plugins {
amazon = {
source = "github.com/hashicorp/amazon"
Expand Down
2 changes: 1 addition & 1 deletion setup-aarch64-node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ popd

pushd /opt
# node.js
TARGET_NODE_VERSION=v20.10.0
TARGET_NODE_VERSION=v20.15.0
echo "Installing node ${TARGET_NODE_VERSION}"
curl -sL "https://nodejs.org/dist/${TARGET_NODE_VERSION}/node-${TARGET_NODE_VERSION}-linux-arm64.tar.xz" | tar xJf - && mv node-${TARGET_NODE_VERSION}-linux-arm64 node
popd
Expand Down
2 changes: 1 addition & 1 deletion setup-node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ popd

pushd /opt
# node.js
TARGET_NODE_VERSION=v20.10.0
TARGET_NODE_VERSION=v20.15.0
echo "Installing node ${TARGET_NODE_VERSION}"
curl -sL "https://nodejs.org/dist/${TARGET_NODE_VERSION}/node-${TARGET_NODE_VERSION}-linux-x64.tar.xz" | tar xJf - && mv node-${TARGET_NODE_VERSION}-linux-x64 node
popd
Expand Down
6 changes: 3 additions & 3 deletions terraform/lc.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
locals {
image_id = "ami-0353125610d8ff086"
staging_image_id = "ami-0353125610d8ff086"
beta_image_id = "ami-0353125610d8ff086"
image_id = "ami-0511027aef4a5b488"
staging_image_id = "ami-0511027aef4a5b488"
beta_image_id = "ami-0511027aef4a5b488"
gpu_image_id = "ami-05e1d61b3348d349f"
winprod_image_id = "ami-0debb28ef52854280"
winstaging_image_id = "ami-0debb28ef52854280"
Expand Down

0 comments on commit 5bfae1c

Please sign in to comment.