mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-01-27 14:57:21 -05:00
Moved crate and python publishing to a dev machine. The orchestration machine doesn't have the resources for the cargo build steps.
This commit is contained in:
parent
70f8ad9f86
commit
30ff93e8df
@ -116,19 +116,36 @@ package_amd64_rpm:
|
|||||||
rules:
|
rules:
|
||||||
- if: '$CI_COMMIT_TAG =~ /v\d.+/'
|
- if: '$CI_COMMIT_TAG =~ /v\d.+/'
|
||||||
|
|
||||||
|
publish_crates:
|
||||||
|
stage: distribute
|
||||||
|
tags:
|
||||||
|
- build-amd64-deb
|
||||||
|
script:
|
||||||
|
- vlt login
|
||||||
|
- vlt run --command="cargo publish -p veilid-tools --dry-run"
|
||||||
|
- vlt run --command="cargo publish -p veilid-tools"
|
||||||
|
- vlt run --command="cargo publish -p veilid-core --dry-run"
|
||||||
|
- vlt run --command="cargo publish -p veilid-core"
|
||||||
|
rules:
|
||||||
|
- if: '$CI_COMMIT_TAG =~ /v\d.+/'
|
||||||
|
|
||||||
|
publish_python:
|
||||||
|
stage: distribute
|
||||||
|
tags:
|
||||||
|
- build-amd64-deb
|
||||||
|
script:
|
||||||
|
- vlt login
|
||||||
|
- cd veilid-python && /home/gitlab-runner/.local/bin/poetry build
|
||||||
|
- vlt run --command="/home/gitlab-runner/.local/bin/poetry publish"
|
||||||
|
rules:
|
||||||
|
- if: '$CI_COMMIT_TAG =~ /v\d.+/'
|
||||||
|
|
||||||
build_repositories:
|
build_repositories:
|
||||||
stage: distribute
|
stage: distribute
|
||||||
tags:
|
tags:
|
||||||
- build-orchestration
|
- build-orchestration
|
||||||
script:
|
script:
|
||||||
- /home/gitlab-runner/distribute-packages.sh
|
- /home/gitlab-runner/distribute-packages.sh
|
||||||
- vlt login
|
|
||||||
- vlt run --command="cargo publish -p veilid-tools --dry-run"
|
|
||||||
- vlt run --command="cargo publish -p veilid-tools"
|
|
||||||
- vlt run --command="cargo publish -p veilid-core --dry-run"
|
|
||||||
- vlt run --command="cargo publish -p veilid-core"
|
|
||||||
- cd veilid-python && /home/gitlab-runner/.local/bin/poetry build
|
|
||||||
- vlt run --command="/home/gitlab-runner/.local/bin/poetry publish"
|
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_COMMIT_TAG =~ /v\d.+/'
|
- if: '$CI_COMMIT_TAG =~ /v\d.+/'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user