Create example of workflow with a build step#23
Conversation
9ffcc5c to
cfe905b
Compare
567b0f4 to
5008a18
Compare
|
Setting this one back to a draft, the TAR file I'm creating is larger than the 10 MB limit and we should be able to get it much smaller 👀 |
- Remove index.html from publisher cmd manifest - Add connect-extension.toml to the publisher-command-center extension
afde6a3 to
09657f0
Compare
Where / what is this limit? |
It appears when trying to use a bundle higher than 10 MB. A bit of digging: it is based on the Content Images setting According to the Connect Admin Guide:
|
|
@dotNomad - It looks like we have incorrectly applied The Connect does not limit bundle uploads. |
|
Ha! Sneaky. And for posterity (cause I went to look): that check is in the frontend. So presumably uploading with the API would have been fine. You're totally right Jordan that this particular extension also shouldn't be >10MB, but it's very possible that folks upload large bundles to Connect (since they might have datasets alongside them for example). But this extension definitely doesn't need to be that large so yeah we should make sure we're not pulling in extraneous files, etc. Could we spin off fixing the FileInput check for extensions into a separate issue? We should fix it, but it's technically not critical path for the extensions work we're doing if they get installed with API call(s). |
|
Yes. The API does not restrict bundle upload sizes. |
Having the method to select only necessary files is very nice so glad to have that in. Drastically lowering the file size is helpful.
I'll create an issue on the Connect issue board 👍 |

This PR introduces a new GitHub Workflow for the Publisher Commander Center extension that illustrates how we can integrate a build job prior to the package job.
This is very similar to the workflows introduced in #20 with a few differences:
build -> packagenpm run build) and uploads an artifact for the next job to use.The PR also includes some changes to the
publisher-command-centerextension like:connect-extension.tomlwhich is required to install the extension via the TAR bundleindex.htmlfrom themanifest.jsonof the extension since it isn't needed (it usesdist/index.html)To Test
publisher-command-center.tar.gzArtifact from the "Publisher Command Center Extension" workflow.