Added ameba to ci
This commit is contained in:
parent
22f6a6b785
commit
daa228dfa8
|
@ -4,6 +4,11 @@ type: docker
|
|||
name: default
|
||||
|
||||
steps:
|
||||
- name: ameba
|
||||
image: veelenga/ameba
|
||||
commands:
|
||||
- cd docker/backend/
|
||||
- ameba
|
||||
- name: pgsanity
|
||||
image: python:alpine
|
||||
commands:
|
||||
|
@ -23,6 +28,10 @@ steps:
|
|||
- cp .example.env .env
|
||||
- cd docker/
|
||||
- docker build --build-arg BUILD_ENV=development backend
|
||||
depends_on:
|
||||
- ameba
|
||||
- pgsanity
|
||||
- shellcheck
|
||||
|
||||
volumes:
|
||||
- name: dockersock
|
||||
|
|
|
@ -25,7 +25,6 @@ COPY --from=deps /app/shard.yml /app/shard.lock ./
|
|||
COPY --from=deps /app/lib ./lib
|
||||
COPY --from=deps /app/bin ./bin
|
||||
COPY ./src ./src
|
||||
RUN if [ ${BUILD_ENV} = "development" ]; then ./bin/ameba ./src; fi
|
||||
COPY ./scripts ./scripts
|
||||
RUN . ./scripts/build.sh ${BUILD_ENV}
|
||||
|
||||
|
|
|
@ -4,10 +4,6 @@ shards:
|
|||
git: https://git.sceptique.eu/Sceptique/CrystalEmail
|
||||
version: 0.2.6+git.commit.f217992c51048b3f94f4e064cd6c5123e32a1e27
|
||||
|
||||
ameba:
|
||||
git: https://github.com/crystal-ameba/ameba.git
|
||||
version: 0.14.3
|
||||
|
||||
bindata:
|
||||
git: https://github.com/spider-gazelle/bindata.git
|
||||
version: 1.9.1
|
||||
|
|
|
@ -34,7 +34,3 @@ dependencies:
|
|||
github: mrrooijen/commander
|
||||
compiled_license:
|
||||
github: grimmigerFuchs/compiled_license
|
||||
|
||||
development_dependencies:
|
||||
ameba:
|
||||
github: crystal-ameba/ameba
|
||||
|
|
Loading…
Reference in a new issue