This commit is contained in:
Mayel de Borniol 2022-05-23 14:42:37 +12:00
parent 4c55ebe5dc
commit fba2ccb3d5
9 changed files with 15 additions and 17 deletions

View file

@ -11,7 +11,7 @@ jobs:
# steps:
# - uses: actions/checkout@v2
# - name: Install system deps
# run: apk add git npm mailcap ca-certificates openssl-dev tzdata gettext curl rust cargo make gcc libc-dev
# run: apk add git npm mailcap ca-certificates openssl-dev tzdata gettext curl rust cargojust gcc libc-dev
# - name: Install hex
# run: mix local.hex --force
# - name: Install rebar
@ -19,7 +19,7 @@ jobs:
# - name: Install Elixir dependencies
# run: mix deps.get --only prod
# - name: Install JS dependencies
# run: make js.deps.get
# run: just js.deps.get
# - name: Prepare release
# run: |
# mix compile
@ -82,7 +82,7 @@ jobs:
access_token: ${{ github.token }}
-
name: Pre-build prep
run: make rel.prepare
run: apt install cargo && cargo install just && just rel-prepare
-
name: Build and push
id: docker_build
@ -140,7 +140,7 @@ jobs:
# password: ${{ secrets.DOCKERHUB_TOKEN }}
# -
# name: Pre-build prep
# run: make rel.prepare
# run: apt install cargo && cargo install just && just rel-prepare
# -
# name: Build and push
# id: docker_build
@ -196,7 +196,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Pre-build prep
run: make rel.prepare
run: apt install cargo && cargo install just && just rel-prepare
-
name: Build and push
id: docker_build
@ -253,7 +253,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Pre-build prep
run: make rel.prepare
run: apt install cargo && cargo install just && just rel-prepare
-
name: Build and push
id: docker_build

View file

@ -65,7 +65,7 @@ jobs:
key: ${{ runner.os }}-mix-${{ hashFiles('/mix.lock') }}
restore-keys: ${{ runner.os }}-mix-
- name: Install system deps
run: apk add mailcap ca-certificates openssl-dev tzdata gettext rust cargo make
run: apk add mailcap ca-certificates openssl-dev tzdata gettext rust cargo && cargo install just
- name: Install hex
run: mix local.hex --force
- name: Install rebar
@ -73,7 +73,7 @@ jobs:
# - name: Remove mix.lock
# run: rm mix.lock
- name: Prepare environment
run: make pre-run
run: just pre-run
- name: Install dependencies
run: mix deps.get
- name: Update Bonfire extensions to latest git versions

View file

@ -2,9 +2,7 @@ version: "3.5"
services:
web:
# You can build your own image from the source running:
# $ make rel-build
# $ make rel-tag-latest
# You can build your own image from the source running: `just rel-build && just rel-tag-latest`
image: "bonfirenetworks/bonfire:latest-${FLAVOUR}"
container_name: "bonfire_web"
restart: always

View file

@ -3,7 +3,7 @@
# COPY this file to /config/{dev|prod}/secrets.env and change ALL the values
# make sure you change everything to your own secrets and do not check this into git or any public host!
# for sessions/cookies, you can generate strings for these by running: make secrets
# for sessions/cookies, you can generate strings for these by running: just secrets
SECRET_KEY_BASE="you-should-put-a-secure-string-here"
SIGNING_SALT="you-should-put-a-different-secure-string-here"
ENCRYPTION_SALT="you-should-put-yet-another-secure-string-here"

View file

@ -2,7 +2,7 @@
# make sure you change everything to your own secrets!
# and do not check this into git or any public host
# for sessions/cookies, you can generate strings for these by running: make secrets
# for sessions/cookies, you can generate strings for these by running: just secrets
SECRET_KEY_BASE="you-should-put-a-secure-string-here"
SIGNING_SALT="you-should-put-a-different-secure-string-here"
ENCRYPTION_SALT="you-should-put-yet-another-secure-string-here"

View file

@ -2,7 +2,7 @@
# make sure you change everything to your own secrets!
# and do not check this into git or any public host
# for sessions/cookies, you can generate strings for these by running: make secrets
# for sessions/cookies, you can generate strings for these by running: just secrets
SECRET_KEY_BASE="you-should-put-a-secure-string-here"
SIGNING_SALT="you-should-put-a-different-secure-string-here"
ENCRYPTION_SALT="you-should-put-yet-another-secure-string-here"

View file

@ -2,7 +2,7 @@
# make sure you change everything to your own secrets!
# and do not check this into git or any public host
# for sessions/cookies, you can generate strings for these by running: make secrets
# for sessions/cookies, you can generate strings for these by running: just secrets
SECRET_KEY_BASE="you-should-put-a-secure-string-here"
SIGNING_SALT="you-should-put-a-different-secure-string-here"
ENCRYPTION_SALT="you-should-put-yet-another-secure-string-here"

View file

@ -2,7 +2,7 @@
# make sure you change everything to your own secrets!
# and do not check this into git or any public host
# for sessions/cookies, you can generate strings for these by running: make secrets
# for sessions/cookies, you can generate strings for these by running: just secrets
SECRET_KEY_BASE="you-should-put-a-secure-string-here"
SIGNING_SALT="you-should-put-a-different-secure-string-here"
ENCRYPTION_SALT="you-should-put-yet-another-secure-string-here"

View file

@ -3,7 +3,7 @@ defmodule Bonfire.MixProject do
use Mix.Project
@config [ # TODO: put these in ENV or an external writeable config file similar to deps.*
version: "0.2.0-alpha.102", # note that the flavour will automatically be added where the dash appears
version: "0.2.0-alpha.103", # note that the flavour will automatically be added where the dash appears
elixir: "~> 1.13",
default_flavour: "classic",
logo: "assets/static/images/bonfire-icon.png",