This commit is contained in:
parent
0917aff37b
commit
c555022ea7
@ -16,15 +16,19 @@ steps:
|
|||||||
- assets/node_modules/
|
- assets/node_modules/
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
image: bitwalker/alpine-elixir-phoenix:1.13
|
image: elixir:1.13.4-alpine
|
||||||
environment:
|
environment:
|
||||||
TEST_DATABASE_URL: ecto://postgres:postgres@database/cannery_test
|
TEST_DATABASE_URL: ecto://postgres:postgres@database/cannery_test
|
||||||
HOST: testing.example.tld
|
HOST: testing.example.tld
|
||||||
commands:
|
commands:
|
||||||
|
- apk add --no-cache build-base npm git python3
|
||||||
- mix local.rebar --force
|
- mix local.rebar --force
|
||||||
- mix local.hex --force
|
- mix local.hex --force
|
||||||
- mix deps.get
|
- mix deps.get
|
||||||
- npm install --prefix assets
|
- mix deps.compile
|
||||||
|
- npm --prefix ./assets ci --progress=false --no-audit --loglevel=error
|
||||||
|
- npm run --prefix ./assets deploy
|
||||||
|
- mix do phx.digest, gettext.extract
|
||||||
- mix test
|
- mix test
|
||||||
|
|
||||||
- name: build and publish stable
|
- name: build and publish stable
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
elixir 1.13.2-otp-24
|
elixir 1.13.4-otp-24
|
||||||
erlang 24.2
|
erlang 24.2
|
||||||
nodejs 16.13.2
|
nodejs 16.13.2
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
- Fix not being able to edit ammo group when fully used up
|
- Fix not being able to edit ammo group when fully used up
|
||||||
- Fix bug with average price per round calculation
|
- Fix bug with average price per round calculation
|
||||||
- Show average price per round on ammo type table
|
- Show average price per round on ammo type table
|
||||||
|
- Use Elixir v1.13.4
|
||||||
|
|
||||||
# v0.4.1
|
# v0.4.1
|
||||||
- Fix button and tag text wrapping
|
- Fix button and tag text wrapping
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM elixir:1.13-alpine AS build
|
FROM elixir:1.13.4-alpine AS build
|
||||||
|
|
||||||
# install build dependencies
|
# install build dependencies
|
||||||
RUN apk add --no-cache build-base npm git python3
|
RUN apk add --no-cache build-base npm git python3
|
||||||
|
2
mix.exs
2
mix.exs
@ -5,7 +5,7 @@ defmodule Cannery.MixProject do
|
|||||||
[
|
[
|
||||||
app: :cannery,
|
app: :cannery,
|
||||||
version: "0.5.0",
|
version: "0.5.0",
|
||||||
elixir: "~> 1.12",
|
elixir: "1.13.4",
|
||||||
elixirc_paths: elixirc_paths(Mix.env()),
|
elixirc_paths: elixirc_paths(Mix.env()),
|
||||||
compilers: [:gettext] ++ Mix.compilers(),
|
compilers: [:gettext] ++ Mix.compilers(),
|
||||||
start_permanent: Mix.env() == :prod,
|
start_permanent: Mix.env() == :prod,
|
||||||
|
Loading…
Reference in New Issue
Block a user