2022-01-10 11:52:49 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
steps:
|
2022-01-11 17:33:41 +00:00
|
|
|
- name: shellcheck
|
|
|
|
image: koalaman/shellcheck-alpine
|
|
|
|
commands:
|
2022-01-29 17:11:38 +00:00
|
|
|
- cd scripts/
|
|
|
|
- find -name "*.sh" | xargs shellcheck
|
2022-01-11 17:53:21 +00:00
|
|
|
- name: env
|
|
|
|
image: alpine
|
|
|
|
commands:
|
|
|
|
- . .example.env
|
2022-01-15 18:18:10 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
2022-01-23 08:16:44 +00:00
|
|
|
name: backend
|
2022-01-15 18:18:10 +00:00
|
|
|
steps:
|
|
|
|
- name: ameba
|
2022-01-10 12:59:03 +00:00
|
|
|
image: veelenga/ameba
|
|
|
|
commands:
|
2022-01-23 08:17:53 +00:00
|
|
|
- cd docker/backend/
|
2022-01-11 17:33:41 +00:00
|
|
|
- ameba micrate/src/ src/
|
2022-01-15 18:18:10 +00:00
|
|
|
- name: pgsanity
|
2022-01-10 13:04:07 +00:00
|
|
|
image: boechat107/pgsanity
|
2022-01-10 12:50:42 +00:00
|
|
|
commands:
|
2022-01-29 16:02:57 +00:00
|
|
|
- pgsanity docker/backend/db/**/*.sql
|
2022-01-29 17:13:34 +00:00
|
|
|
- name: build
|
2022-01-29 15:56:37 +00:00
|
|
|
image: tmaier/docker-compose
|
2022-01-10 12:25:59 +00:00
|
|
|
volumes:
|
|
|
|
- name: dockersock
|
|
|
|
path: /var/run/docker.sock
|
2022-01-10 12:16:48 +00:00
|
|
|
commands:
|
|
|
|
- cp .example.env .env
|
2022-01-29 15:56:37 +00:00
|
|
|
- docker-compose build --build-arg BUILD_ENV=development backend
|
2022-01-10 12:59:03 +00:00
|
|
|
depends_on:
|
2022-01-15 18:18:10 +00:00
|
|
|
- ameba
|
|
|
|
- pgsanity
|
2022-01-10 12:25:59 +00:00
|
|
|
volumes:
|
|
|
|
- name: dockersock
|
|
|
|
host:
|
|
|
|
path: /var/run/docker.sock
|
2022-01-15 18:19:32 +00:00
|
|
|
depends_on:
|
|
|
|
- default
|
2022-01-29 15:56:37 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: frontend
|
|
|
|
steps:
|
2022-02-02 16:38:03 +00:00
|
|
|
- name: prettier
|
2022-02-02 16:34:20 +00:00
|
|
|
image: elnebuloso/prettier
|
2022-01-29 15:56:37 +00:00
|
|
|
commands:
|
|
|
|
- cd docker/frontend/
|
2022-02-02 16:32:56 +00:00
|
|
|
- prettier --ignore-path .gitignore --check --plugin-search-dir=. .
|
2022-01-29 17:13:34 +00:00
|
|
|
- name: build
|
2022-01-29 15:56:37 +00:00
|
|
|
image: tmaier/docker-compose
|
|
|
|
volumes:
|
|
|
|
- name: dockersock
|
|
|
|
path: /var/run/docker.sock
|
|
|
|
commands:
|
|
|
|
- cp .example.env .env
|
|
|
|
- docker-compose build --build-arg BUILD_ENV=development frontend
|
|
|
|
depends_on:
|
|
|
|
- prettier
|
|
|
|
volumes:
|
|
|
|
- name: dockersock
|
|
|
|
host:
|
|
|
|
path: /var/run/docker.sock
|
|
|
|
depends_on:
|
2022-02-02 20:56:15 +00:00
|
|
|
- default
|