Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Latest commit

 

History

History
26 lines (23 loc) · 1.58 KB

Contributing.md

File metadata and controls

26 lines (23 loc) · 1.58 KB

How to provide a new version on VS Code Marketplace

  • Check that the version in package.json has not been published yet
    • If already published:
      • Upgrade the version in package.json
      • Run 'npm install' so that the package-lock.json is updated
      • Push changes in a PR
      • Wait for PR to be merged
  • Check that someone listed as submitter in Jenkinsfile is available
  • Start build on Jenkins CI with publishToMarketPlace parameter checked
  • Wait the build is waiting on step Publish to Marketplace
  • Ensure you are logged in
  • Go to the console log of the build and click "Proceed"
  • Wait few minutes and check that it has been published on VS Code Marketplace
  • Keep build forever for later reference and edit build information to indicate the version
  • Create a tag
  • Push the tag to vscode-camelk repository
  • Prepare next iteration:
    • Upgrade the version in package.json
    • Run 'npm install' so that the package-lock.json is updated
    • Push changes in a PR
    • Follow PR until it is approved/merged

Note about test execution and GitHub API access

Access to GitHub API has a rate limit. This rate limit is lower for unauthenticated requests. On CI, this rate limit was often hit (either Circle CI or Jenkins). To avoid that, a GitHub token needs to be provided through VSCODE_CAMELK_GITHUB_TOKEN environment variable. This token doesn't require any specific rights.