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

Fix CI after GHA's drop of node16 actions #2338

Merged
merged 3 commits into from
Dec 2, 2024

Conversation

Quinn-With-Two-Ns
Copy link
Contributor

Build the test server in an ubuntu 18 container

@@ -92,7 +98,7 @@ jobs:
distribution: "temurin"

- name: Set up Gradle
uses: gradle/actions/setup-gradle@v3
uses: gradle/actions/setup-gradle@v4
Copy link
Contributor

Choose a reason for hiding this comment

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

There are other places we use gradle/actions/setup-gradle@v3. Should update those too.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

docker run \
--rm -w /github/workspace -v "$(pwd):/github/workspace" \
$(docker build -q ./docker/native-image) \
sh -c "./gradlew :temporal-test-server:build"
Copy link
Contributor

Choose a reason for hiding this comment

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

Now that you moved installation stuff to a docker image, you probably no longer need the sh -c and quotes.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep, fixed

@@ -0,0 +1,8 @@
FROM ubuntu:18.04
Copy link
Contributor

Choose a reason for hiding this comment

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

It would be pertinent to add some comments in this docker file explaining to outside readers why we are using an old distro.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added a comment

@Quinn-With-Two-Ns Quinn-With-Two-Ns marked this pull request as ready for review December 1, 2024 00:20
@Quinn-With-Two-Ns Quinn-With-Two-Ns requested a review from a team as a code owner December 1, 2024 00:20
Copy link
Contributor

@mjameswh mjameswh left a comment

Choose a reason for hiding this comment

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

Thanks for completing that.

@Quinn-With-Two-Ns Quinn-With-Two-Ns merged commit fcc0343 into master Dec 2, 2024
11 checks passed
@Quinn-With-Two-Ns Quinn-With-Two-Ns deleted the fix-gha-node16-deprecation-quinn branch December 2, 2024 05:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants