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

Script to deploy nns-dapp in chunks #5527

Closed
wants to merge 13 commits into from
Closed

Conversation

dskloetd
Copy link
Contributor

Motivation

When deploying nns-dapp to an application subnet, the WASM is too big.
To work around this, we deploy a WASM without assets and then upload the assets in separate chunks.
This is done in a GitHub workflow but it would be useful to do it locally for testing as well.

Changes

  1. Fix scripts/nns-dapp/split-assets so it can work on Mac by using gtar instead of tar.
  2. Copy deployment code from the workflow to .github/workflows/deploy-to-app.yaml.
  3. Call .github/workflows/deploy-to-app.yaml from the workflow.

Tests

Tested manually on a local replica.

Todos

  • Add entry to changelog (if necessary).
    not necessary

@dskloetd dskloetd closed this Oct 4, 2024
@dskloetd dskloetd deleted the kloet/deploy-in-chunks branch October 4, 2024 12: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.

1 participant