diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 8613670..f722f9e 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -21,6 +21,11 @@ jobs: java-version: '17' cache: gradle + - name: Publish sitmun-shared to the local Maven repository + run: | + chmod +x back/shared/sitmun-shared/gradlew + back/shared/sitmun-shared/gradlew -p back/shared/sitmun-shared publishToMavenLocal + - name: Set up Node 20 uses: actions/setup-node@v5 with: @@ -71,6 +76,11 @@ jobs: java-version: '17' cache: gradle + - name: Publish sitmun-shared to the local Maven repository + run: | + chmod +x back/shared/sitmun-shared/gradlew + back/shared/sitmun-shared/gradlew -p back/shared/sitmun-shared publishToMavenLocal + - name: Set up Node 20 uses: actions/setup-node@v5 with: @@ -121,6 +131,11 @@ jobs: java-version: '17' cache: gradle + - name: Publish sitmun-shared to the local Maven repository + run: | + chmod +x back/shared/sitmun-shared/gradlew + back/shared/sitmun-shared/gradlew -p back/shared/sitmun-shared publishToMavenLocal + - name: Set up Node 20 uses: actions/setup-node@v5 with: @@ -176,6 +191,11 @@ jobs: java-version: '17' cache: gradle + - name: Publish sitmun-shared to the local Maven repository + run: | + chmod +x back/shared/sitmun-shared/gradlew + back/shared/sitmun-shared/gradlew -p back/shared/sitmun-shared publishToMavenLocal + - name: Set up Node 20 uses: actions/setup-node@v5 with: @@ -231,6 +251,11 @@ jobs: java-version: '17' cache: gradle + - name: Publish sitmun-shared to the local Maven repository + run: | + chmod +x back/shared/sitmun-shared/gradlew + back/shared/sitmun-shared/gradlew -p back/shared/sitmun-shared publishToMavenLocal + - name: Set up Node 20 uses: actions/setup-node@v5 with: @@ -275,6 +300,11 @@ jobs: java-version: '17' cache: gradle + - name: Publish sitmun-shared to the local Maven repository + run: | + chmod +x back/shared/sitmun-shared/gradlew + back/shared/sitmun-shared/gradlew -p back/shared/sitmun-shared publishToMavenLocal + - name: Set up Node 20 uses: actions/setup-node@v5 with: diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f1d103..4d0f12a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -45,6 +45,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), #### Stack-level +- **E2E**: Each root E2E job publishes the pinned `sitmun-shared` to the local Maven repository before the suite starts. The backend resolves `sitmun-spring-upstream` and `sitmun-proxy-contract` `1.2.9` from that repository. - **Submodules**: `sitmun-mbtiles` follows the stack branch. `git submodule update --remote` on stack `dev` stays on mbtiles `dev`, the commit the stack already pins. - **Liquibase (Oracle)**: `changelog/26_map_image_task_type_pre23.yaml` takes changelog 22's slot in `profiles/oracle/liquibase/master.xml`. Changeset `22c_document_export_codelists` used `SELECT` without `FROM` and SQL `TRUE` literals, both 23ai-only, so install and upgrade failed on 19c with `ORA-00923` ([#74](https://github.com/sitmun/sitmun-application-stack/issues/74)). Changelog 22 stays byte-identical and unreferenced; its `DATABASECHANGELOG` rows remain on databases that applied it, and 26 is guarded so those databases converge without duplicate rows. - **Liquibase tests**: `test_liquibase_1.2.7_to_head_upgrade.sh` honours `SITMUN_ORACLE_IMAGE` and `SITMUN_ORACLE_WAIT_TRIES`. CI job `oracle-pre23-from` runs the Oracle 1.2.7 → HEAD upgrade on `gvenzl/oracle-xe:21-slim` ([#74](https://github.com/sitmun/sitmun-application-stack/issues/74)).