mirror of
https://github.com/bonfire-networks/bonfire-app.git
synced 2024-05-14 07:02:38 +00:00
This commit is contained in:
parent
3783b2ba14
commit
ae6dc44a07
8
justfile
8
justfile
|
@ -445,14 +445,14 @@ rel-build FORKS_TO_COPY_PATH="forks/" ARGS="": rel-init rel-prepare assets-prepa
|
|||
-t $APP_DOCKER_REPO:release-$FLAVOUR-$APP_VSN-$APP_BUILD \
|
||||
-f $APP_REL_DOCKERFILE .
|
||||
@echo Build complete: $APP_DOCKER_REPO:release-$FLAVOUR-$APP_VSN-$APP_BUILD
|
||||
@echo "Remember to run just rel-tag-latest or just rel-push"
|
||||
@echo "Remember to run just rel-tag or just rel-push"
|
||||
|
||||
rel-tag-commit build label:
|
||||
@docker tag $APP_DOCKER_REPO:release-$FLAVOUR-$APP_VSN-{{build}} $APP_DOCKER_REPO:{{label}}-$FLAVOUR-{{arch()}}
|
||||
rel-tag-commit build label: rel-init
|
||||
docker tag $APP_DOCKER_REPO:release-$FLAVOUR-$APP_VSN-{{build}} $APP_DOCKER_REPO:{{label}}-$FLAVOUR-{{arch()}}
|
||||
|
||||
# Add latest tag to last build
|
||||
rel-tag label='latest':
|
||||
@docker tag $APP_DOCKER_REPO:release-$FLAVOUR-$APP_VSN-$APP_BUILD $APP_DOCKER_REPO:{{label}}-$FLAVOUR-{{arch()}}
|
||||
just rel-tag-commit $APP_BUILD {{label}}
|
||||
|
||||
# Add latest tag to last build and push to Docker Hub
|
||||
rel-push label='latest':
|
||||
|
|
|
@ -8,6 +8,7 @@ defmodule Bonfire.Application do
|
|||
@deps Bonfire.Common.Extend.loaded_deps()
|
||||
@endpoint_module Application.compile_env!(@otp_app, :endpoint_module)
|
||||
@repo_module Application.compile_env!(@otp_app, :repo_module)
|
||||
@required_deps Mix.Project.config()[:required_deps]
|
||||
|
||||
use Application
|
||||
require Cachex.Spec
|
||||
|
@ -112,4 +113,5 @@ defmodule Bonfire.Application do
|
|||
def named_version, do: name() <> " " <> @version
|
||||
def repository, do: @repository
|
||||
def deps, do: @deps
|
||||
def required_deps, do: @required_deps
|
||||
end
|
||||
|
|
9
mix.exs
9
mix.exs
|
@ -72,6 +72,14 @@ defmodule Bonfire.MixProject do
|
|||
"bonfire_geolocate",
|
||||
"bonfire_valueflows"
|
||||
],
|
||||
required: [
|
||||
"bonfire_boundaries",
|
||||
"bonfire_social",
|
||||
"bonfire_me",
|
||||
"bonfire_ecto",
|
||||
"bonfire_epics",
|
||||
"bonfire_common"
|
||||
],
|
||||
localise: ["bonfire"],
|
||||
localise_self: []
|
||||
]
|
||||
|
@ -86,6 +94,7 @@ defmodule Bonfire.MixProject do
|
|||
elixirc_paths: elixirc_paths(Mix.env()),
|
||||
test_paths: test_paths(),
|
||||
test_deps: deps(:test),
|
||||
required_deps: @config[:deps_prefixes][:required],
|
||||
compilers: compilers(Mix.env()),
|
||||
start_permanent: Mix.env() == :prod,
|
||||
aliases: aliases(),
|
||||
|
|
Loading…
Reference in a new issue