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

Update Nodejs Apt Repository to latest #3434

Merged
merged 7 commits into from
Oct 17, 2023

Conversation

Kalaiselvi84
Copy link
Contributor

@Kalaiselvi84 Kalaiselvi84 commented Oct 17, 2023

What type of PR is this?

Uncomment only one /kind <> line, press enter to put that in a new line, and remove leading whitespace from that line:

/kind breaking
/kind bug
/kind cleanup
/kind documentation
/kind feature
/kind hotfix
/kind release

What this PR does / Why we need it:

Which issue(s) this PR fixes:

Work on #3430

Special notes for your reviewer:

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 641a9e2a-130a-43a8-9b36-997f8e6aae55

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:

  • git fetch https://github.com/googleforgames/agones.git pull/3434/head:pr_3434 && git checkout pr_3434
  • helm install agones ./install/helm/agones --namespace agones-system --set agones.image.registry=us-docker.pkg.dev/agones-images/ci --set agones.image.tag=1.36.0-dev-4c2084b-amd64

RUN echo "deb [signed-by=$KEYRING] https://deb.nodesource.com/$VERSION $DISTRO main" | tee /etc/apt/sources.list.d/nodesource.list
RUN echo "deb-src [signed-by=$KEYRING] https://deb.nodesource.com/$VERSION $DISTRO main" | tee -a /etc/apt/sources.list.d/nodesource.list
# Create deb repository for a specific Node major version
ARG NODE_MAJOR=10
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My bad, I typed 10 instead of 18 in the issue
But I think 20 would be ok too

Copy link
Collaborator

@steven-supersolid steven-supersolid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good as long as tests pass

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 911102f8-5fa5-46db-a49c-89cc94715ea4

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@google-oss-prow google-oss-prow bot added the lgtm label Oct 17, 2023
@markmandel
Copy link
Member

I think we'll need to update both this and agones/build/build-sdk-images/node/Dockerfile at the same time - since in the above is where the failure happens.

@Kalaiselvi84
Copy link
Contributor Author

Looks good as long as tests pass

Can you please check this log and confirm if everything looks good? https://gist.github.com/Kalaiselvi84/65cf8131f5f3062028ae03254ed1d83d

@Kalaiselvi84
Copy link
Contributor Author

Kalaiselvi84 commented Oct 17, 2023

I think we'll need to update both this and agones/build/build-sdk-images/node/Dockerfile at the same time - since in the above is where the failure happens.

I've updated the build-sdk-images/node/Dockerfile

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 9f9ec9b3-0095-47f5-a3fd-c0d61285b52d

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@markmandel
Copy link
Member

🤞🏻

@markmandel
Copy link
Member

markmandel commented Oct 17, 2023

Aarg, we'll need to do agones/build/build-sdk-images/restapi/Dockerfile as well (since it's all used in the same test).

I'm still not 100% sure we need nodejs there? But for right now, let's replace it so we can unstick CI, and we can try again later in removing the nodejs dependency from the image at a later date.

@Kalaiselvi84
Copy link
Contributor Author

Kalaiselvi84 commented Oct 17, 2023

Aarg, we'll need to do agones/build/build-sdk-images/restapi/Dockerfile as well (since it's all used in the same test).

I'm still not 100% sure we need nodejs there? But for right now, let's replace it so we can unstick CI, and we can try again later in removing the nodejs dependency from the image at a later date.

Done!
Shall we update the agones/examples/nodejs-simple/Dockerfile? It's the only file pending😅

@markmandel
Copy link
Member

Shall we update the agones/examples/nodejs-simple/Dockerfile? It's the only file pending😅

We can, but we'll need to bump the example image number and eventually push a new image at that time as well, so it could be handled seperately.

@markmandel
Copy link
Member

Just watching the build - looks like 11: test-gen-all-sdk-grpc passed. I think we have a winner here.

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 09e600fb-33c3-46fe-9b9d-d9eb49460e85

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:

  • git fetch https://github.com/googleforgames/agones.git pull/3434/head:pr_3434 && git checkout pr_3434
  • helm install agones ./install/helm/agones --namespace agones-system --set agones.image.registry=us-docker.pkg.dev/agones-images/ci --set agones.image.tag=1.36.0-dev-e032097-amd64

@Kalaiselvi84
Copy link
Contributor Author

Silly question: Are we good to merge, or do we need to test it?

@markmandel
Copy link
Member

This was the test 😄 - feel free to move this to "ready for review" 👍🏻

@google-oss-prow
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Kalaiselvi84, markmandel, 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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-prow google-oss-prow bot removed the lgtm label Oct 17, 2023
@google-oss-prow
Copy link

New changes are detected. LGTM label has been removed.

@Kalaiselvi84 Kalaiselvi84 marked this pull request as ready for review October 17, 2023 18:41
@markmandel markmandel enabled auto-merge (squash) October 17, 2023 18:41
@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 57be9e12-30a6-4452-a31b-99c1e008ffdc

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:

  • git fetch https://github.com/googleforgames/agones.git pull/3434/head:pr_3434 && git checkout pr_3434
  • helm install agones ./install/helm/agones --namespace agones-system --set agones.image.registry=us-docker.pkg.dev/agones-images/ci --set agones.image.tag=1.36.0-dev-d9e47da-amd64

@markmandel markmandel merged commit 1caefe0 into googleforgames:main Oct 17, 2023
3 checks passed
@Kalaiselvi84 Kalaiselvi84 added kind/cleanup Refactoring code, fixing up documentation, etc and removed kind/other labels Nov 2, 2023
@Kalaiselvi84 Kalaiselvi84 deleted the build-image/Dockerfile branch March 15, 2024 01:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved kind/cleanup Refactoring code, fixing up documentation, etc size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants