Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/84
- refs/tags/stable-*
- &tag-build 'export BUILD_TAG=$${CI_COMMIT_TAG:-"$CI_COMMIT_BRANCH"} && export PLEROMA_BUILD_BRANCH=$BUILD_TAG'
- - &clean "(rm -rf release || true) && (rm -rf _build || true) && (rm -rf /root/.mix) && (rm scaleway-cli || true) && (mix deps.clean --all || true)"
+ - &clean "(rm -rf release || true) && (rm -rf _build || true) && (rm -rf /root/.mix) && (rm scaleway-cli || true)"
pipeline:
- *clean
- *setup-scw-s3
- *setup-hex
+ - mix deps.clean --all
- *tag-build
- mix deps.get --only prod
- mix release --path release
--- /dev/null
+defmodule Pleroma.Repo.Migrations.UpgradeObanToV11 do
+ use Ecto.Migration
+
+ def up, do: Oban.Migrations.up(version: 11)
+
+ def down, do: Oban.Migrations.down(version: 11)
+end