From 886fd6e40b8a1097ca53004af0a5c64f6e760c0c Mon Sep 17 00:00:00 2001 From: Tiago Bento <1584568+tiagobento@users.noreply.github.com> Date: Tue, 26 Nov 2024 11:50:29 -0500 Subject: [PATCH] NO-ISSUE: Fix `repo/KOGITO_UPGRADE_PROCESS` after migrating KIE Sandbox Quarkus Accelerator to `kie-tools` and move `RELEASE_PROCESS` to the `repo/` folder. (#2765) --- RELEASE_PROCESS.md | 51 ---------------------------------- repo/KOGITO_UPGRADE_PROCESS.md | 14 ---------- repo/RELEASE_PROCESS.md | 21 ++++++++++++++ 3 files changed, 21 insertions(+), 65 deletions(-) delete mode 100644 RELEASE_PROCESS.md create mode 100644 repo/RELEASE_PROCESS.md diff --git a/RELEASE_PROCESS.md b/RELEASE_PROCESS.md deleted file mode 100644 index 1ce6bffb4b3..00000000000 --- a/RELEASE_PROCESS.md +++ /dev/null @@ -1,51 +0,0 @@ - - -Release workflow (post 0.13.0) - -Make sure an associated tag to the release is created on: - -- https://github.com/kiegroup/kie-samples @ {version} -- https://github.com/apache/incubator-kie-sandbox-quarkus-accelerator @ {version} -- https://github.com/kiegroup/serverless-logic-sandbox-deployment @ quarkus-accelerator-${version} - ---- - -1. Update the `CHANGELOG.md` files and send a PR to `main`. -2. Create a `{version}-prerelease` branch from the commit you just made with the CHANGELOG updates. -3. Update version from `0.0.0` to `{version}` -- `pnpm update-version-to {version}`. -4. Push `{version}-prerelease` branch to `origin`. -5. 🔨(automatic) Jenkins job [Staging publish](https://ci-builds.apache.org/job/KIE/job/kie-tools/job/kie-tools-staging-publish). - - Create new draft release on GitHub. - - Upload staging artifacts to draft release. -6. 🔨(manual) WORKFLOW (`staging_publish_extended_services.yml`) - - Upload Extended Services staging artifacts for MacOS and Windows to the draft release. -7. Perform sanity checks - - ⚠️ Blocker found? Fix, cherry-pick to `main`, push to the `{version}-prerelease` branch, and go back to Step 5. -8. Update the release description with the release notes. -9. Remove the uploaded staging artifacts from the draft release. -10. Click on "Publish release" -11. 🔨(manual) Jenkins job [Release publish](https://ci-builds.apache.org/job/KIE/job/kie-tools/job/kie-tools-release-publish). - -- Click on Build with Parameters -- Set the Tag and what is going to be released -- Click on build -- ⚠️ Something failed? Delete the necessary artifacts from the release (for it to be uploaded again), and re-trigger only what failed. - -12. 🔨(manual) WORKFLOW (`release_publish_extended_services.yml`) - -- Upload Extended Services release artifacts for MacOS and Windows to the release. diff --git a/repo/KOGITO_UPGRADE_PROCESS.md b/repo/KOGITO_UPGRADE_PROCESS.md index 2896b7f32b1..2a118e9fd7b 100644 --- a/repo/KOGITO_UPGRADE_PROCESS.md +++ b/repo/KOGITO_UPGRADE_PROCESS.md @@ -92,20 +92,6 @@ Of course, a new Kogito version may lead to incompatibilities in the code and wi You can find an example of the Kogito version upgrade in [this PR](https://github.com/apache/incubator-kie-tools/pull/2229) -# Upgrading kie-sandbox-quarkus-accelerator - -The above updates (Java, Maven, Quarkus, and Kogito) must be reflected in the `kie-sandbox-quarkus-accelerator` module, which lives in another [repo](https://github.com/apache/incubator-kie-sandbox-quarkus-accelerator/) - -You need to update the `pom.xml` file of the `0.0.0` branch with the same version you applied in the `kie-tools` repo. -To test the `kie-sandbox-quarkus-accelerator` module with the updated version, please follow these steps: - -- Create a PR with the updated version in the `pom.xml` file; -- In kie-tools, `temporarily change gitRepositoryUrl` (fork link) and `gitRepositoryGitRef` (branch name) keys in `packages/online-editor/build/defaultEnvJson.ts` to point to your fork's PR (the one created in the above step) -- Run `pnpm -F @kie-tools/cors-proxy... build:dev` and `pnpm -F @kie-tools/cors-proxy start`; -- Run `pnpm -F @kie-tools/online-editor... build:dev` and `pnpm -F @kie-tools/online-editor start` to test it. - -You can find an example of the Kogito version upgrade in [this PR](https://github.com/apache/incubator-kie-sandbox-quarkus-accelerator/pull/8) - # Upgrading GraphQL schemas in `@kie-tools/runtime-tools-process-gateway-api`& `@kie-tools/runtime-tools-swf-gateway-api` The following commands will help to sync up the gateway apis the GraphQL schema with the new Kogito Data Index GraphQL schema: diff --git a/repo/RELEASE_PROCESS.md b/repo/RELEASE_PROCESS.md new file mode 100644 index 00000000000..5e1d95e52ff --- /dev/null +++ b/repo/RELEASE_PROCESS.md @@ -0,0 +1,21 @@ + + +### Release process (after migration to Apache - 10.0.0 and above) + +- **`main`**: TDB +- **`10.0.x`**: https://docs.google.com/document/d/1t-08b970i9PMBy-TSM64x0RUH46pzwnIhEi-LVeL0lg/edit?tab=t.0#heading=h.fthjiowpcqpu