docker / extensions-submissions

Submit your Docker Extension here
Apache License 2.0
11 stars 2 forks source link

[Submission]: Project Copacetic Docker Desktop Extension #166

Closed jgrer closed 1 month ago

jgrer commented 1 month ago

Docker Hub repository name

projectcopacetic/copacetic-docker-desktop-extension

Terms of services

github-actions[bot] commented 1 month ago

:white_check_mark: @jgrer has accepted the terms of service.

The automatic validation of your extension has started, you will see the result in ~10 minutes :hourglass_flowing_sand:.

github-actions[bot] commented 1 month ago

:white_check_mark: The extension projectcopacetic/copacetic-docker-desktop-extension is valid :tada:.

Now, @docker/extensions will authorise the publication of the extension to the marketplace. Once the extension is published, this issue will be closed.

In the meantime, please tell us about your experience building a Docker Desktop extension here: https://docs.google.com/forms/d/e/1FAIpQLSdruIWGS9Em0p2jVIixQeiVyQJs27EzLA4ks2YzlBZpWUJC2Q/viewform.

jgrer commented 1 month ago

@gtardif I'm having some difficulty trying to use the continuous integration tools for testing docker desktop extensions. I tried initially building and installing the extension in the test javascript file like the example but ended up making them part of the steps in the workflow. Now I get this error when trying on the DesktopUI.start() method:

message: 'Failed to fetch browser webSocket URL from http://localhost:34419/json/version: request to http://localhost:34419/json/version failed, reason: connect ECONNREFUSED 127.0.0.1:34419

Do you guys have a yaml file that shows the correct way to set up the github action for the extension tests? Thank you

gtardif commented 1 month ago

Hi @jgrer, thx for the feedback, we need to update a bit our documentation because we recently changed the default Desktop settings to not allow installing non marketplace extensions, so this has to be changed after installing Desktop in the CI. Here is an example of a working workflow, with a step to update Desktop settings: https://github.com/docker/volumes-backup-extension/blob/main/.github/workflows/e2e.yaml#L34-L37 (given your error message, I just realised it seems you're hitting another issue ; I hope the rest of the example might help pinpointing what is not working in your case)

publisher-extensions-bot[bot] commented 1 month ago

:tada: Congratulations, your extension has been published to the marketplace.

It may not appear in your Docker Desktop yet. In that case, restart Docker Desktop (don't worry, users will see it as soon as the cache is refreshed, every ~12 hours).

If you haven't already, please tell us about your experience building a Docker Desktop extension here.