CICD Upgrade #72

Merged
Jef Roosens merged 20 commits from 45-cicd into develop 2021-05-13 10:44:17 +02:00
Showing only changes of commit 01aa4bae80 - Show all commits

View file

@ -11,6 +11,25 @@ pipeline:
secrets: [ cache_s3_access_key, cache_s3_secret_key ] secrets: [ cache_s3_access_key, cache_s3_secret_key ]
# =====BUILDING=====
build-frontend:
image: node:15-alpine3.13
pull: true
group: build
commands:
- cd web
- yarn install
- yarn run build
build-backend:
image: chewingbever/fej-builder:latest
pull: true
group: build
commands:
- cargo build
# =====LINTING===== # =====LINTING=====
lint-frontend: lint-frontend:
image: node:15-alpine3.13 image: node:15-alpine3.13
@ -21,27 +40,11 @@ pipeline:
lint-backend: lint-backend:
image: chewingbever/fej-builder:latest image: chewingbever/fej-builder:latest
pull: true
group: lint group: lint
commands: commands:
- cargo fmt -- --check - cargo fmt -- --check
# =====BUILDING=====
build-frontend:
image: node:15-alpine3.13
commands:
- cd web
- yarn install
- yarn run build
build-backend:
image: chewingbever/fej-builder:latest
commands:
- cargo build
# =====TESTING===== # =====TESTING=====
test-backend: test-backend:
image: chewingbever/fej-builder:latest image: chewingbever/fej-builder:latest