From e6b7f0ffca7d9614fb39d09a67c17f74b22ab096 Mon Sep 17 00:00:00 2001 From: Martin Sumner Date: Thu, 26 Sep 2024 14:19:52 +0100 Subject: [PATCH] Update for OpenRiak --- .github/workflows/erlang.yml | 24 ++++++------------------ rebar.config | 25 ++++++++++--------------- 2 files changed, 16 insertions(+), 33 deletions(-) diff --git a/.github/workflows/erlang.yml b/.github/workflows/erlang.yml index 037271a9a..075394185 100644 --- a/.github/workflows/erlang.yml +++ b/.github/workflows/erlang.yml @@ -2,10 +2,11 @@ name: Erlang CI on: push: - branches: [ nhse-develop ] + branches: + - nhse-develop pull_request: - branches: [ nhse-develop ] - + branches: + - nhse-develop jobs: @@ -17,25 +18,12 @@ jobs: strategy: fail-fast: false matrix: - otp: [22, 24, 25] + otp: [24] os: [ubuntu-latest] - # OTP lower than 23 does not run on ubuntu-latest (22.04), see - # https://github.com/erlef/setup-beam#compatibility-between-operating-system-and-erlangotp - exclude: - - otp: 22 - os: ubuntu-latest - include: - - otp: 22 - os: ubuntu-20.04 steps: - uses: lukka/get-cmake@latest - - uses: actions/checkout@v2 - - name: Install dependencies (Ubuntu) - if: ${{ startsWith(matrix.os, 'ubuntu') }} - run: | - sudo apt-get -qq update - sudo apt-get -qq install libsnappy-dev libc6-dev + - uses: actions/checkout@v4 - name: Install Erlang/OTP uses: erlef/setup-beam@v1 with: diff --git a/rebar.config b/rebar.config index d39d80a53..b276e30f5 100644 --- a/rebar.config +++ b/rebar.config @@ -15,16 +15,11 @@ {xref_checks,[undefined_function_calls,undefined_functions]}. -%% XXX yz_kv is here becase Ryan has not yet made a generic hook interface for object modification -%% XXX yz_stat is here for similar reasons -- we do not yet support dynamic stat hooks -%% XXX object is here because it's a new Lager sync -{xref_queries, [{"(XC - UC) || (XU - X - B - \"(cluster_info|dtrace|yz_kv|yz_stat|object)\" : Mod)", []}]}. - {erl_first_files, [ "src/riak_kv_backend.erl" ]}. -{plugins, [{rebar3_gpb_plugin, {git, "https://github.com/nhs-riak/rebar3_gpb_plugin", {tag, "nhse-develop"}}}, +{plugins, [{rebar3_gpb_plugin, {git, "https://github.com/OpenRiak/rebar3_gpb_plugin", {tag, "nhse-develop"}}}, {eqc_rebar, {git, "https://github.com/Quviq/eqc-rebar", {branch, "master"}}}]}. {gpb_opts, [{module_name_suffix, "_pb"}, @@ -42,16 +37,16 @@ ]}. {deps, [ - {riak_core, {git, "https://github.com/nhs-riak/riak_core.git", {branch, "nhse-develop"}}}, - {sidejob, {git, "https://github.com/nhs-riak/sidejob.git", {branch, "nhse-develop"}}}, - {bitcask, {git, "https://github.com/nhs-riak/bitcask.git", {branch, "nhse-develop"}}}, + {riak_core, {git, "https://github.com/OpenRiak/riak_core.git", {branch, "nhse-develop"}}}, + {sidejob, {git, "https://github.com/OpenRiak/sidejob.git", {branch, "nhse-develop"}}}, + {bitcask, {git, "https://github.com/OpenRiak/bitcask.git", {branch, "nhse-develop"}}}, {redbug, {git, "https://github.com/massemanet/redbug", {branch, "master"}}}, {recon, {git, "https://github.com/ferd/recon", {tag, "2.5.2"}}}, {sext, {git, "https://github.com/uwiger/sext.git", {tag, "1.8.0"}}}, - {riak_pipe, {git, "https://github.com/nhs-riak/riak_pipe.git", {branch, "nhse-develop"}}}, - {riak_dt, {git, "https://github.com/nhs-riak/riak_dt.git", {branch, "nhse-develop"}}}, - {riak_api, {git, "https://github.com/nhs-riak/riak_api.git", {branch, "nhse-develop"}}}, - {hyper, {git, "https://github.com/nhs-riak/hyper", {branch, "nhse-develop"}}}, - {kv_index_tictactree, {git, "https://github.com/nhs-riak/kv_index_tictactree.git", {branch, "nhse-develop"}}}, - {rhc, {git, "https://github.com/nhs-riak/riak-erlang-http-client", {branch, "nhse-develop"}}} + {riak_pipe, {git, "https://github.com/OpenRiak/riak_pipe.git", {branch, "nhse-develop"}}}, + {riak_dt, {git, "https://github.com/OpenRiak/riak_dt.git", {branch, "nhse-develop"}}}, + {riak_api, {git, "https://github.com/OpenRiak/riak_api.git", {branch, "nhse-develop"}}}, + {hyper, {git, "https://github.com/OpenRiak/hyper", {branch, "nhse-develop"}}}, + {kv_index_tictactree, {git, "https://github.com/OpenRiak/kv_index_tictactree.git", {branch, "nhse-develop"}}}, + {rhc, {git, "https://github.com/OpenRiak/riak-erlang-http-client", {branch, "nhse-develop"}}} ]}.