Release build process - OpenLiberty/liberty-tools-eclipse GitHub Wiki

(Sorry... most of this information is usable to IBM-employees only)

1. Run the test build in Jenkins (Optional)

https://hyc-liberty-tools-team-jenkins.swg-devops.com/job/liberty-tools-eclipse-test/

The test build runs our suite of tests on Linux. It is configured to run every Saturday. If no code changes have been delivered since then and the latest run is passing, there is no need to run these again.

2. Run the release build in Jenkins

https://hyc-liberty-tools-team-jenkins.swg-devops.com/job/liberty-tools-eclipse-release/

The release build does the following:

  1. Clones and builds the latest content from this git repository
  2. Signs the repository content
  3. Outputs the signed repository directory and repository zip

3. Download and manually test

The release build already runs all of our test scenarios on Linux. The only required testing at this point is to make sure the tool installs without the "Installing unsigned content" prompt (we have yet to figure out how to automate this check).

4. Upload the repository directory and repository.zip to DHE

  1. SFTP using IBM intranet id to w3-transfer.boulder.ibm.com
  2. CD to /www/stage/export/pub/software/openliberty/liberty-tools-eclipse
  3. Make new directory for new version
  4. Transfer repository/ and repository.zip to new directory and latest/ directory
  5. Wait for sync to public site: https://public.dhe.ibm.com/ibmdl/export/pub/software/openliberty/liberty-tools-eclipse/ (should occur every hour)

5. Create new entry in Eclipse Marketplace

  1. Log in to https://marketplace.eclipse.org/content/liberty-tools
  2. Click "Edit" on marketplace entry
  3. Create new "Solution Version" for the new version being added (Add link to DHE public site)

6. Create git tag and release

  1. Check out latest in local git main branch
  2. git tag <tag_name> e.g. git tag liberty-tools-0.9.0.202305051539
  3. git push origin <tag_name>
  4. Click on "Draft new release" here: https://github.com/OpenLiberty/liberty-tools-eclipse/releases
  5. Select newly created tag, add title and description (following previous releases)
  6. Change name of repository.zip to full name e.g. io.openliberty.tools.update.eclipse-repository-0.9.0.202305051539.zip and attach to release
⚠️ **GitHub.com Fallback** ⚠️