Skip to content

Commit

Permalink
NO-ISSUE: Fix repo/KOGITO_UPGRADE_PROCESS after migrating KIE Sandb…
Browse files Browse the repository at this point in the history
…ox Quarkus Accelerator to `kie-tools` and move `RELEASE_PROCESS` to the `repo/` folder. (apache#2765)
  • Loading branch information
tiagobento authored Nov 26, 2024
1 parent 6cf5fa6 commit 886fd6e
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 65 deletions.
51 changes: 0 additions & 51 deletions RELEASE_PROCESS.md

This file was deleted.

14 changes: 0 additions & 14 deletions repo/KOGITO_UPGRADE_PROCESS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
21 changes: 21 additions & 0 deletions repo/RELEASE_PROCESS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->

### 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

0 comments on commit 886fd6e

Please sign in to comment.