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(synthetic-chain): allow overriding Docker repo/tag #177

Closed
wants to merge 1 commit into from

Conversation

michaelfig
Copy link
Member

Plumb in the default repository and tag names from the top level build defaults and buildConfig, which can also be overridden during Docker build or bake.

@michaelfig michaelfig added the enhancement New feature or request label Sep 9, 2024
@michaelfig michaelfig self-assigned this Sep 9, 2024
Comment on lines +26 to 31
repositoryColon: 'ghcr.io/agoric/agoric-3-proposals:',
sdkRepositoryColon: 'ghcr.io/agoric/agoric-sdk:',
platforms: null,
ag0FromTag: 'agoric-upgrade-7-2',
ag0RepositoryColon: 'ghcr.io/agoric/ag0:',
};
Copy link
Member

Choose a reason for hiding this comment

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

what motivates having all these parameterized?

Copy link
Member Author

Choose a reason for hiding this comment

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

Having a single source of truth. It felt icky to parameterise just the two I needed.

Copy link
Member

Choose a reason for hiding this comment

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

There was already a single source for the ag0 cases. It was the dockerfile. Those values can't ever change either.

I'm going to noodle on how to do this more cleanly

@michaelfig
Copy link
Member Author

Irrelevant, after biting the bullet in Agoric/agoric-sdk#10083 and modifying input package.jsons before the Agoric SDK prepare-build, and its output docker-bake.hcl afterwards.

@michaelfig michaelfig closed this Sep 12, 2024
@turadg turadg deleted the mfig/synthetic-chain-overrides branch September 13, 2024 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants