|
|
|
@ -19,6 +19,7 @@ variables: |
|
|
|
needs: [] |
|
|
|
needs: [] |
|
|
|
rules: |
|
|
|
rules: |
|
|
|
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' |
|
|
|
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' |
|
|
|
|
|
|
|
- if: '$CI_COMMIT_TAG' |
|
|
|
interruptible: true |
|
|
|
interruptible: true |
|
|
|
image: "rust:latest" |
|
|
|
image: "rust:latest" |
|
|
|
tags: ["docker"] |
|
|
|
tags: ["docker"] |
|
|
|
@ -106,6 +107,7 @@ build:release:cargo:x86_64-unknown-linux-musl: |
|
|
|
extends: ".build-cargo-shared-settings" |
|
|
|
extends: ".build-cargo-shared-settings" |
|
|
|
rules: |
|
|
|
rules: |
|
|
|
- if: '$CI_COMMIT_BRANCH' |
|
|
|
- if: '$CI_COMMIT_BRANCH' |
|
|
|
|
|
|
|
- if: '$CI_COMMIT_TAG' |
|
|
|
cache: |
|
|
|
cache: |
|
|
|
key: "build_cache-$TARGET-debug" |
|
|
|
key: "build_cache-$TARGET-debug" |
|
|
|
script: |
|
|
|
script: |
|
|
|
@ -151,6 +153,7 @@ build:debug:cargo:x86_64-unknown-linux-musl: |
|
|
|
needs: [ ] |
|
|
|
needs: [ ] |
|
|
|
rules: |
|
|
|
rules: |
|
|
|
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' |
|
|
|
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' |
|
|
|
|
|
|
|
- if: '$CI_COMMIT_TAG' |
|
|
|
interruptible: true |
|
|
|
interruptible: true |
|
|
|
image: "rust:latest" |
|
|
|
image: "rust:latest" |
|
|
|
tags: ["docker"] |
|
|
|
tags: ["docker"] |
|
|
|
@ -227,6 +230,7 @@ build:docker:main: |
|
|
|
--destination "$DOCKER_HUB_IMAGE/matrixconduit/matrix-conduit:commit-$CI_COMMIT_SHORT_SHA" |
|
|
|
--destination "$DOCKER_HUB_IMAGE/matrixconduit/matrix-conduit:commit-$CI_COMMIT_SHORT_SHA" |
|
|
|
rules: |
|
|
|
rules: |
|
|
|
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' |
|
|
|
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' |
|
|
|
|
|
|
|
- if: '$CI_COMMIT_TAG' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -328,6 +332,7 @@ publish:package: |
|
|
|
- "build:cargo-deb:x86_64-unknown-linux-gnu" |
|
|
|
- "build:cargo-deb:x86_64-unknown-linux-gnu" |
|
|
|
rules: |
|
|
|
rules: |
|
|
|
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' |
|
|
|
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' |
|
|
|
|
|
|
|
- if: '$CI_COMMIT_TAG' |
|
|
|
image: curlimages/curl:latest |
|
|
|
image: curlimages/curl:latest |
|
|
|
tags: ["docker"] |
|
|
|
tags: ["docker"] |
|
|
|
variables: |
|
|
|
variables: |
|
|
|
|