Add migrator

This commit is contained in:
Mayel de Borniol 2022-03-10 08:40:20 +13:00
parent 74008b1451
commit 267f9694c9
3 changed files with 3 additions and 3 deletions

View file

@ -35,7 +35,7 @@ jobs:
# CI: 1
classic_flavour_common_docker_release_build_push:
name: Classic flavour for x86 - Maybe tag version & release Docker image
name: Classic flavour - Maybe tag version & release Docker image
runs-on: ubuntu-latest
env:
FLAVOUR: classic
@ -103,7 +103,7 @@ jobs:
name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
# FIXME: tried running this separately to not slow down the release (it takes several hours doing them in parallel when including armv7), but putting this as a separate task overrides the image pushed to docker hub by the other one
# FIXME: tried running this separately to not slow down the release (currently about 10 min for x86, 40 min for x86+arm64, and several hours if you add armv7), but putting this as a separate task overwrites the image pushed to docker hub by the first one
# classic_flavour_arm_docker_release_build_push:
# name: Classic flavour for ARM archs - Maybe tag version & release Docker image
# runs-on: ubuntu-latest

View file

@ -104,7 +104,6 @@ FROM alpine:${ALPINE_VERSION}
ARG APP_NAME
ARG APP_VSN
ARG APP_BUILD
ARG PROXY_FRONTEND_URL
ENV APP_NAME=${APP_NAME} APP_VSN=${APP_VSN} APP_REVISION=${APP_VSN}-${APP_BUILD}

View file

@ -36,6 +36,7 @@ defmodule Bonfire.Application do
def applications(_) do
[ Bonfire.Web.Telemetry, # Metrics
Bonfire.Repo, # Database
EctoSparkles.AutoMigrator,
{Phoenix.PubSub, [name: Bonfire.PubSub, adapter: Phoenix.PubSub.PG2]}, # PubSub
# Persistent Data Services
Pointers.Tables,