Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

Commit

Permalink
Remove refs to gs://gae_node_packages (#265)
Browse files Browse the repository at this point in the history
  • Loading branch information
jahjahbin authored Aug 10, 2023
1 parent 03b9617 commit 98098b3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions runtime-image/contents/bootstrap_node
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function usage() {
echo " fails, the installation is aborted."
echo " --direct Download and install directly from"
echo " nodejs.org instead of from"
echo " https://storage.googleapis.com/gae_node_packages"
echo " https://storage.googleapis.com/gcp-node-packages"
echo " --help Prints this help message"
echo ""
echo " version The version of Node.js to install."
Expand Down Expand Up @@ -93,7 +93,7 @@ if [ "${direct}" == "true" ]; then
# verify the Node.js binary
checksum_file="SHASUMS256.txt.asc"
else
base_url="https://storage.googleapis.com/gae_node_packages"
base_url="https://storage.googleapis.com/gcp-node-packages"
checksum_file="${node_version}-SHASUMS256.txt.asc"
fi

Expand Down
6 changes: 3 additions & 3 deletions runtime-image/contents/install_node
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function request(method, host, path, cb) {

function getAvailableVersions(cb) {
request(
'GET', 'storage.googleapis.com', '/gae_node_packages/node_versions',
'GET', 'storage.googleapis.com', '/gcp-node-packages/node_versions',
function(err, body) {
if (err) {
return cb(err);
Expand Down Expand Up @@ -78,7 +78,7 @@ function verifyBinaryExists(version, cb) {
request(
'HEAD',
'storage.googleapis.com',
'/gae_node_packages/node-' + version + '-linux-x64.tar.gz',
'/gcp-node-packages/node-' + version + '-linux-x64.tar.gz',
function(err) {
if (err) {
return cb(new Error(
Expand Down Expand Up @@ -160,7 +160,7 @@ function printUsageAndExit() {
console.log(' fails, the installation is aborted.');
console.log(' --direct Download and install directly from');
console.log(' nodejs.org instead of from');
console.log(' https://storage.googleapis.com/gae_node_packages');
console.log(' https://storage.googleapis.com/gcp-node-packages');
console.log(' --help Prints this help message');
console.log('');
console.log(' version The version of Node.js to install.');
Expand Down

0 comments on commit 98098b3

Please sign in to comment.