Skip to content

Commit

Permalink
fixing ci pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
tenmoves committed Apr 25, 2023
1 parent dd24618 commit cf030e5
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 4 deletions.
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ RUN git config user.name aebot \
# build release
RUN mix assets.deploy
RUN MIX_ENV=prod mix distillery.release
# gen PLT
RUN if [ $with_tests -eq 1 ]; then mix git_hooks.run pre_push ;fi

# Install
RUN mkdir -p /opt/app \
Expand Down
32 changes: 30 additions & 2 deletions scripts/governance/proposal_ci_job.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,36 @@ git add --all
echo "=== git commit"
git commit -m "${PROPOSAL_DESCRIPTION}"

echo "=== Run CI"
mix git_hooks.run pre_push
echo "=== Run CI START ==="

echo "=== Run CI -- Part 1 -- clean "
mix clean

echo "=== Run CI -- Part 2 -- format"
mix format --check-formatted

echo "=== Run CI -- 3 -- compile"
mix compile --warnings-as-errors

echo "=== Run CI -- 4 -- credo"
mix credo

echo "=== Run CI -- 5 -- sobelow"
mix sobelow

echo "=== Run CI -- 6 -- knigge"
mix knigge.verify

echo "=== Run CI -- 7 -- test"
#MIX_ENV=test mix test --trace

echo "=== Run CI -- 8 -- dialyzer"
#mix dialyzer

echo "=== Run CI -- 9 -- updates"
#mix check.updates

echo "=== Run CI DONE ==="

echo "=== Create upgrade release"
MIX_ENV=prod mix distillery.release --upgrade

0 comments on commit cf030e5

Please sign in to comment.