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

feat: deterministic docker changes part 1 #419

Merged
merged 25 commits into from
Dec 18, 2024

Conversation

mattp-swirldslabs
Copy link
Contributor

@mattp-swirldslabs mattp-swirldslabs commented Dec 17, 2024

Description:

  • Added Dockerfile determinism directives
  • Added workflow entry point... another PR to come

Related issue(s):

Fixes #409

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

@mattp-swirldslabs mattp-swirldslabs self-assigned this Dec 17, 2024
@mattp-swirldslabs mattp-swirldslabs added the Block Node Issues/PR related to the Block Node. label Dec 17, 2024
@mattp-swirldslabs mattp-swirldslabs added this to the 0.4.0 milestone Dec 17, 2024
@mattp-swirldslabs mattp-swirldslabs marked this pull request as ready for review December 17, 2024 20:26
@mattp-swirldslabs mattp-swirldslabs requested review from a team as code owners December 17, 2024 20:26
@mattp-swirldslabs mattp-swirldslabs force-pushed the 00409-deterministic-docker-changes branch from 6fe0ac3 to 1b6bea3 Compare December 17, 2024 20:34
AlfredoG87
AlfredoG87 previously approved these changes Dec 17, 2024
Copy link
Contributor

@AlfredoG87 AlfredoG87 left a comment

Choose a reason for hiding this comment

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

LGTM

@mattp-swirldslabs mattp-swirldslabs changed the title feat: deterministic docker changes feat: deterministic docker changes part 1 Dec 17, 2024
jsync-swirlds
jsync-swirlds previously approved these changes Dec 18, 2024
Copy link
Member

@jsync-swirlds jsync-swirlds left a comment

Choose a reason for hiding this comment

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

Nothing blocking, but we should upgrade the Java version (both in scripts and in the dockerfile); and I have a few questions and suggestions for future improvements (e.g. part 2).

.github/workflows/release-push-image.yaml Show resolved Hide resolved
gradlew.bat Show resolved Hide resolved
server/docker/Dockerfile Show resolved Hide resolved
server/docker/Dockerfile Show resolved Hide resolved
@mattp-swirldslabs mattp-swirldslabs force-pushed the 00409-deterministic-docker-changes branch from 8727877 to 9af03fb Compare December 18, 2024 16:26
@mattp-swirldslabs mattp-swirldslabs merged commit 7a6702a into main Dec 18, 2024
9 checks passed
@mattp-swirldslabs mattp-swirldslabs deleted the 00409-deterministic-docker-changes branch December 18, 2024 20:53
Copy link

codecov bot commented Dec 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.02%. Comparing base (27d3197) to head (9af03fb).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #419   +/-   ##
=========================================
  Coverage     97.02%   97.02%           
  Complexity      409      409           
=========================================
  Files            82       82           
  Lines          1446     1446           
  Branches         89       89           
=========================================
  Hits           1403     1403           
  Misses           32       32           
  Partials         11       11           

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Block Node Issues/PR related to the Block Node.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Configure the Block Node Dockerfile to build deterministic images
4 participants