- Go 1.21 or later
- GNU Make
Build all platform binaries:
make buildBuild a specific platform:
make bin/code-marketplace-linux-amd64Available targets:
bin/code-marketplace-darwin-amd64bin/code-marketplace-darwin-arm64bin/code-marketplace-linux-amd64bin/code-marketplace-linux-arm64bin/code-marketplace-windows-amd64bin/code-marketplace-windows-arm64
mkdir extensions
go run ./cmd/marketplace/main.go server --extensions-dir ./extensionsWhen you make a change that affects people deploying the marketplace please update the changelog as part of your PR.
You can use make gen to generate a mock extensions directory for testing and
make upload to upload them to an Artifactory repository.
To run the tests:
make test
To run the Artifactory tests against a real repository instead of a mock:
export ARTIFACTORY_URI=myuri
export ARTIFACTORY_REPO=myrepo
export ARTIFACTORY_TOKEN=mytoken
make test
See the readme for using the marketplace with code-server.
When testing with code-server you may run into issues with content security policy if the marketplace runs on a different domain over HTTP; in this case you will need to disable content security policy in your browser or manually edit the policy in code-server's source.
- Check that the changelog lists all the important changes.
- Update the changelog with the release date.
- Push a tag with the new version.
- Update the resulting draft release with the changelog contents.
- Publish the draft release.
- Bump the Helm chart version once the Docker images have published.