Skip to content

Fix computing code shasum inside docker build - #4436

Merged
mnaamani merged 4 commits into
Joystream:masterfrom
mnaamani:node-docker-version-string-fix
Nov 16, 2022
Merged

mnaamani merged 4 commits into
Joystream:masterfrom
mnaamani:node-docker-version-string-fix

Conversation

@mnaamani

@mnaamani mnaamani commented Nov 12, 2022 •

Copy link
Copy Markdown
Member

Computing shasum of code inside of docker build will not produce the same result as computing on the repo because the files are copied and their dates change we weren't copying the joystream-node.Dockerfile and setting the RUNTIME_PROFILE env var.

So decided to just pass in the computed value as a build arg.

@vercel

vercel Bot commented Nov 12, 2022 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated
pioneer-testnet ⬜️ Ignored (Inspect) Nov 14, 2022 at 11:21AM (UTC)

@mnaamani
mnaamani force-pushed the node-docker-version-string-fix branch from 951d33b to 79fd6df Compare November 13, 2022 07:55
@mnaamani
mnaamani requested a review from Lezek123 November 13, 2022 07:59
@mnaamani
mnaamani marked this pull request as ready for review November 13, 2022 16:04
@mnaamani

Copy link
Copy Markdown
Member Author

I also updated docker image build to include the compressed .wasm file which we now use for the runtime upgrade.

@Lezek123 Lezek123 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@mnaamani
mnaamani merged commit dbbc100 into Joystream:master Nov 16, 2022
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