Skip to content

Conversation

@Quinn-With-Two-Ns
Copy link
Contributor

Build the test server in an ubuntu 18 container


- 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
10 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.

3 participants