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

Build isolated.tar files manually #86

Merged
merged 8 commits into from
Dec 4, 2024
Merged

Conversation

jadecarino
Copy link
Contributor

@jadecarino jadecarino commented Dec 4, 2024

Why?

When doing some prerelease testing of the Isolated/MVP zip contents, by using the isolated.tar according to the instructions on galasa.dev, I found that the isolated.tar in both zips was broken. When you run docker load -i isolated.tar the response should say something like Loaded image:... but it said open /var/lib/docker/tmp/docker-import-4172513240/bin/json: no such file or directory.

From investigation in PR #85 I found that the isolated.tar is corrupted from the moment its built in the GH workflow - so the docker build-push-action must not be building it correctly.

This PR changes the build of the isolated.tar to use docker save which is simpler anyway and achieves the same thing, and builds an uncorrupted tar file (I've tested it locally against the galasa.dev instructions).

Note: discussion with @techcobweb decided we should not rename the isolated.tar for the MVP to mvp.tar as it might be confusing for users as all previous communication refers only to isolated.tar.

Signed-off-by: Jade Carino <[email protected]>
Signed-off-by: Jade Carino <[email protected]>
Signed-off-by: Jade Carino <[email protected]>
Signed-off-by: Jade Carino <[email protected]>
Signed-off-by: Jade Carino <[email protected]>
@jadecarino jadecarino merged commit 6ad1665 into main Dec 4, 2024
3 checks passed
@jadecarino jadecarino deleted the jade-build-tars-manually branch December 4, 2024 16:46
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