mirror of
https://github.com/bonfire-networks/bonfire-app.git
synced 2024-05-17 00:22:40 +00:00
Add migrator
This commit is contained in:
parent
74008b1451
commit
267f9694c9
4
.github/workflows/release.yaml
vendored
4
.github/workflows/release.yaml
vendored
|
@ -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
|
||||
|
|
|
@ -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}
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue