upgrade oban to v11 (#84)
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/84
This commit is contained in:
parent
ba8e0dff23
commit
3cbc401fe0
2 changed files with 9 additions and 1 deletions
|
@ -18,7 +18,7 @@ variables:
|
||||||
- refs/tags/stable-*
|
- refs/tags/stable-*
|
||||||
- &tag-build 'export BUILD_TAG=$${CI_COMMIT_TAG:-"$CI_COMMIT_BRANCH"} && export PLEROMA_BUILD_BRANCH=$BUILD_TAG'
|
- &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:
|
pipeline:
|
||||||
|
@ -51,6 +51,7 @@ pipeline:
|
||||||
- *clean
|
- *clean
|
||||||
- *setup-scw-s3
|
- *setup-scw-s3
|
||||||
- *setup-hex
|
- *setup-hex
|
||||||
|
- mix deps.clean --all
|
||||||
- *tag-build
|
- *tag-build
|
||||||
- mix deps.get --only prod
|
- mix deps.get --only prod
|
||||||
- mix release --path release
|
- mix release --path release
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
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
|
Loading…
Reference in a new issue