-
Notifications
You must be signed in to change notification settings - Fork 819
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
Update to nodejs 16 and npm lockfile version 2 #2465
Conversation
const util = require('util'); | ||
|
||
const sleep = util.promisify(setTimeout); | ||
const {setTimeout} = require('timers/promises'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will require using Node.js 16, we could revert if we want the examples to remain backwards compatible
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd be more concerned if the SDK code required the new version but I think it's ok for the example code to use the new version.
Build Failed 😱 Build Id: 51e8bf1f-e678-4175-98e4-8017b941f1fe To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
@steven-supersolid: GitHub didn't allow me to request PR reviews from the following users: robertbailey. Note that only googleforgames members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/cc roberthbailey |
The build failed on this step
Looking at https://deb.nodesource.com/node_12.x/dists/, there is a |
Debian 8 "jessie" is super old (initially released in 2015) so I'm not sure why we would still be using it. Our build image is using Debian 10 "buster" (see here). Any idea why it switches from buster
to jessie
in the following step? |
It looks like the version arg was introduced in #2438 and set differently |
From https://github.com/nodesource/distributions/blob/master/README.md#manual-installation it looks like we could alternatively we could replace the manual arg setting with the following if that will execute correctly in the Dockerfile?
|
Build Failed 😱 Build Id: 63dd11ac-1803-415f-bf77-0c92f4717755 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Tests failing due to an expired certificate on a 3rd party website:
|
You can add a |
The certificate looks to be renewed so will try another test |
Build Failed 😱 Build Id: e4b8f9cf-350f-451b-b745-e214acae2a80 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Build Succeeded 👏 Build Id: eec12505-bcb8-4abc-8827-a041ade26438 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
const util = require('util'); | ||
|
||
const sleep = util.promisify(setTimeout); | ||
const {setTimeout} = require('timers/promises'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd be more concerned if the SDK code required the new version but I think it's ok for the example code to use the new version.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: roberthbailey, steven-supersolid The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
The arg doesn't work as I tried before and I need to provide a specific DISTRO. |
We can change the DISTRO ARG from jessie to buster here. |
What type of PR is this?
/kind cleanup
What this PR does / Why we need it:
Which issue(s) this PR fixes:
Closes #2450
Special notes for your reviewer: