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: support for multiple sdks and abstract machine making into create_image script in sdk #24

Closed
wants to merge 1 commit into from

Conversation

stskeeps
Copy link
Contributor

This probably requires upping CARTESI_DEFAULT_SDK_VERSION as well.

Copy link

changeset-bot bot commented May 11, 2024

⚠️ No Changeset found

Latest commit: fa82ab2

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

@endersonmaia endersonmaia left a comment

Choose a reason for hiding this comment

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

Install changesets and add a changset file where you propose the minor version bump for the cartesi/sdk package.

@@ -19,6 +19,7 @@ type ImageInfo = {
env: string[];
ramSize: string;
sdkVersion: string;
sdkType: string;
Copy link
Contributor

Choose a reason for hiding this comment

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

I suggest making this variable consistent with the label.

  • sdkName
  • CARTESI_LABEL_SDK_NAME
  • io.cartesi.rollups.sdk_name

packages/sdk/Dockerfile Outdated Show resolved Hide resolved
packages/sdk/create_image Outdated Show resolved Hide resolved
packages/sdk/create_image Outdated Show resolved Hide resolved
@stskeeps stskeeps force-pushed the feat/multiple-sdk branch from ee546bd to bb054ff Compare May 13, 2024 09:51
@stskeeps stskeeps force-pushed the feat/multiple-sdk branch from bb054ff to fa82ab2 Compare May 13, 2024 09:52
Copy link
Contributor

@endersonmaia endersonmaia left a comment

Choose a reason for hiding this comment

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

@stskeeps changeset will take care of updating the CHANGELOG and package.json files when changes hit the main branch, a GH Actions job will create/update the Release PR.

Since this PR has changes for two packages with a dependency between them, we'd need to have the changes in separate PRs.

The first one is with changes to the cartesi/sdk package, so we can release it first. Another PR with changes to the cartesi/cli making use of the new cartesi/sdk.

@endersonmaia endersonmaia requested a review from tuler May 13, 2024 10:41
@stskeeps
Copy link
Contributor Author

OK, so close this pull request and I've opened as a start #26 - this is the style desired right?

@stskeeps stskeeps closed this May 13, 2024
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