ci: update config
This commit is contained in:
parent
febe518d44
commit
a82d45935b
1 changed files with 16 additions and 0 deletions
|
@ -58,6 +58,8 @@ default:
|
||||||
test:build:
|
test:build:
|
||||||
stage: test
|
stage: test
|
||||||
rules:
|
rules:
|
||||||
|
- if: $TEST == 'true'
|
||||||
|
when: always
|
||||||
- if: $TEST == 'false'
|
- if: $TEST == 'false'
|
||||||
when: never
|
when: never
|
||||||
- if: $CI_COMMIT_BRANCH == 'develop' || $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == 'develop'
|
- if: $CI_COMMIT_BRANCH == 'develop' || $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == 'develop'
|
||||||
|
@ -84,6 +86,8 @@ test:build:
|
||||||
test:build:backend_ts_only:
|
test:build:backend_ts_only:
|
||||||
stage: test
|
stage: test
|
||||||
rules:
|
rules:
|
||||||
|
- if: $TEST == 'true'
|
||||||
|
when: always
|
||||||
- if: $TEST == 'false'
|
- if: $TEST == 'false'
|
||||||
when: never
|
when: never
|
||||||
- if: $CI_COMMIT_BRANCH == 'develop' || $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == 'develop'
|
- if: $CI_COMMIT_BRANCH == 'develop' || $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == 'develop'
|
||||||
|
@ -126,6 +130,8 @@ test:build:backend_ts_only:
|
||||||
test:build:client_only:
|
test:build:client_only:
|
||||||
stage: test
|
stage: test
|
||||||
rules:
|
rules:
|
||||||
|
- if: $TEST == 'true'
|
||||||
|
when: always
|
||||||
- if: $TEST == 'false'
|
- if: $TEST == 'false'
|
||||||
when: never
|
when: never
|
||||||
- if: $CI_COMMIT_BRANCH == 'develop' || $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == 'develop'
|
- if: $CI_COMMIT_BRANCH == 'develop' || $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == 'develop'
|
||||||
|
@ -164,6 +170,8 @@ build:container:
|
||||||
image: docker.io/debian:trixie-slim
|
image: docker.io/debian:trixie-slim
|
||||||
services: []
|
services: []
|
||||||
rules:
|
rules:
|
||||||
|
- if: $BUILD == 'true'
|
||||||
|
when: always
|
||||||
- if: $BUILD == 'false'
|
- if: $BUILD == 'false'
|
||||||
when: never
|
when: never
|
||||||
- if: $CI_COMMIT_BRANCH == 'develop'
|
- if: $CI_COMMIT_BRANCH == 'develop'
|
||||||
|
@ -214,6 +222,8 @@ build:container:
|
||||||
cargo:test:
|
cargo:test:
|
||||||
stage: test
|
stage: test
|
||||||
rules:
|
rules:
|
||||||
|
- if: $TEST == 'true'
|
||||||
|
when: always
|
||||||
- if: $TEST == 'false'
|
- if: $TEST == 'false'
|
||||||
when: never
|
when: never
|
||||||
- if: $CI_COMMIT_BRANCH == 'develop' || $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == 'develop'
|
- if: $CI_COMMIT_BRANCH == 'develop' || $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == 'develop'
|
||||||
|
@ -233,6 +243,8 @@ cargo:test:
|
||||||
cargo:clippy:
|
cargo:clippy:
|
||||||
stage: test
|
stage: test
|
||||||
rules:
|
rules:
|
||||||
|
- if: $TEST == 'true'
|
||||||
|
when: always
|
||||||
- if: $TEST == 'false'
|
- if: $TEST == 'false'
|
||||||
when: never
|
when: never
|
||||||
- if: $CI_COMMIT_BRANCH == 'develop' || $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == 'develop'
|
- if: $CI_COMMIT_BRANCH == 'develop' || $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == 'develop'
|
||||||
|
@ -256,6 +268,8 @@ cargo:doc:
|
||||||
- cargo:test
|
- cargo:test
|
||||||
- test:build
|
- test:build
|
||||||
rules:
|
rules:
|
||||||
|
- if: $DOC == 'true'
|
||||||
|
when: always
|
||||||
- if: $DOC == 'false'
|
- if: $DOC == 'false'
|
||||||
when: never
|
when: never
|
||||||
- if: $CI_COMMIT_BRANCH == 'develop'
|
- if: $CI_COMMIT_BRANCH == 'develop'
|
||||||
|
@ -283,6 +297,8 @@ pages:
|
||||||
needs:
|
needs:
|
||||||
- cargo:doc
|
- cargo:doc
|
||||||
rules:
|
rules:
|
||||||
|
- if: $DOC == 'true'
|
||||||
|
when: always
|
||||||
- if: $DOC == 'false'
|
- if: $DOC == 'false'
|
||||||
when: never
|
when: never
|
||||||
- if: $CI_COMMIT_BRANCH == 'develop'
|
- if: $CI_COMMIT_BRANCH == 'develop'
|
||||||
|
|
Loading…
Reference in a new issue