ci: update config
This commit is contained in:
parent
fb4e449139
commit
2ca7bd65aa
1 changed files with 9 additions and 8 deletions
|
@ -30,9 +30,9 @@ cache:
|
||||||
- target/debug/build
|
- target/debug/build
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
|
- dependency
|
||||||
- test
|
- test
|
||||||
- build
|
- build
|
||||||
- dependency
|
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
POSTGRES_DB: 'firefish_db'
|
POSTGRES_DB: 'firefish_db'
|
||||||
|
@ -81,13 +81,6 @@ build:
|
||||||
build:client:
|
build:client:
|
||||||
stage: test
|
stage: test
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH == 'develop' || $CI_PIPELINE_SOURCE == 'merge_request_event'
|
|
||||||
changes:
|
|
||||||
paths:
|
|
||||||
- packages/client/*
|
|
||||||
- packages/firefish-js/*
|
|
||||||
- packages/sw/*
|
|
||||||
- locales/**/*
|
|
||||||
- if: $CI_COMMIT_BRANCH == 'develop' || $CI_PIPELINE_SOURCE == 'merge_request_event'
|
- if: $CI_COMMIT_BRANCH == 'develop' || $CI_PIPELINE_SOURCE == 'merge_request_event'
|
||||||
changes:
|
changes:
|
||||||
paths:
|
paths:
|
||||||
|
@ -101,6 +94,14 @@ build:client:
|
||||||
- Cargo.toml
|
- Cargo.toml
|
||||||
- Cargo.lock
|
- Cargo.lock
|
||||||
when: never
|
when: never
|
||||||
|
- if: $CI_COMMIT_BRANCH == 'develop' || $CI_PIPELINE_SOURCE == 'merge_request_event'
|
||||||
|
changes:
|
||||||
|
paths:
|
||||||
|
- packages/client/*
|
||||||
|
- packages/firefish-js/*
|
||||||
|
- packages/sw/*
|
||||||
|
- locales/**/*
|
||||||
|
when: always
|
||||||
services: []
|
services: []
|
||||||
before_script:
|
before_script:
|
||||||
- apt-get update && apt-get -y upgrade
|
- apt-get update && apt-get -y upgrade
|
||||||
|
|
Loading…
Reference in a new issue