From 4a909cf84fec9cb8cef08093e3957afe4bd9f984 Mon Sep 17 00:00:00 2001 From: Esteban Zimanyi Date: Wed, 15 Jul 2026 08:27:35 +0200 Subject: [PATCH] Pin the MEOS source commit for provision-meos MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Record the upstream MobilityDB commit in tools/meos-source-commit.txt and have CI read it to feed provision-meos, so the derived catalog and the libmeos build stay in lockstep with one pinned surface. This matches the Spark/Flink/Kafka bindings, giving every provision-meos consumer the same way to select the MEOS source — a single-file edit to bump it. --- .github/workflows/build.yml | 10 +++++++++- tools/meos-source-commit.txt | 1 + 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 tools/meos-source-commit.txt diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0e79750..bfa2b77 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,11 +25,19 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Resolve the MEOS source commit + id: meos + # The MEOS catalog (meos-idl.json) and the libmeos build are derived from one + # upstream MobilityDB commit, recorded once in tools/meos-source-commit.txt. CI + # reads it so the derived catalog and the native library stay in lockstep with + # the pinned surface — bumping the surface is a single edit there, no SHA duplicated. + run: echo "sha=$(tr -d '[:space:]' < tools/meos-source-commit.txt)" >> "$GITHUB_OUTPUT" + - name: Provision MEOS (catalog + all-families libmeos) id: provision uses: MobilityDB/MEOS-API/.github/actions/provision-meos@master with: - mobilitydb-ref: master + mobilitydb-ref: ${{ steps.meos.outputs.sha }} build-libmeos: "true" - name: Setup Python diff --git a/tools/meos-source-commit.txt b/tools/meos-source-commit.txt new file mode 100644 index 0000000..92f7d24 --- /dev/null +++ b/tools/meos-source-commit.txt @@ -0,0 +1 @@ +21eb87481e000b52f5136979d0396f81fbfd2a1b